Send email via specific IP

Discussion in 'Installation/Configuration' started by jariasca, Dec 2, 2010.

  1. jariasca

    jariasca Member

    Hi all,

    I have a server with 8 domains, 8 IP Addresses I have no problem getting emails for each domain.

    I Need to send email via each domain IP example:
    domain 1 = IP1
    domain 2 = IP2
    domain 3 = IP2
    ..etc...

    Now all mail goes via my default IP "IP1"

    please help
    regards
    -Jorge
     
  2. cbj4074

    cbj4074 Member

    I'm confused.

    If you have 8 different domains, each with its own IP address, why can't you simply use each respective domain's FQDN to send outgoing mail?

    Why are you wanting to use the IP addresses instead of the FQDNs?
     
  3. jariasca

    jariasca Member

    Thanks, I don't know how to do it, by default the server send all mail via its default IP and I have a lots of problems with the DNS SPFs send the email to the Junk Folder.

    please advise
    -Jorge
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The oslution for that is not to send emails under different IP addresses. A mailserver always sends the emails for all domains under its main IP. If you have problems with spamfilters, then check the following things:

    1) Ensure that the reverse dns record for the IP address matches the hostname of the server.
    2) Create spf records for all domain names and configure them to allow sending for the hostname of the server.
     
  5. jariasca

    jariasca Member

    can you giveme an example of spf with abc.com

    "v=spf1 ip4:216.25.xxx.xxx ptr:216.25.xxx.xxx a:abc.com mx:mail.abc.com ~all"

    what else?

    regrads
    Jorge
     
  6. falko

    falko Super Moderator ISPConfig Developer

    If this includes all servers that send mails for abc.com, then it's fine.
     

Share This Page