smtp_tls_security_level: verify versus secure

2014-12-22 Thread Michael Storz
I do not understand the difference between verify and secure. If I 
assign the same value to smtp_tls_verify_cert_match and 
smtp_tls_secure_cert_match therefore not using the defualt values, is 
there still a difference between verify and secure or are they doing the 
same?


Michael


Re: smtp_tls_security_level: verify versus secure

2014-12-22 Thread li...@rhsoft.net


Am 22.12.2014 um 09:53 schrieb Michael Storz:

I do not understand the difference between verify and secure. If I
assign the same value to smtp_tls_verify_cert_match and
smtp_tls_secure_cert_match therefore not using the defualt values, is
there still a difference between verify and secure or are they doing the
same?


http://comments.gmane.org/gmane.mail.postfix.user/228083
https://www.google.at/#q=postfix+verify+versus+secure



5.5.4 Unsupported option:

2014-12-22 Thread steve zeng
Greetings!

We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5.
We start getting report that email are rejected. We did a telnet emulation
and found that postfix reject email header as below:

MAIL FROM: "My Company Support" 

If I simply change it to:

MAIL FROM: "My Company Support"

Or: 

MAIL FROM:  


The postfix will let it through. Not sure what configuration can be put in
postfix main.cf. can someone shed some lights?

Thanks,
Steve






Re: 5.5.4 Unsupported option:

2014-12-22 Thread Wietse Venema
steve zeng:
> Greetings!
> 
> We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5.
> We start getting report that email are rejected. We did a telnet emulation
> and found that postfix reject email header as below:
> 
> MAIL FROM: "My Company Support" 

That is not valid syntax.  See the SMTP protocol specification: RFC 5322.

Wietse


Re: 5.5.4 Unsupported option:

2014-12-22 Thread Wietse Venema
Wietse Venema:
> steve zeng:
> > Greetings!
> > 
> > We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5.
> > We start getting report that email are rejected. We did a telnet emulation
> > and found that postfix reject email header as below:
> > 
> > MAIL FROM: "My Company Support" 
> 
> That is not valid syntax.  See the SMTP protocol specification: RFC 5322.

You can fix SMTP syntax with the smtpd_command_filter feature:

/etc/postfix/main.cf:
 smtpd_command_filter = pcre:/etc/postfix/command_filter

/etc/postfix/command_filter:
 /^MAIL FROM:\s*"[^"]+"\s+(<.+)/$1

But basically the sending app is badly broken.

Wietse


Re: 5.5.4 Unsupported option:

2014-12-22 Thread Wietse Venema
Correction: the pattern posted was not the pattern tested.

> steve zeng:
> > Greetings!
> > 
> > We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5.
> > We start getting report that email are rejected. We did a telnet emulation
> > and found that postfix reject email header as below:
> > 
> > MAIL FROM: "My Company Support" 
> 
> That is not valid syntax.  See the SMTP protocol specification: RFC 5322.

You can fix SMTP syntax with the smtpd_command_filter feature:

/etc/postfix/main.cf:
 smtpd_command_filter = pcre:/etc/postfix/command_filter

/etc/postfix/command_filter:
 /^(MAIL FROM:)\s*"[^"]+"\s*(<.+)/$1$2

But basically the sending app is badly broken.

Wietse



Re: 5.5.4 Unsupported option:

2014-12-22 Thread Nick

Hi!

On 2014-12-22 7:06 PM, steve zeng wrote:

Greetings!

We switched from Exim 4.6.3 to postfix 2.3.3 as mail relay host on RHEL 5.
We start getting report that email are rejected. We did a telnet emulation
and found that postfix reject email header as below:

MAIL FROM: "My Company Support" 



Are you sure that is indeed what is being sent?

As Mr Venema (the author of Postfix) pointed out, this is not valid syntax.

You might want to temporarily set

notify_classes = resource, software, protocol, policy

(and make sure you have an alias for the postmaster)

to help track down this problem...

re: http://www.postfix.org/BASIC_CONFIGURATION_README.html#notify

Good luck!

Nick