RE: HowTo: Redirect incoming SMTP mail INTO PostFix for a specific domain or recpeient TO another host ?

2011-09-10 Thread Ryan Blakeslee
Thank you! -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones Sent: Saturday, September 10, 2011 12:53 PM To: postfix-users@postfix.org Subject: Re: HowTo: Redirect incoming SMTP mail INTO PostFix for a specific domain

Re: HowTo: Redirect incoming SMTP mail INTO PostFix for a specific domain or recpeient TO another host ?

2011-09-10 Thread Noel Jones
On 9/10/2011 2:37 PM, Ryan Blakeslee wrote: > A summary of the problem. > - > > Hello, > I am new to the list but a long time Postfix user. I have am trying to > accomplish the following, but am unsure of how to exactly go about doing > it. I need to re-direct a few spec

HowTo: Redirect incoming SMTP mail INTO PostFix for a specific domain or recpeient TO another host ?

2011-09-10 Thread Ryan Blakeslee
A summary of the problem. - Hello, I am new to the list but a long time Postfix user. I have am trying to accomplish the following, but am unsure of how to exactly go about doing it. I need to re-direct a few specific recipient addresses to a host other than the relay ho

Re: Postfix talking smtp through stdio command?

2011-09-10 Thread Reindl Harald
Am 10.09.2011 17:06, schrieb Matthias Andree: > Am 06.09.2011 19:30, schrieb Ansgar Wiechers: >> On 2011-09-06 Matthias Andree wrote: >>> I am in a situation where I would like to achieve either of these >>> solutions: >>> >>> Alternative A: >>> >>> - have Postfix's smtp client talk through a com

Re: Postfix talking smtp through stdio command?

2011-09-10 Thread Matthias Andree
Am 06.09.2011 19:30, schrieb Ansgar Wiechers: > On 2011-09-06 Matthias Andree wrote: >> I am in a situation where I would like to achieve either of these >> solutions: >> >> Alternative A: >> >> - have Postfix's smtp client talk through a command via stdin/stdout >> (instead of a TCP stream). >> >>

Re: Postfix talking smtp through stdio command?

2011-09-10 Thread Matthias Andree
Am 07.09.2011 19:13, schrieb Bastian Blank: > On Tue, Sep 06, 2011 at 08:59:20PM +0200, Matthias Andree wrote: >>> Can you describe the problem instead of the solution? There may be >>> other solutions than the ones you have in mind. >> The problem is this: >> - I *can* (and am permitted to) connec

Re: Postfix talking smtp through stdio command?

2011-09-10 Thread Matthias Andree
Am 07.09.2011 19:05, schrieb Jeroen Geilman: > On 2011-09-07 00:55, Matthias Andree wrote: >> The firewall block is deliberate. > > Then I suggest you talk to some people and tell them you need email > access... > I find it rather quaint that you would be trying to set up SMTP > connectivity on a

Re: Postfix pipe process defer if error

2011-09-10 Thread Wietse Venema
Ramprasad: > I have a custom pipe script which postfix sends to > > For eg in master.cf > > bounce_handler unix - n n - - pipe >flags=FR argv=/opt/path/bounce_handler > > How do I configure postfix that it defers the mails in case the script > exits with an

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 10:44 AM Ramprasad wrote: > Do I need to to use exit 75 > > I am using a C program that exits with exit(EXIT_FAILURE) > but that causes the mail to get bounced rather than defer Read the fine manual at: http://www.postfix.org/FILTER_README.html and search for EX_TEMPFAIL. Regards

Re: Postfix pipe process defer if error

2011-09-10 Thread Ramprasad
On 9/10/2011 1:23 PM, Pascal Volk wrote: On 09/10/2011 09:48 AM Pascal Volk wrote: Something like that: #!/bin/sh # do something with the message # check return code from the last command if [ $? -ne 0 ]; then return 75 fi return 0 Sorry - use exit instead of return: if [ $? -n

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 09:48 AM Pascal Volk wrote: > Something like that: > > #!/bin/sh > > # do something with the message > > # check return code from the last command > if [ $? -ne 0 ]; then > return 75 > fi > return 0 Sorry - use exit instead of return: if [ $? -ne 0 ]; then

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 09:27 AM Ramprasad wrote: > I have a custom pipe script which postfix sends to > > For eg in master.cf > > bounce_handler unix - n n - - pipe >flags=FR argv=/opt/path/bounce_handler > > > > How do I configure postfix that it defers the mails

Postfix pipe process defer if error

2011-09-10 Thread Ramprasad
I have a custom pipe script which postfix sends to For eg in master.cf bounce_handler unix - n n - - pipe flags=FR argv=/opt/path/bounce_handler How do I configure postfix that it defers the mails in case the script exits with an error