1

Topic: One server, 3 ip and domains

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== ==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 6
- Related log if you're reporting an issue:
====

Hello,
I have server with three IP address and every IP has got different domain.

So, for example we have:
- 123.45.67.11 -> aaaa.com
- 123.45.67.22 -> bbbb.com
- 123.45.67.33 -> cccc.com

Problem is that no matter from which domain mail is sent, in mail source header there is information that it was send from cccc.com.

Why is that? How can I change it? Could that be a reason that from some email servers i get information that my mails are classified as SPAM?

Thank you,
ag

2

Re: One server, 3 ip and domains

ag wrote:

Problem is that no matter from which domain mail is sent, in mail source header there is information that it was send from cccc.com.
Why is that? How can I change it?

*) Postfix chose 123.45.67.33 for outgoing emails.
*) It should be fine if you have correct SPF DNS record for those 3 domains (allow emails sent from 123.45.67.33). If destination mail server doesn't check SPF, no SPF record is fine too. But it's recommended to add it.
*) If you want to use proper IP address for outgoing emails for each domain, try this:
http://www.iredmail.org/forum/post16703.html#p16703