Hello,
I need your help in order to configure postfix on Centos5 (x86_64).
-postfix is installed on $mymachine
-foo is an existing user on $mymachine
1) Any mail sent to foo@$mymachine.$mydomain must be transported to localhost:8025 (where a tomcat is listening on)
2) In addition, any mail sent to foo@$mymachine.$mydomain must be locally stored in foo's mailbox (/var/spool/mail/foo)
In order to solve above issue #1, I have configured a transport map as follow:
foo@$mymachine.$mydomain smtpd:localhost:8025
Once postfix has been reloaded, Tomcat (listening on 8025) is correctly receiving foo's mail from postfix.
But How to handle above 2 issues at the same time (transport mail to localhost while keeping a local copy) ?
Thank you in advance,
cheers,
Antoine
I need your help in order to configure postfix on Centos5 (x86_64).
-postfix is installed on $mymachine
-foo is an existing user on $mymachine
1) Any mail sent to foo@$mymachine.$mydomain must be transported to localhost:8025 (where a tomcat is listening on)
2) In addition, any mail sent to foo@$mymachine.$mydomain must be locally stored in foo's mailbox (/var/spool/mail/foo)
In order to solve above issue #1, I have configured a transport map as follow:
foo@$mymachine.$mydomain smtpd:localhost:8025
Once postfix has been reloaded, Tomcat (listening on 8025) is correctly receiving foo's mail from postfix.
But How to handle above 2 issues at the same time (transport mail to localhost while keeping a local copy) ?
Thank you in advance,
cheers,
Antoine