Find the answer to your Linux question:
Results 1 to 3 of 3
Hello , Here is my scenario... I have a FreeBSD 6.2 on my server and different Domains with a seperate IP address for each domain. say i have IP's from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    2

    Smile Mail Relays...


    Hello ,


    Here is my scenario...

    I have a FreeBSD 6.2 on my server and different Domains with a seperate IP address for each domain.

    say i have IP's from 192.168.1.30 to 192.168.30.1.62.My Question is can i configure the sendmail to use a specific IP address while sending out mails. ie
    can i configure the sendmail in such a way that if Example 1 has to relay from IP 192.168.1.30 and www.example2.com from 192.168.1.31 and so on.

    Each domain has to use a seperate IP address for relaying mails.

    Please help me....

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    not sure about sendmail and how stuck with it you are, but postfix can do this very easily with transport maps

  3. #3
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Location
    Mt. Washington, Kentucky
    Posts
    154
    Code:
    vi /etc/mail/sendmail.mc
    There are plenty of commented notes. What your wanting to do can be done. You may want to do it by domain.

    Be sure to run:

    Code:
    make -C /etc/mail
    and

    Code:
    service sendmail restart
    LINUX - "The other white meat.."
    Registered Linux User #439112

Posting Permissions

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