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

Relay All Outbound Mail To Another Server

Discussion in 'Plesk for Linux - 8.x and Older' started by crobinson, Jul 15, 2006.

  1. crobinson

    crobinson Basic Pleskian

    23
    73%
    Joined:
    Aug 9, 2002
    Messages:
    36
    Likes Received:
    0
    How would I forward all outgoing mail to another mail relay/server? Do I have to hack plesk's qmail to do this? Any help would be great!

    -Carl
     
  2. nightwalker

    nightwalker Guest

    0
     
    Create a file named 'smtproutes' in /var/qmail/control.

    FQDN:
    Code:
    :my.other-relay.domain.com
    
    IP Address:
    Code:
    :[1.2.3.4]
    
    Then restart qmail.

    /etc/init.d/qmail restart

    For more options visit:
    http://www.qmail.org/qmail-manual-html/man8/qmail-remote.html

    -- Matthew

     
  3. crobinson

    crobinson Basic Pleskian

    23
    73%
    Joined:
    Aug 9, 2002
    Messages:
    36
    Likes Received:
    0
    Thanks! I'll give that a try.

    -Carl
     
Loading...