Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Forwarding mail to an IP address


    How can I forward all email for a domain on my server to an IP address ?

    Any help is appreciated.

  2. #2
    Linux Enthusiast Opnosforatou's Avatar
    Join Date
    Dec 2003
    Vleuten, The Netherlands
    What mailerdaemon are you using ? Sendmail ?

    Incase of Sendmail user mailertables

    For info:

    or check for more info about using sendmail.
    ---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
    Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.

  3. #3
    I think I've worked it out...

    If I set an A record for to the IP address of the external mail server...


    Then set an MX record for the domain to - this should work as its a fully qualified domain name ?

    Is this right ?

  4. $spacer_open
  5. #4
    Hey, EMS!

    Yes, if everything is set up correctly, it should. Not sure of the specifics that you're doing, but just going on what you wrote, looks good.

    To check, do a who is on the mail domain using altal vista, sam spade, what have you..

    When you look up, it should tell you something like

    "mail for is being handled by <ip address>"

    Then you know the record has been updated. If you just set this up, they say to wait like 48 hours so the databases can "sync up", but they usually go through much quicker than that.

    HTH somewhat


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts