Turn off SMTP Auth Selectively

I have one user that needs to access email for a short period of time without SMTP Auth. I'm obviously not going to switch SMTP Auth off server wide, is there any way of allowing this user to send mail without it?

Nope... I'm setup without POP Before SMTP (which is the functionality you're describing) if I could enable this for just one account, that would be what I need.

Click to expand...

No guarantees, but the following might get you closer ...

When you are using POP Before SMTP, exim writes your IP address in /etc/relayhosts and your email address into /etc/relayhostsusers when you first POP (i.e. check) mail. The info stays in these files for 30 minutes (controlled by a setting in /usr/sbin/antirelayd). If, during that period, you were to "uncheck" the "My outgoing mail server requires authentication" from your email client, and try to send mail through the server, it would go through as you were already "authenticated" when you checked mail (this is in essence pop before SMTP authentication).

SO ... take a look in /etc/relayhosts and /etc/relayhostsusers (which should be blank if you have POP Before SMTP disabled). You might create a test email account and enter the address in /etc/relayhostsusers and see if it works w/o having a corresponding IP address. No guarantees, but it could be a start. I'm sure you understand the security implications of doing this, especially if you've got your system setup not to purge these files.