Hi

I have never used Postfix, i am a network specialist and understand the
methods of SMTP (i deploy Exchange server regularly), I have a Zimbra ZCS v8
server (testing it), i understand it uses postfix, however its not in the
default location (its loaded its own one in the zimbra folder).  Whats the
best software to GUI admin this (Postfix admin?)

By default this will only receive and send mail end to end (i have not
enabled any relay to another SMTP server inside Zimbra).

What i need to do as set the MTA to look at the from address (when sending
email from this MTA) then use a relay SMTP server based on the "from"
address (sometimes with or without username / password).  However all other
addresses not listed needs to send end to end (from the MTA directly, not
through a relay).

I was going to try and use:

relayhost =
sender_dependent_relayhost_maps = <relayhost file>
smtp_sasl_password_maps = <password file>

<relayhost_file>
m...@gmail.com [smtp.gmail.com]
m...@aol.com [smtp.aol.com]
m...@aol.com [smtp.aol.com]
m...@domaina.com [smtp.domaina.com]


<password_file>
m...@gmail.com username:password
m...@aol.com username:password
m...@aol.com username:password


My understanding is the password file can be specific about the user needing
authentication as i will have more than one FROM in the same domain meaning
different username and passwords for the same relay domain name (the above
shows aol.com)  domaina.com also doesnt need a username / password to relay
mail (it uses the FROM address)

However i need anything else that postfix is trying to send if its not
listed in relayhost_file then it should attempt to send this directly (end
to end) and not use any relay.

Is this possible?
I have access to main.cf, however its in a zimbra specific location so i
assume they have hybrid most of the postfix system.


Many Thanks
Ashley 



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Postfix-used-as-End-to-End-and-relaying-to-external-SMTP-server-based-on-FROM-address-possible-tp53191.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to