One Feature i need to know how to do in postfix to move from sendmail

Discussion in 'Server Operation' started by ZeroDni, Oct 26, 2007.

  1. ZeroDni

    ZeroDni New Member

    I have been using sendmail as a relay for our domains. and there is this feature in sendmail that allows sendmail to try more than mail server. When trying to relay message.

    For Example in my sendmail's mailertable if i specify the domain then put esmtp:[mailserver1]:[mailserver1] so it looks like this

    domain.com esmtp:[mailserver1]:[mailserver2]

    what will happen is that sendmail will try to send messages to mailserver1 if it cant for some reason it will then try mailserver2

    i know i can do this by specifying fallback_relay = mailserver2 in my main.cf

    but i have more than 100 domains and only some of them have multiple mail servers so i need this to be specified on a domain by domain bases just like sendmail does.

    Can Postfix do this. and can it be done in the transport table so i might a be able to move this over to a mysql soon.
     

Share This Page