Solved

How do i configure a MX fallback using Qmail

Posted on 2008-06-17
5
352 Views
Last Modified: 2013-12-02
I have 2 mailservers not behind an anti-spam appliance and i have one that is behind a Barracuda anti-spam appliance. Now i want to configure a MX fallback for all the domains. How would i go about doing that? Assume there are a few thousand domains.

I figured placing the domain in /var/qmail/control/morercpthosts will make qmail allow receiving mail for this domain and adding an entry in /var/qmail/control/smtproutes will allow a forward to be setup to the appropriate mailserver... but how do i prevent spammers from using this 2nd MX fallback and spam my users?
0
Comment
Question by:Xyptilon2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 17

Expert Comment

by:fgrushevsky
ID: 21805959
why can't you put Barracuda appliance external IP address in smtproutes ?
0
 
LVL 13

Author Comment

by:Xyptilon2
ID: 21810594
:S yes i see no reason why i cannot do that.. i've no idea why i was thinking about puting the IP of the mailserver behind the appliance in the SMTP Route.. must have been late last night :)

Is setting the domain in morercpthosts and in smtproutes enough to have fallback functionality? if the primary mailserver is offline, how can i prevent the mail that is delivered from falling out of the queue if it is down for too long?
0
 
LVL 17

Accepted Solution

by:
fgrushevsky earned 500 total points
ID: 21813758
the answer probably would be adjusting queuelifetime
The "queuelifetime" setting for qmail determines how long messages can stay in the queue. The value is in seconds. By default, your qmail server will keep messages in the queue for 604,800 seconds, or 7 days. However, you can set a custom queuelifetime by creating a file called /var/qmail/control/queuelifetime. The content of that file is a single line containing a number which represents the number of seconds the queue will hold any given message. If you want to set a custom queuelifetime, you might want to whip out the old calculator.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question