Andres wrote: > On 12/13/06, Gary V <[EMAIL PROTECTED]> wrote: >> >> etc/postfix/main.cf: >> >> smtpd_data_restrictions = >> >> reject_unauth_pipelining >> >> permit_sasl_authenticated >> >> check_client_access pcre:/etc/postfix/add_auth_header.pcre >> >> >> >> /etc/postfix/add_auth_header.pcre >> >> /^/ PREPEND X-SMTP-Auth: no >> >> reject_unauth_pipelining >> >> permit_mynetworks >> >> permit_sasl_authenticated >> >> check_client_access pcre:/etc/postfix/add_auth_header.re >> >> >> >> Gary V
> Gary, I tried your solution but: > "X-SMTP-Auth: no" header is being added to emails that I am sending > (authenticated) outside my office (I am at my home now) > And I know that the header do not belongs to this type of email > (authenticated) so, what could happen? > This is my main.cf: > smtpd_data_restrictions = reject_unauth_pipelining, > permit_sasl_authenticated, check_client_access > pcre:/etc/postfix/add_auth_header.pcre Are you leaving any white space where the directive continues on to the next two lines? Your example does not show you are. smtpd_data_restrictions = reject_unauth_pipelining, permit_sasl_authenticated, check_client_access pcre:/etc/postfix/add_auth_header.pcre > The only difference with yours is that I am using a comma separating values. > The other is identical... > SMTP Auth is working, so, As I see this a GOOD solution I wanna make > it work, please help me. > Thanks! > Andy If you do have whitespace where the directive continues on to the next line, maybe you need to show 'postconf -n'. Are you sure the client in question was authenticated? Gary V ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/