Relay SMTP from postfix to Proxmox?

Discussion in 'Mail Gateway: Installation and configuration' started by killmasta93, Aug 6, 2018.

  1. killmasta93

    killmasta93 Member

    Joined:
    Aug 13, 2017
    Messages:
    186
    Likes Received:
    4
    Hi,
    I was wondering if someone could shed some light on configuring postfix server to proxmox to smtp relay?
    On my main.cf (postfix email server) i have this

    Code:
    relayhost = 192.168.3.141:26
    
    192.168.3.141 is proxmox email gateway
    but im getting a mail delivery failture

    Code:
    Diagnostic-Code: X-Proxmox; unknown user: "sistemas"
    I checked the manual but there is not really much information about this

    Thank you
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,121
    Likes Received:
    263
    When and where do you get that error?
     
  3. killmasta93

    killmasta93 Member

    Joined:
    Aug 13, 2017
    Messages:
    186
    Likes Received:
    4
    Thanks for the reply, im getting this

    Code:
    : connect from hermes.casa.local[192.168.3.150]
    Aug 07 21:02:04 pmg postfix/smtpd[11142]: 9FDB3101210: client=hermes.casa.local[192.168.3.150]
    Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header From: <sistemas@mydomain.com> from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
    Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header To: <sistemas@clientdomain.com> from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
    Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: info: header Subject: test from hermes.casa.local[192.168.3.150]; from=<sistemas@mydomain.com> to=<sistemas@clientdomain.com> proto=ESMTP helo=<mail.mydomain.com>
    Aug 07 21:02:04 pmg postfix/cleanup[11145]: 9FDB3101210: message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
    Aug 07 21:02:04 pmg postfix/smtpd[11142]: disconnect from hermes.casa.local[192.168.3.150] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
    Aug 07 21:02:04 pmg postfix/qmgr[7846]: 9FDB3101210: from=<sistemas@mydomain.com>, size=64600, nrcpt=1 (queue active)
    Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 2018/08/07-21:02:04 CONNECT TCP Peer: "[127.0.0.1]:36926" Local: "[127.0.0.1]:10023"
    Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: new mail message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
    Aug 07 21:02:04 pmg postfix/smtpd[11150]: connect from localhost.localdomain[127.0.0.1]
    Aug 07 21:02:04 pmg postfix/smtpd[11150]: D6BBF10134A: client=localhost.localdomain[127.0.0.1], orig_client=hermes.casa.local[192.168.3.150]
    Aug 07 21:02:04 pmg postfix/cleanup[11145]: D6BBF10134A: message-id=<000001d42ebb$cd6000d0$68200270$@mydomain.com>
    Aug 07 21:02:04 pmg postfix/qmgr[7846]: D6BBF10134A: from=<sistemas@mydomain.com>, size=66677, nrcpt=1 (queue active)
    Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: accept mail to <sistemas@clientdomain.com> (D6BBF10134A)
    Aug 07 21:02:04 pmg postfix/smtpd[11150]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
    Aug 07 21:02:04 pmg pmg-smtp-filter[2401]: 1012295B6A4F1CC89CE: processing time: 0.136 seconds (0, 0.035)
    Aug 07 21:02:04 pmg postfix/lmtp[11146]: 9FDB3101210: to=<sistemas@clientdomain.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.32, delays=0.12/0/0.04/0.15, dsn=2.5.0, status=sent (250 2.5.0 OK (1012295B6A4F1CC89CE))
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice