Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have setup postfix and dovecot, I can even receive e-mails and pick them up remotely using Thunderbird client connecting via IMAP

However, I can not send out using the Smtp server, when I telnet locally to my server using telnet mail.mydomain.com 25 and then perform ehlo mail.mydomain.com there is no 250-auth line - is this the problem and how do I fix it ?

I have smtpd_sasl_auth_enable = yes in main.cf

share|improve this question
    
isn't smtpd_sasl_auth_enable = yes a setting for master.cf? –  Sgaduuw Aug 1 '11 at 15:34
    
Hi Sgaduuw, it's in main.cf. –  Zhang Huangbin Aug 2 '11 at 0:08

3 Answers 3

up vote 2 down vote accepted
smtpd_tls_auth_only = yes

Needed to change this to

smtpd_tls_auth_only = no
share|improve this answer
    
Could you then please accept your own answer?! –  mailq Aug 3 '11 at 11:00

This is kind of stretch, but have you verified that it's listening on TCP 25 with lsof?

share|improve this answer
    
Nim telnets to port 25 and gets a response. –  ΤΖΩΤΖΙΟΥ Aug 4 '11 at 7:35

Is the out put of postconf smtpd_tls_auth_only smtpd_tls_auth_only = yes?
If so, need to use starttls before authenticating.
Could disable setting to allow for unencrypted authentication (not advised).

Can debug with starttls using:
openssl s_client -connect $YOUR_SMTP_SERVER:25 -starttls smtp -CApath $PATH_TO_CA_DIR

share|improve this answer
    
Currently, for submitting e-mail from the MUA to the server one should use port 587. The protocol is still SMTP, but the standard requires authentication to be performed at this port before mail can be sent. –  Hubert Kario Aug 1 '11 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.