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 |
| Andy |
|
|
Member ![]() ![]() ![]() Group: Members Posts: 80 Member No.: 761 Joined: 13-October 03 |
I have 2 servers - both running win 2003 and xmail 1.22
One of the servers acts as a backup by using custom domains and forwarding any mail received to the other "live" server. The live server has spamassassin 3.02 installed and filters incoming mail using Dario's xspamc My problem is that the odd email is coming via the backup server rather than going directly to the live server (I can only assume that some some mail servers are not checking the preference order of the mx records correctly because I am not aware of the live server being unreachable at the time these messages are received) The issue really is that because the email comes from the backup server the checks made by spamassassin on the senders domain/ip are my backup servers address and not the originating senders domain/ip. I don't think I can just put spamassassin and the filters on the backup server as the emails do not use domains/mailboxes. Has anyone got any ideas ? I have almost eliminated spam for my users but there are the odd few that get through because of the above. Ideally I would only want the backup server to receive mail if the live server is uncontactable. Thanks Andy. |
| hschneider |
Posted: Jul 7 2006, 04:19 PM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Use a scheduled SmokePing or some similar tool to test if server #1 is alive. If not, launch the backup server : http://oss.oetiker.ch/smokeping/
This will force clients which do not care about your MX entries to use server #1. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |