Re: Receive mails with a bash script

2009-07-20 Thread Andrea
2009/7/20 Andrea > *But* I have some problems. > > 1) If I set: > mydestination = mydomain.com, script.mydomain.com, > every mail I receive on script.mydomain.com isn't redirected to script, > and I receive "*Recipient address rejected*: *User unknown in local > recipient table" > > *2) If I set:

Receive mails with a bash script

2009-07-20 Thread Andrea
Hi all, I need to parse some mails I receive with a postfix server. I want: the server to receive "mydomain.com" as local addresses (here no problem). the server to send to a bash script the mail addressed to "*@ script.mydomain.com" I have, on /etc/postfix/transport: *script.mydomain.com my