How to avoid the "mail loops back to myself" problem ?

  • Re;


    Yes. Thus, you cannot use the smarhost hookfile. You need a per sender transport map with SASL.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi nuxwin :)


    I would like to come back about what you said one month ago :



    This can stay only a dream because i-MSCP must know at least the relay (server which is responsible to send mails for the domain). Nothing is magic ;)
    Saying "send the mails outside, to the internet"means nothing. Even worse, by allowing such thing, that could result in forged mails. Those mails would be rejected by any server which implement SPF.


    Why not editing the bindzone of the domain which need to send mail out with something like this :

    Code
    1. @ 10800 IN MX 50 fb.mail.gandi.net.
    2. @ 10800 IN MX 10 spool.mail.gandi.net.


    What's wrong with this soluce ?

  • OK I have tried this soluce by setting as external MX for my domain this server : spool.mail.gandi.net
    After somes tests, it's looks good : the mail sent from the server are using the relay without problem.


    I consider my problem as solved :)