Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2010, 01:44 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 10
Blog Entries: 1

Rep: Reputation: 0
Double mail issue


Recently I moved mailing system from send mail to qmail..
After that I find the problem that the users available in Internet (I.e-Using service provider Server) are receiving the mail twice.

In Qmail my mailing architecture is like this. My mx is hosted by a service provider. I am having 30 email accounts & a catchall account in that server.
In my local server I am having 500 users.
The outside mails are delivered to internal server Catchall account.
My Fetchmail is like this-
poll (My server IP) proto pop3 localdomains no dns uidl
envelope "Delivered-To"
qvirtual (domain)-

user with pass "*****" is here keep forcecr flush dropdelivered
Configuration for the users available in service provider server.

Now the problem is like this-When a outside domain user sending a mail to two users I.e-one user directly receive the mail and another one receive via catchall . Now the user available in external server(MX or service provider end) recieves the mail two times, 1st time recieves directly and next is routed via local server.
Now I want to solve this double mail issue. Is there any modification needed in fetchmail?
Please have a deep look at this scenario and help me out from this situation.

Old 06-14-2010, 03:25 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
If memory serves you should use the delivered-to envelope item in the fetchmail configuration to sort the mail to prevent this.

That being said, what could ever possibly possess you to go from a modern, stable, easily supported mail system to qmail which hasn't been updated in years and is a patched hodgepodge of applications to even make it comply with mail standards and that by default backscatters and will get you added to every spam list on the planet?
Old 07-03-2010, 06:18 AM   #3
LQ Newbie
Registered: Jan 2010
Posts: 10
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thanks for your reply. I have tried with your solution.My .fetchmailrc file is like this.

poll "IP" proto pop3 localdomains hostname no dns uidl
envelope "Delivered-To"

user with pass "password" is here keep forcecr flush dropdelivered

Can we set filter when it sending mail to online??



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mail issue sparkshankar Linux - Server 1 09-01-2009 06:58 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 01:10 PM
keyboard issue - have to double press some keys whysyn Linux - Hardware 9 10-31-2005 08:25 AM
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
remote desktop (vnc) double keystrokes issue mattl SUSE / openSUSE 10 05-06-2005 05:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 AM.

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