I recently set up a mail server using

  • Ubuntu 10.04
  • Postfix
  • Courier IMAP

Mail client is "Apple Mail"

I was recently having issues sending mail via port 25 but I could receive email fine.

To resolve that, I changed the port to 587 by modifying my Postfix master.cf file from:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
 smtp      inet  n       -       -       -       -       smtpd
#submission inet n       -       -       -       -       smtpd

To:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
#smtp      inet  n       -       -       -       -       smtpd
587        inet  n       -       -       -       -       smtpd
#submission inet n       -       -       -       -       smtpd

Sending now works from the mail client, but I can't receive email now. What could be the problem?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Do you mean the server cannot receive incoming messages other than from the client? Your change disabled the smtpd listening on port 25 ("smtp") but enabled the submission port (which is 587, so you could/should use the last line instead). These two listeners are not mutually exclusive--uncomment them both and see what happens.

link|improve this answer
Your the man!, yeah, that was the issue. Thanks a lot. – Bodman Feb 26 '11 at 18:09
feedback

Your Answer

 
or
required, but never shown

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