LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2007, 04:01 PM   #1
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
qmail and smtproutes


We've followed QMR's instructions on how to setup Qmail, and we've got two servers - one for incoming (mail.domain.com) and one for secure smtp (secure.domain.com). We recently deployed the secure smtp server and found one glaring problem with our setup - it retains all email sent to domain.com. So, if you send an email from joe@domain.com to bob@domain.com, instead of forwarding that to the mail.domain.com server, it keeps it locally. I did some quick research and it seems that two things needed to be done:

1.) Clear out the contents of /var/qmail/control/locals
2.) Add ':mail.domain.com' to /var/qmail/control/smptroutes

I've done so, made sure the correct permissions were on the newly created smtproutes file and I've rebooted the server (just in case). At this point, it still retains local email. Is there something else that I can check? I've been reading 'The qmail Handbook' and searching google relentlessly. I did a quick check via /var/qmail/bin/qmail-showctl and it does show

smtproutes:
SMTP route: :mail.domain.com
 
Old 09-21-2007, 03:15 PM   #2
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Success! It turns out that we had our domain listed in /var/qmail/control/virtualdomains, that was causing the local delivery. We're quite happy with the way the system is working now, hopefully that helps someone else in the future.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
applying c.k. davis qmail buffer patch to live qmail server baronsam Linux - Server 4 04-22-2007 02:02 PM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 02:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration