Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix - transport and store

Status
Not open for further replies.

aantoine

Technical User
Dec 1, 2011
1
FR
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





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top