PDA

View Full Version : how to configure for separate mail server


latu
07-20-2006, 01:57 PM
The server that is running DA (DA Server) is only used for web hosting for a specific domain. Email is hosted on a separate server. The MX record is properly configured.

All mail that originates external to the DA Server is being properply routed to the mail server for this domain.

The problem is that all mail that originates from the DA Server is not being routed to the mail server. The DA Server is attempting to send the email to itself for this domain.

How do I configure DA to route mail to a separate mail server for a specific domain?

Do I manually edit the /etc/virtual/domains file and remove the domain that has the separate mail server?

:confused:

xemaps
07-20-2006, 02:39 PM
The mail is always sent by your server with the php mail()
function (sendmail make the job).
This is not a problem.
If you want change mail with php, use the mail smtp class, have a look with google.

latu
07-20-2006, 02:50 PM
Originally posted by xemaps
The mail is always sent by your server with the php mail()
function (sendmail make the job).
This is not a problem.
If you want change mail with php, use the mail smtp class, have a look with google.

Thanks for your reply, but this issue I posted does not involve php.

jbw
07-20-2006, 04:26 PM
configure the web server mailer to relay all mail to the mail server

http://www.us.exim.org/exim-html-4.40/doc/html/FAQ_3.html