On Wed,15.Oct.08, 10:09:36, Ron Johnson wrote: > How do you configure it to use multiple relay hosts, dependent upon "from" > address domain? AFAICT it's actually dependant on Envelope-From:, but here goes: main.cf: sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd sender_relay: andreimpopescu@gmail.com [smtp.gmail.com]:587 sasl_passwd: [smtp.gmail.com]:587 andreimpopescu@gmail.com:<password> If your client doesn't set the correct From:/Envelope-From: you will also need main.cf: smtp_generic_maps = hash:/etc/postfix/generic generic: amp@think.homelan andreimpopescu@gmail.com Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
Attachment:
signature.asc
Description: Digital signature