Re: 5.5.4 Unsupported option:

2014-12-24 Thread Wietse Venema
steve zeng: > Is there a postfix config to simply disable the syntax check on > MAIL FROM field? In Postfix 2.7 and later. Your client syntax violates SMTP syntax (which was defined in 1982!!!) MAIL FROM: some non-standard crap I recommend that you remove the non-standard crap from the cli

RE: 5.5.4 Unsupported option:

2014-12-24 Thread steve zeng
Yes. It is redhat 5 >who wrote that client and why? It is a legacy application written years ago by dev team. I will try upgrade postfix either on RHEL6 to leverage command_filter as suggested by Mr. Venema. The last option would be to get someone to modify the client app code. Thanks, Steve

Re: 5.5.4 Unsupported option:

2014-12-24 Thread Viktor Dukhovni
On Wed, Dec 24, 2014 at 10:44:12AM -0800, steve zeng wrote: > Yes. It is redhat 5 > > >who wrote that client and why? > > It is a legacy application written years ago by dev team. I will try upgrade > postfix either on RHEL6 to leverage command_filter as suggested by Mr. > Venema. The last opti

Re: 5.5.4 Unsupported option:

2014-12-24 Thread Larry Stone
On Dec 24, 2014, at 1:42 PM, Viktor Dukhovni wrote: > On Wed, Dec 24, 2014 at 10:44:12AM -0800, steve zeng wrote: >> Yes. It is redhat 5 >> >>> who wrote that client and why? >> >> It is a legacy application written years ago by dev team. I will try upgrade >> postfix either on RHEL6 to levera

reject_unverified_sender for invalid rcpt?

2014-12-24 Thread li...@rhsoft.net
Hi why does postfix the sender verification in case of a non existing local rcpt instead skip that expensive callout and just reject? given that postscreen and other restrictions killing 95% of all junk before but my intention is to have the sender callout as last resort before the very expe

Re: reject_unverified_sender for invalid rcpt?

2014-12-24 Thread Wietse Venema
li...@rhsoft.net: > Hi > > why does postfix the sender verification in case of a non existing local > rcpt instead skip that expensive callout and just reject? Put reject_unlisted_{sender,recipient} before reject_unverified_{sender,recipient}. Wietse > given that postscreen and other r

Re: reject_unverified_sender for invalid rcpt?

2014-12-24 Thread li...@rhsoft.net
Am 24.12.2014 um 22:01 schrieb Wietse Venema: li...@rhsoft.net: why does postfix the sender verification in case of a non existing local rcpt instead skip that expensive callout and just reject? Put reject_unlisted_{sender,recipient} before reject_unverified_{sender,recipient}. ah - thanks!

Re: reject_unverified_sender for invalid rcpt?

2014-12-24 Thread Wietse Venema
li...@rhsoft.net: > smtpd_relay_restrictions = > reject_unauth_destination > check_recipient_access hash:/etc/postfix/skip_rcpt_vrfy.cf reject_unlisted_recipient > reject_unverified_recipient smtpd_relay_restrictions happens before smtpd_recipient_restrictions. Wietse

Re: reject_unverified_sender for invalid rcpt?

2014-12-24 Thread li...@rhsoft.net
Am 24.12.2014 um 22:14 schrieb Wietse Venema: li...@rhsoft.net: smtpd_relay_restrictions = reject_unauth_destination check_recipient_access hash:/etc/postfix/skip_rcpt_vrfy.cf reject_unlisted_recipient reject_unverified_recipient smtpd_relay_restrictions happens before smtpd