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 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?

share|improve this question

1 Answer 1

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.

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

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.