2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
alternativeIT |
Posted: Dec 11 2003, 02:55 AM
|
Newbie Group: Members Posts: 4 Member No.: 844 Joined: 11-December 03 |
Hi guys,
I'm trying to work out how to configure XMail to accept all mail for a domain, then attempt to forward that mail on to a specfic mail server. Basically, I just want to provide a backup mail server for one of my clients - if their mail server is down, the mail will come to my server, and I need it to attempt to forward it on to their mail server. What I *don't* want is for XMail to do a DNS lookup for the MX records for the domain, and try and deliver the mail that way, as if it cannot connect to the primary mail server, it'll attempt to deliver the mail to itself again.... = messy So to recap: client.com's MX records: mx1.client.com (clients' primary mail server) mx1.mydomain.com (my XMail server) If a MTA out on the net can't connect to mx1.client.com, the mail will be sent to mx1.mydomain.com. XMail running on mx1.mydomain.com needs to accept *any* mail addressed to *@client.com, and attempt to forward the mail on to mx1.client.com. Any ideas guys? I'm asking for help as I don't want to accidentally turn my mail server into an open relay. Cheers, John |
atomant |
Posted: Dec 11 2003, 07:36 AM
|
No - I'm not an answering script ... Group: Admin Posts: 1776 Member No.: 427 Joined: 18-January 03 |
Use custom domain processing.
Under custdomains directory create a mx1.client.com.tab file with following lines in it: "smtprelay"[TAB]"server"[NEWLINE] Note: TAB is real tab character and NEWLINE is real return. To prevent your server being an open relay uncomment in server.tab line: "EnableAuthSMTP-POP3" "0" Clear smtprelay.tab file, in smtp.ipmap.tab you need to have: "0.0.0.0/0"[tab]"0.0.0.0/0"[tab]"ALLOW"[tab]"1"[newline] -------------------- Bye,
Sasa ------------------------------------------------------------------- All electric machines work on smoke...when the smoke escape from machines, they don't work anymore Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" |
alternativeIT |
Posted: Dec 11 2003, 08:31 AM
|
Newbie Group: Members Posts: 4 Member No.: 844 Joined: 11-December 03 |
Thanks Sasa, exactly what I was looking for. Thanks for the help
|
atomant |
Posted: Dec 11 2003, 09:19 AM
|
No - I'm not an answering script ... Group: Admin Posts: 1776 Member No.: 427 Joined: 18-January 03 |
You're welcome.
-------------------- Bye,
Sasa ------------------------------------------------------------------- All electric machines work on smoke...when the smoke escape from machines, they don't work anymore Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" |