LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mail server and aliase? (https://www.linuxquestions.org/questions/linux-server-73/mail-server-and-aliase-689291/)

glyn3332 12-09-2008 06:19 AM

Mail server and aliase?
 
Hi all,

I have an issue. I have a site with an alias as I'll describe following:

web site: example-site.com
alias: example.com

example.com has an exchange server at another IP which works fine unless I try to send mail from an account on the same server and the php contact form. If I do that it just loops and gets put into the que.

So mail goes to mail@example.com from my mail server should just go to the exchange box IP but it gets translated to mail@example-site.com which has a forwarder to mail@example.com and just loops.

I have set the A record for example.com (the alias) and the MX record to match the exchange server. Just to clarify all works fine unless I send it from an account on the same server e.g. example-two.com.

Software:

RHEL 5
Bind
Postfix

Thanks in advance.

Glyn

rweaver 12-09-2008 10:43 AM

Without a significant amount of additional information its hard to make any kind of judgment what might be happening exactly, how about giving us the output of a "postconf -n" to start with, that should provide some good working information about your setup and should be a good place to start with a mail loop.

It would also be useful to have the full mx records for the domains in question to make sure mail is routing correctly in the first place.


All times are GMT -5. The time now is 06:51 PM.