Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-17 Thread mouss
Steve Fatula a écrit : >> If you do not want to process local mail via SpamAssassin then don't >> send locally submitted mail to SpamAssassin. > > Precisely, and the question was how to recognize locally submitted mail vs > other mail given that we had to process on delivery via procmail, and, ea

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Steve Fatula
>If you do not want to process local mail via SpamAssassin then don't >send locally submitted mail to SpamAssassin. Precisely, and the question was how to recognize locally submitted mail vs other mail given that we had to process on delivery via procmail, and, each user can have different Spam

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Sahil Tandon
On Wed, 16 Sep 2009, Steve Fatula wrote: > It is likely you are not aware of the problem I am speaking of then as > Spamassassin does NOT recognize locally sent mail the way it "should", > it uses a test called NO_RELAYS for locally sent postfix mail. I don't > want to process the local mail at al

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Steve Fatula
>I use postfix and spamassassin, and I have no problem. I don't rewrite >headers. I don't whitelist senders. ... etc. It is likely you are not aware of the problem I am speaking of then as Spamassassin does NOT recognize locally sent mail the way it "should", it uses a test called NO_RELAYS for

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread mouss
Steve Fatula a écrit : >>> Is this a true statement. If a message is sent to postfix via smtp, in the >>> message headers will ALWAYS be at least one header of the form: >>> >>> Received: from... >>> >>> I believe this to be the case, which means the only messages without that >>> are the locally

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread mouss
Steve Fatula a écrit : >> Why? What problem are you trying to solve. >> if you inist, force it to go to smtpd by using a content_filter in the >> pickup service in master.cf. > > > The problem to be solved is that various filters we use, spamassassin, dcc, > etc., use the receive from header in

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Steve Fatula
>> Is this a true statement. If a message is sent to postfix via smtp, in the >> message headers will ALWAYS be at least one header of the form: >> >> Received: from... >> >> I believe this to be the case, which means the only messages without that >> are the locally sent emails. Wouldn't that be

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Noel Jones
On 9/16/2009 10:53 AM, Steve Fatula wrote: Is this a true statement. If a message is sent to postfix via smtp, in the message headers will ALWAYS be at least one header of the form: Received: from... I believe this to be the case, which means the only messages without that are the locally sen

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-16 Thread Steve Fatula
Is this a true statement. If a message is sent to postfix via smtp, in the message headers will ALWAYS be at least one header of the form: Received: from... I believe this to be the case, which means the only messages without that are the locally sent emails. Wouldn't that be true?

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Noel Jones
On 9/15/2009 7:14 PM, Steve Fatula wrote: Your concept is b0rken. Received headers can be forged just as well as any other header. Not in my case. That is already accounted for. But irrelevant since that was not the question. If you want to whitelist by sending MTA, why don't you just whi

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
>Your concept is b0rken. Received headers can be forged just as well as >any other header. Not in my case. That is already accounted for. But irrelevant since that was not the question. >If you want to whitelist by sending MTA, why don't you just whitelist >those MTAs via a check_sender_access

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Ansgar Wiechers
On 2009-09-15 Steve Fatula wrote: >> Why? What problem are you trying to solve. >> if you inist, force it to go to smtpd by using a content_filter in >> the pickup service in master.cf. > > The problem to be solved is that various filters we use, spamassassin, > dcc, etc., use the receive from hea

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
>Why? What problem are you trying to solve. >if you inist, force it to go to smtpd by using a content_filter in the >pickup service in master.cf. The problem to be solved is that various filters we use, spamassassin, dcc, etc., use the receive from header in order to use whitelists and such conc

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread mouss
Steve Fatula a écrit : > For postfix mail sent from cron, or other sendmail command line mail, sent to > a local user on the same server, I am getting the following received header: > > Received: by host112.mydomain.com (Postfix, from userid 0) id 4A8E114B8104; > Tue, 15 Sep 2009 03:53:19 -0500

Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
For postfix mail sent from cron, or other sendmail command line mail, sent to a local user on the same server, I am getting the following received header: Received: by host112.mydomain.com (Postfix, from userid 0) id 4A8E114B8104; Tue, 15 Sep 2009 03:53:19 -0500 (CDT) That is the ONLY received