LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mail misunderstandings /authentication/blocked outbound smtp (https://www.linuxquestions.org/questions/linux-newbie-8/mail-misunderstandings-authentication-blocked-outbound-smtp-701145/)

kevinyeandel 01-30-2009 08:44 PM

mail misunderstandings /authentication/blocked outbound smtp
 
Hi

I need to enhance my understanding of the steps required to cause sendmail to require authentication to send mail.

The host company has blocked smtp outgoing and has sent me a form asking:

"Do you require authentication to send e-mail messages?"

At the moment the answer is generally "no". At least, my perl/php forms don't need a password to send mails - these forms work - according to maillog - as far as where the company has blocked smtp on the way out.

Although I had my mail server checked for potential use as a mail relay it is deemed safe.

Only stuff I have found on the subject is from a RH site stating the following should be set in sendmail.mc

define(`confAUTH_OPTIONS', `A p')dnl
...
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
...
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl


I use lsof and can check
sendmail 12229 root 4u IPv4 7468347 TCP *:submission (LISTEN)

but with the settings above enabled I can no longer 'receive' mails - which was fine before. (Currently using dovecot and sendmail combined).

So, can anyone give me some tips as to how to satisfy the question so as to be as responsible as possible and enable send mail password authentication.

Many thanks

Kevin


All times are GMT -5. The time now is 10:07 PM.