Qmail Duplicate Emails

Discussion regarding the installation and configuration of Linux distributions.

Qmail Duplicate Emails

Postby sevensins » Sat Apr 05, 2008 3:18 pm

AOA,

I know I am using qmail and should use postfix, I know qmailrocks is 2 years old and should be looking at the http://qmail.jms1.net/ but just for an experiment.... plz indulge yourself for a min...

I am facing a duplicate email in in box problem.

I am using a testbed from qmailrocks.org guide on FC2. I also added the following Configure SpamAssassin on QmailRocks from http://opensourceheaven.net/?page_id=98

I noticed before adding this that when ever i send an email from within the mail server e.g. abc@mydomain.com to xyz@mydomain.com or even to myself (abc@mydomain.com), I receive duplicate emails of the same email.

But when I send an email from abc@mydomain.com to hotmail or any other email server, only one email message is delivered as it should be.

I cant seem to figure it our...

Plz any help suggestion in solving this will be highly appreciated.

Regards,
Shehzad
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN

sucks to be you.

Postby lambda » Sat Apr 05, 2008 6:05 pm

what do the logs say? paste all lines in the log that show up when you send email to a local user.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby sevensins » Sat Apr 05, 2008 7:50 pm

/var/log/qmailqmail-send/current
@4000000047f75d7c0821b404 status: local 0/10 remote 0/255
@4000000047f7624f2c81e9cc new msg 4213787
@4000000047f7624f2c83c65c info msg 4213787: bytes 5412 from <shehzad@shehzad.com> qp 3897 uid 509
@4000000047f7624f2db07304 starting delivery 1: msg 4213787 to local shehzad.com-shehzad@shehzad.com
@4000000047f7624f2db25764 status: local 1/10 remote 0/255
@4000000047f7625236f0d3b4 delivery 1: success: did_0+0+2/
@4000000047f7625236f0ef0c status: local 0/10 remote 0/255
@4000000047f7625237cc0ccc end msg 4213787
@4000000047f762530430bb24 new msg 4213796
@4000000047f7625304327874 info msg 4213796: bytes 5405 from <shehzad@shehzad.com> qp 3914 uid 509
@4000000047f7625306655a1c starting delivery 2: msg 4213796 to local shehzad.com-shehzad@shehzad.com
@4000000047f7625306672edc status: local 1/10 remote 0/255
@4000000047f762551c76a8c4 delivery 2: success: did_0+0+2/
@4000000047f762551c76c804 status: local 0/10 remote 0/255
@4000000047f762551c76df74 end msg 4213796
@4000000047f7903e0788276c status: local 0/10 remote 0/255

/var/log/qmailqmail-smtpd/current
@4000000047f75d7c0821b404 status: local 0/10 remote 0/255
@4000000047f7624f2c81e9cc new msg 4213787
@4000000047f7624f2c83c65c info msg 4213787: bytes 5412 from <shehzad@shehzad.com> qp 3897 uid 509
@4000000047f7624f2db07304 starting delivery 1: msg 4213787 to local shehzad.com-shehzad@shehzad.com
@4000000047f7624f2db25764 status: local 1/10 remote 0/255
@4000000047f7625236f0d3b4 delivery 1: success: did_0+0+2/
@4000000047f7625236f0ef0c status: local 0/10 remote 0/255
@4000000047f7625237cc0ccc end msg 4213787
@4000000047f762530430bb24 new msg 4213796
@4000000047f7625304327874 info msg 4213796: bytes 5405 from <shehzad@shehzad.com> qp 3914 uid 509
@4000000047f7625306655a1c starting delivery 2: msg 4213796 to local shehzad.com-shehzad@shehzad.com
@4000000047f7625306672edc status: local 1/10 remote 0/255
@4000000047f762551c76a8c4 delivery 2: success: did_0+0+2/
@4000000047f762551c76c804 status: local 0/10 remote 0/255
@4000000047f762551c76df74 end msg 4213796
@4000000047f7903e0788276c status: local 0/10 remote 0/255
[root@mx1 root]# cat /var/log/qmail/qmail-smtpd/current
@4000000047f7624c100762cc tcpserver: ok 3886 mx1.shehzad.com:192.168.59.13:25 mx2.shehzad.com:192.168.59.7::33861
@4000000047f76253037bf1e4 tcpserver: end 3886 status 0
@4000000047f76253037ca97c tcpserver: status: 0/30
@4000000047f7903d30a00d2c tcpserver: status: 0/30

/var/log/qmail/maildrop.log
==== BEGIN maildrop processing for shehzad@shehzad.com ===
running message through spamc
message is clean
quota enabled delivery to /home/vpopmail/domains/shehzad.com/shehzad/Maildir
=== END === success
Regards,



-----------------------------------------------------------------

A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN

Postby sevensins » Sat Apr 05, 2008 10:51 pm

Return-Path: <shehzad@shehzad.com>
Delivered-To: shehzad@shehzad.com
Received: (qmail 3959 invoked by uid 509); 5 Apr 2008 22:50:36 +0500
Received: from 127.0.0.1 by mx1.shehzad.com (envelope-from <shehzad@shehzad.com>, uid 507) with qmail-scanner-1.25-st-qms
(clamdscan: 0.88.7/6603. spamassassin: 3.0.2. perlscan: 1.25-st-qms.
Clear:RC:1(127.0.0.1):.
Processed in 0.047917 secs); 05 Apr 2008 17:50:36 -0000
X-Antivirus-MYDOMAIN-Mail-From: shehzad@shehzad.com via mx1.shehzad.com
X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(127.0.0.1):. Processed in 0.047917 secs Process 3952)
Received: from localhost (HELO mx1.shehzad.com) (shehzad@shehzad.com@127.0.0.1)
by mx1.shehzad.com with SMTP; 5 Apr 2008 22:50:36 +0500
Received: from 10.0.0.189
(SquirrelMail authenticated user shehzad@shehzad.com)
by mx1.shehzad.com with HTTP;
Sat, 5 Apr 2008 22:50:36 +0500 (PKT)
Message-ID: <7205.10.0.0.189.1207417836.squirrel@mx1.shehzad.com>
Date: Sat, 5 Apr 2008 22:50:36 +0500 (PKT)
Subject: a
From: shehzad@shehzad.com
To: shehzad@shehzad.com
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Regards,



-----------------------------------------------------------------

A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN

Postby sevensins » Sat Apr 05, 2008 10:53 pm

got it...


added | /home/vpopmail/qtrap/qtrap.sh in the .qmail-default and things
started working
Regards,



-----------------------------------------------------------------

A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron