On 20/11/2008 Mark Rogers wrote: > What I want to add is to allow it to collect mail for certain domains > for forwarding to another SMTP server (the server to use depends on > the > email domain and is not held in MX records). (Typically it will > deliver > mail directly into an Exchange server at a customer site without that > customer's ADSL static IP being published in MX records.) > > I've found secondary MX information (where Postfix would look up the > destination based on DNS) but haven't found a good enough query to > find > information about setting a destination SMTP server per email domain.
is http://www.knowplace.org/pages/howtos/smtp_gateway_for_multiple_domains_with_postfix.php any help ?................. ----------- /etc/postfix/transport This file defines the relationship between domains and the server(s) where mail is forwarded. example1.com smtp:insidesmtp.example.com example2.com smtp:insidesmtp.example.com subdomain.example.com smtp:insidesmtp.example.com [ presumably you can put the recipient server IP here if the recipient isn't in DNS - Phil ] /etc/postfix/relay_recipients This file folds a complete list of email address for which the email gateway will accept mail. Even though you have to enter the values as a pair (key & value), the second part (the value) doesn't actually matter as long as the email addresses are correct. [EMAIL PROTECTED] OK [EMAIL PROTECTED] OK [EMAIL PROTECTED] OK [EMAIL PROTECTED] OK [EMAIL PROTECTED] OK [EMAIL PROTECTED] OK ------------ I think the standard SMTP retry intervals will cope with outages, 5 days is the default according to http://www.postfix.org/postconf.5.html#maximal_queue_lifetime Phil _______________________________________________ Peterboro mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/peterboro
