4 Replies Latest reply: Jan 3, 2012 10:03 AM by MrHoffman
Duane Woodruff Level 1 Level 1 (5 points)

I am trying to set up a junk mail filter on the server and when I turn it on people in the office using Outlook v10 on a windows computer can't send out e-mail.

When I turn it off then once again they can send e-mail. Are my settings correct? Thank you for any help.

 

Screen shot 2011-12-30 at 11.04.42 AM.png
  • MrHoffman Level 6 Level 6 (13,145 points)

    Are you using Outlook, or Outlook Express?  The Outlook Express package is usually a little easier to get working with non-Microsoft mail servers than is Outlook; that works better with Exchange.


    What is in the mail server logs when the Outlook (Express?) client fails to send mail?

     

    If (guessing) it's a broken HELO message from the client, then launch Terminal.app and issue the following two commands:

     

    sudo postconf -e "smtpd_helo_restrictions = permit_sasl_authenticated

    permit_mynetworks reject_invalid_helo_hostname reject_non_fqdn_helo_hostname"

     

    sudo postfix reload

     

    This sequence is a variation of what's listed in the TS3023 article, and this avoids directly editing the configuration files, and this sequence also avoids (entirely) removing the HELO checks; the sequence shown above disables the HELO check (only)  for verified clients.

  • Duane Woodruff Level 1 Level 1 (5 points)

    After running this command no one in the office can send mail.

    Here is the error in the log.

     

    Screen shot 2012-01-03 at 9.04.34 AM.png

  • Duane Woodruff Level 1 Level 1 (5 points)

    Sorry that last post was un-readable.

    Here is the error I am getting.

     

    rom=<Alerts@score2012update.info> to=<mike@aspenpress.com> proto=ESMTP helo=<bureau.score2012update.info>

    Jan  3 09:19:32 miniserver postfix/smtpd[366]: warning: unknown smtpd restriction: "permit_sals_authenticated"

    Jan  3 09:19:32 miniserver postfix/smtpd[366]: NOQUEUE: reject: RCPT from unknown[184.154.202.140]: 451 4.3.5 Server configuration error; from=<Alerts@score2012update.info> to=<steve@aspenpress.com> proto=ESMTP helo=<bureau.score2012update.info>

    Jan  3 09:19:32 miniserver postfix/cleanup[1867]: AA6A7107CBE6: message-id=<20120103161932.AA6A7107CBE6@mail.aspenpress.com>

    Jan  3 09:19:32 miniserver postfix/smtpd[366]: disconnect from unknown[184.154.202.140]

    Jan  3 09:19:32 miniserver postfix/qmgr[170]: AA6A7107CBE6: from=<double-bounce@mail.aspenpress.com>, size=1522, nrcpt=1 (queue active)

    Jan  3 09:19:32 miniserver postfix/local[1868]: od[getpwnam_ext]: no attribute dsAttrTypeStandard:MailAttribute in record for user root

    Jan  3 09:19:32 miniserver postfix/local[1868]: AA6A7107CBE6: to=<root@mail.aspenpress.com>, orig_to=<postmaster>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to file: /dev/null)

    Jan  3 09:19:32 miniserver postfix/qmgr[170]: AA6A7107CBE6: removed

    Jan  3 09:19:33 miniserver postfix/smtpd[338]: warning: 184.154.202.140: hostname server.mykemail.net verification failed: nodename nor servname provided, or not known

    Jan  3 09:19:33 miniserver postfix/smtpd[338]: connect from unknown[184.154.202.140]

    Jan  3 09:19:33 miniserver postfix/smtpd[338]: warning: unknown smtpd restriction: "permit_sals_authenticated"

    Jan  3 09:19:33 miniserver postfix/smtpd[338]: NOQUEUE: reject: RCPT from unknown[184.154.202.140]: 451 4.3.5 Server configuration error; from=<Alerts@score2012update.info> to=<steve@aspenpress.com> proto=ESMTP helo=<bureau.score2012update.info>

    Jan  3 09:19:33 miniserver postfix/cleanup[1867]: 6D333107CBE7: message-id=<20120103161933.6D333107CBE7@mail.aspenpress.com>

    Jan  3 09:19:33 miniserver postfix/smtpd[338]: disconnect from unknown[184.154.202.140]

    Jan  3 09:19:33 miniserver postfix/qmgr[170]: 6D333107CBE7: from=<double-bounce@mail.aspenpress.com>, size=991, nrcpt=1 (queue active)

    Jan  3 09:19:33 miniserver postfix/local[1868]: od[getpwnam_ext]: no attribute dsAttrTypeStandard:MailAttribute in record for user root

    Jan  3 09:19:33 miniserver postfix/local[1868]: 6D333107CBE7: to=<root@mail.aspenpress.com>, orig_to=<postmaster>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to file: /dev/null)

    Jan  3 09:19:33 miniserver postfix/qmgr[170]: 6D333107CBE7: removed

  • MrHoffman Level 6 Level 6 (13,145 points)

    The error message indicates that "permit_sals_authenticated" is a problem, and the matching part of text in what I'd shown was "permit_sasl_authenticated".  It looks like there was a typo made when the command was input onto the target system, in other words.