How to configure postfix to send smtp mail (using ssl0, a relay, other ?) when have dom

  • Domain name : ppprod.biz, ppprod.ovh, pp-prod.trading, … (10 more)
    - hosting on local servers, linux, only use dns/domain+mx/redirect

    Hello everyone,

    I need to configure local postfix to send mail to my configured email forward (ex: dbouwyn@ppprod.biz)

    On my local server (short hn "manager", with domain "ppprod.biz", => "manager.ppprod.biz"),
    I configure transport
    manager.ppprod.biz local
    ppprod.biz smtp(???)

    but:
    - with smtp only, it tries (MX) mx3.mail.ovh.net port 25 (=> cnx refused)
    - with smtp:[ppprod.biz]:587 it tries (MX) mx3.mail.ovh.net port as smtp (=> cnx refused)
    - with relay:[ppprod.biz]:587 it tries (MX) mx3.mail.ovh.net port as relay (=> cnx refused)
    - with smtp:[ssl0.ovh.net]:587 it tries ssl0, but fail on authentication,
    then I add "[ssl0.ovh.net]:587 ovh_account:ovh_passwd", and fail (certainly cause it's not a mail account)

    I tried to do the same using relay map and @ppprod.biz syntax, but it fail too.

    I don't want to have another supplementary mail box (already have too much !!), so redirect is really the good offer for me, but … how to configure postif to use it ?

    I changed the SPF like this:
    "ppprod.biz. 600 SPF "v=spf1 a mx a:manager.ppprod.biz a:www.ppprod.biz include:mx.ovh.com ~all"
    (manager is a cname on www, and www managed using ddclient)
    not sure it' right …

    Can find solution , any help ? Someone in the same conf ?
    TY :slight_smile: