1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Set Mailrelay? mailmng --add-domain-to-sender-transport

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by nocrash, Oct 29, 2012.

  1. nocrash

    nocrash Basic Pleskian

    23
    90%
    Joined:
    Apr 12, 2007
    Messages:
    37
    Likes Received:
    0
    ---------------------------------------------------------------
    PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

    both 64 bit

    11.0.9 CentOS 6 110120608.16 (patch version="20")
    10.4.4 SuSE 11.4 1013111102.18 (patch version="45")

    PROBLEM DESCRIPTION

    I need to relay e-Mails for a domain to another mailserver

    STEPS TO REPRODUCE

    This feature seems undocumented? could i use mailmng --add-domain-to-sender-transport ?

    /usr/local/psa/admin/bin/mailmng --add-domain-to-sender-transport --help
    add sender transport for domain
    Usage: --add-domain-to-sender-transport --domain-name=<domain> [--ip4-addr=<ip_address>] [--ip6-addr=<ip_address>]
    Allowed options to add sender transport for domain:
    --domain-name arg domain name (mandatory)
    --ip4-addr arg ipv4 address
    --ip6-addr arg ipv6 address
    -h [ --help ] displays this help message

    ACTUAL RESULT

    If i set a domain-name and ip4-addr of the final mailserver, the postfix service restarts.
    But mails are still handled as local and result to Unknown user.

    EXPECTED RESULT

    e-Mails for this Domain should be relayed to the ip address .

    ANY ADDITIONAL INFORMATION

    i also deactivate e-Mail for this domain, same result.


    Thank you for any hint:)

    --------------------------------------------------------------
     
Loading...