Sending emails from web bounce

Discussion in 'Server Operation' started by K4M1L, Jan 16, 2020.

  1. K4M1L

    K4M1L New Member

    Hi. I am sending emails from website (ecommerce). Everything is fine except I am not getting any email. Domain1 is website and is also registered as email domain for DKIM signing. But I have mailbox on third party server. And there is the issue - every email is send perfectly 10/10 on mail-tester. But when I send email from web domian1 to address info@domain1 it get buounced on localhost.

    here is part of mail.log
    Jan 16 14:53:37 11 postfix/smtp[7422]: E0DA69613A4: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.4, delays=0.01/0.01/0/2.4, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 511F09613A1)
    Jan 16 14:53:37 11 postfix/qmgr[32455]: E0DA69613A4: removed
    Jan 16 14:53:37 11 postfix/pipe[7429]: 511F09613A1: to=<[email protected]>, relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)

    but when I disable that domain in email domains (uncheck active), then email is send ok to my mailbox but is no longer signed with DKIM for everyone.
    So my question is. Is it possible to force postfix to send to address that is in MX record instead of localhost where it bounce? Or is it possible to sign messages from website with DKIM without having to create/activate email domain in ISPconfig?
     

Share This Page