Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, How can I forward all email for a domain on my server to an IP address ? Any help is appreciated....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    EMS
    EMS is offline
    Just Joined!
    Join Date
    Jul 2003
    Posts
    5

    Forwarding mail to an IP address


    Hi,

    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
    Location
    Vleuten, The Netherlands
    Posts
    552
    What mailerdaemon are you using ? Sendmail ?

    Incase of Sendmail user mailertables

    For info: http://www.sendmail.org/m4/mailertables.html

    or check http://www.sendmail.org/m4/readme.html 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
    EMS
    EMS is offline
    Just Joined!
    Join Date
    Jul 2003
    Posts
    5
    I think I've worked it out...

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

    MAIL IN A ip.of.whatever.box

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

    Is this right ?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2002
    Posts
    14
    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 www.mydomain.com, it should tell you something like

    "mail for mydomain.com 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

    Tellurye

Posting Permissions

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