LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Double mail issue


Hi,

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 mydomain.com no dns uidl
envelope "Delivered-To"
qvirtual (domain)-

user catchall@mydomain.com with pass "*****" is localcatchall@seml.co.in here keep forcecr flush dropdelivered
Configuration for the users available in service provider server.
/home/vpopmail/domains/mydomain.com/8/pushmail_online/Maildir/

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.

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

Rep: Reputation: 167Reputation: 167
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
jjena
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 1

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


poll "IP" proto pop3 localdomains hostname mydomain.com no dns uidl
envelope "Delivered-To"
qvirtual seml.co.in-

user user@mydomain.com with pass "password" is mycatchall@mydomain.com here keep forcecr flush dropdelivered

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

Jyotirmay
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 AM.

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