Re: postfix return-address change

2012-06-18 Thread achal tomar
i apologise for taking your precious time,but i am stuck in this and cant find a way out. Is there a way that when i send mail to gmail by my root account i.e r...@r09.4reseller.org on my server then return path is changed to:- m...@4reseller.org.that i have done by:/etc/postfix/generic. where i ha

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
achal tomar: > Sorry but your idea is not working as now mailing is stopped on my > server after i have tried your followed your steps. Restore the old configuration, then study the Postfix documentation. I am not available to type the commands for you. Wietse

Re: postfix return-address change

2012-06-18 Thread achal tomar
Sorry but your idea is not working as now mailing is stopped on my server after i have tried your followed your steps. On 6/18/12, achal tomar wrote: > How is this possible i have to connect all my applications at a time > because they have to send mail through my mail server.Can you suggest > m

Re: postfix return-address change

2012-06-18 Thread achal tomar
How is this possible i have to connect all my applications at a time because they have to send mail through my mail server.Can you suggest me a way to accomplish this task. On 6/18/12, Wietse Venema wrote: > achal tomar: >> Thats interesting but i have many PHP applications which connect to my >

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
achal tomar: > Thats interesting but i have many PHP applications which connect to my > server like app01.4reseller.org,app02.4reseller.org,app03.4reseller.org > i.e r09.4reseller.org so :- > > like for app02 i would write:- > /etc/postfix/transport: ># Select the inbound SMTP client for PHP a

Re: postfix return-address change

2012-06-18 Thread achal tomar
Thats interesting but i have many PHP applications which connect to my server like app01.4reseller.org,app02.4reseller.org,app03.4reseller.org i.e r09.4reseller.org so :- like for app02 i would write:- /etc/postfix/transport: # Select the inbound SMTP client for PHP application host. app02.4

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
achal tomar: > That is nice but i didnt understand > # Inbound. Address translation happens in virtual_alias_maps. > > smtp-in unix - - n - - smtp > > -o smtp_generic_maps= > > what to write after this "=" sign ,or i have to leave it blank Leave it empt

Re: postfix return-address change

2012-06-18 Thread achal tomar
That is nice but i didnt understand # Inbound. Address translation happens in virtual_alias_maps. > smtp-in unix - - n - - smtp > -o smtp_generic_maps= what to write after this "=" sign ,or i have to leave it blank On 6/18/12, achal tomar wrote: > Than

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
Here is an alternative example without virtual alias maps, and perhaps easier to understand. - One SMTP client that delivers mail from the PHP application host to the Internet. This uses smtp_generic_maps to transform bounceap...@r09.4reseller.org into bou...@app01.4reseller.org. - One SMTP clien

Re: postfix return-address change

2012-06-18 Thread achal tomar
Thanks wietse i will try this and inform you. On 6/18/12, Wietse Venema wrote: > On 6/18/12, Wietse Venema wrote: >> On the PHP application host use smtp_generic_maps to transform >> bou...@app01.4reseller.org to bounceap...@r09.4reseller.org. >> >> On the relay host use virtual_alias_maps (NOT:

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
On 6/18/12, Wietse Venema wrote: > On the PHP application host use smtp_generic_maps to transform > bou...@app01.4reseller.org to bounceap...@r09.4reseller.org. > > On the relay host use virtual_alias_maps (NOT: virtual_alias_domains) > to transform bounceap...@r09.4reseller.org to bou...@app01.4r

Re: postfix return-address change

2012-06-18 Thread achal tomar
Thanks wietse for your good reply but my PHP application host doesnt has postfix installed on it at it just sends the mails to my server i.e r09.4reseller.org for transfer so can this be not done on my actual mail server i.e r09.4reseller.org. (virtual_alias_maps points to /etc/postfix/virtual And

Re: postfix return-address change

2012-06-18 Thread Wietse Venema
Achal tomar: > I am using CentOs5 and postfix as an MTA for my server. My situation is as > follows:- I have a mail server through which Php applications connect and > send mails to the destination addresses. The problem is that the the > application servers donot have spf/dkim record set up and my

postfix return-address change

2012-06-18 Thread Achal tomar
mail on bou...@app01.4reseller.org. I have tried virtual mapping in postfix i.e by the file /etc/postfix/virtual but its not helping. Can anybody help me in this issue. -- View this message in context: http://old.nabble.com/postfix-return-address-change-tp34029359p34029359.html Sent from the