Re: pipe_command: execvp Permission Denied

2011-09-09 Thread Wietse Venema
Kaleb Hosie: > I'm attempting to setup postfix to direct incoming email to a perl > script which will in effect scan the email with SpamAssassin and > scan for viruses however when I added the configuration to my > master.cf file, I'm getting an error. > > The mail log reads as so: > Sep 9 18:50:2

Re: pipe_command: execvp Permission Denied

2011-09-09 Thread Jeroen Geilman
On 2011-09-10 01:02, Kaleb Hosie wrote: I'm attempting to setup postfix to direct incoming email to a perl script which will in effect scan the email with SpamAssassin and scan for viruses however when I added the configuration to my master.cf file, I'm getting an error. The mail log reads as

RE: libsrs patch for Postfix

2011-09-09 Thread Murray S. Kucherawy
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema > Sent: Thursday, September 08, 2011 1:35 PM > To: Postfix users > Subject: Re: libsrs patch for Postfix > > > > Instead of tearing up Postfix, consider imple

pipe_command: execvp Permission Denied

2011-09-09 Thread Kaleb Hosie
I'm attempting to setup postfix to direct incoming email to a perl script which will in effect scan the email with SpamAssassin and scan for viruses however when I added the configuration to my master.cf file, I'm getting an error. The mail log reads as so: Sep 9 18:50:22 localhost postfix/pipe

Re: Configuring a mail gateway

2011-09-09 Thread Nikolaos Milas
On 9/9/2011 5:52 μμ, jeffrey j donovan wrote: use local recipient map for your local users and transport maps for the delivery of others. You will have to tell amavisd how to relay local and remote. do what Weiste said and allow programs to relay mail via localhost. Thanks Jeffrey, I guess w

RE: What does Postfix stamp...

2011-09-09 Thread Murray S. Kucherawy
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Kris Deugau > Sent: Friday, September 09, 2011 6:32 AM > To: postfix-users@postfix.org > Subject: Re: What does Postfix stamp... > > Not to mention, at least in my experien

Re: Configuring a mail gateway

2011-09-09 Thread jeffrey j donovan
On Sep 9, 2011, at 10:28 AM, Nikolaos Milas wrote: > On 9/9/2011 3:14 μμ, Nikolaos Milas wrote: > >> Since this is just a relay, mail is not stored locally; >> ... >> So I was thinking I should configure postfix/spamassassin to keep local >> copies of spam (to be also available for checking usi

Re: Configuring a mail gateway

2011-09-09 Thread Nikolaos Milas
On 9/9/2011 3:14 μμ, Nikolaos Milas wrote: Since this is just a relay, mail is not stored locally; ... So I was thinking I should configure postfix/spamassassin to keep local copies of spam (to be also available for checking using IMAP) and non-spam mail so as to make training feasible. Can

Re: Postfix NDR

2011-09-09 Thread Fernando Maior
On Thu, Sep 8, 2011 at 6:09 PM, Jean-Luc CHANDEZON wrote: > > > 2011/9/8 Fernando Maior >> >> On Thu, Sep 8, 2011 at 10:22 AM, Wietse Venema >> wrote: >> > Jean-Luc CHANDEZON: >> >> Hello, >> >> I believe my request is very simple, but I don't find how I can do >> >> that. >> >> When you receive

Re: Configuring a mail gateway

2011-09-09 Thread Wietse Venema
Nikolaos Milas: > On 9/9/2011 4:00 ??, Wietse Venema wrote: > > > If you don't use permit_mynetworks at all (check with: "postconf | > > grep permit_mynetworks"), then mynetworks can be empty. > > Thanks Wietsie, > > mynetworks = 127.0.0.1/32 [::1]/128 > > seems the right solution. > > In fac

Re: Configuring a mail gateway

2011-09-09 Thread Nikolaos Milas
On 9/9/2011 4:00 μμ, Wietse Venema wrote: If you don't use permit_mynetworks at all (check with: "postconf | grep permit_mynetworks"), then mynetworks can be empty. Thanks Wietsie, mynetworks = 127.0.0.1/32 [::1]/128 seems the right solution. In fact I am using permit_mynetworks as the firs

Re: What does Postfix stamp...

2011-09-09 Thread Kris Deugau
Murray S. Kucherawy wrote: X-Originating-IP: isn't standard, so I'm not surprised postfix isn't adding it by default. And I wouldn't trust it anyway; how do you know it contains a true value? Not to mention, at least in my experience it's the IP that introduced the message to the Internet (

Re: Configuring a mail gateway

2011-09-09 Thread Wietse Venema
Nikolaos Milas: > Also, to disable sending outgoing mails from this server (which is only > there to receive mail from the Internet as MX-designated mail server and > work as a local relay to internal mail server) I am planning to use the > setting: > > mynetworks = > > Would this have a

Re: Configuring a mail gateway

2011-09-09 Thread Nikolaos Milas
Thanks to Noel (and to the Postfix community in general) for the guidance, my mail gateway is now running (still in test mode), together with spamassassin, clamav and amavis-new. Now, one more thing: Since this is just a relay, mail is not stored locally; yet, I would like to train spamassass