hi all,
found solution to my problem, my mails were looping back to the sender
saying
<first(a)test.cnpl.co.in>:
This message is looping: it already has my Delivered-To line. (#5.4.6)
i had to make some changes in .fetchmailrc file, removed ``:'' (colon)
envelope "Delivered-To"
and added
dropdelivered
now its working fine, here is my running .fetchmailrc file
set postmaster "postmaster(a)test.cnpl.co.in"
set no bouncemail
set no spambounce
set properties ""
set logfile /var/log/fetchmail
poll 203.199.107.48 with proto POP3 and options no dns
aka test.cnpl.co.in
envelope "Delivered-To"
user 'catchall(a)test.cnpl.co.in' there with password 'secret'
is * here options fetchall
smtphost localhost
smtpaddress test.cnpl.co.in
forcecr
dropdelivered
-sanjeev
----- Original Message -----
From: "Sanjeev" <sanjeev(a)cnpl.co.in>
To: "Charles Cazabon" <qmail(a)discworld.dyndns.org>
Cc: <qmail(a)list.cr.yp.to>
Sent: Wednesday, September 11, 2002 4:26 PM
Subject: Re: Mail Looping Problem with Delivered-To header
> Monday, Charles Cazabon wrote:
>
> >Sanjeev <sanjeev(a)cnpl.co.in> wrote:
> >[...]
> >> # .fetchmailrc
> >> poll ISPIPAddress with proto POP3 and options no dns
> >> aka myfqdn
> >
> >ISPIPAddress? myfqdn? Sorry, we can't help you unless you give us the
/real/
> >names and IP addresses involved, the unedited output of qmail-showctl,
and the
> >complete log entries leading up to the bounce.
> >
> >Charles
> >
>
>
> hi,
>
> hope Charles, gets complete information from my side
>
> here are my fetchmailrc, qmail log, qmail-showctl (o/p),
> in this example its,
> mail from, user1(a)test.cnpl.co.in
> to, first(a)test.cnpl.co.in
> wwoutgoing and incoming mails are send to sanjeev(a)test.cnpl.co.in
>
>
> ############# this is my fetchmailrc file v #############
> set postmaster "postmaster(a)test.cnpl.co.in"
> set no bouncemail
> set no spambounce
> set properties ""
> set logfile /var/log/fetchmail
> poll 203.199.107.48 with proto POP3 and options no dns
> aka test.cnpl.co.in
> envelope "Delivered-To:"
> user 'catchall(a)test.cnpl.co.in' there with password 'secret' is * here
options fetchall
> smtphost localhost
> smtpaddress test.cnpl.co.in
> forcecr
> ############# above is my fetchmailrc file ^ #############
>
>
> ############# this is my qmail log v #####################
>
> @400000003d7ecdd10e22d7d4 new msg 87719
> @400000003d7ecdd10e2331ac info msg 87719: bytes 1181 from
<user1(a)test.cnpl.co.in> qp 1660 uid 505
> @400000003d7ecdd110e81254 starting delivery 33: msg 87719 to local
sanjeev(a)test.cnpl.co.in
> @400000003d7ecdd110e8839c status: local 1/10 remote 0/20
> @400000003d7ecdd110fbf814 starting delivery 34: msg 87719 to local
first(a)test.cnpl.co.in
> @400000003d7ecdd110fc3a7c status: local 2/10 remote 0/20
> @400000003d7ecdd51678c114 delivery 33: success: did_1+0+0/
> @400000003d7ecdd5167926a4 status: local 1/10 remote 0/20
> @400000003d7ecdd516d14d0c delivery 34: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/
> @400000003d7ecdd516f65584 status: local 0/10 remote 0/20
> @400000003d7ecdd51ba5a4f4 bounce msg 87719 qp 1665
> @400000003d7ecdd51ba60e6c end msg 87719
> @400000003d7ecdd51bbaea44 new msg 87693
> @400000003d7ecdd51bc0d5e4 info msg 87693: bytes 1863 from <> qp 1665 uid
507
> @400000003d7ecdd51d6bf1bc starting delivery 35: msg 87693 to local
sanjeev(a)test.cnpl.co.in
> @400000003d7ecdd51d6eeb74 status: local 1/10 remote 0/20
> @400000003d7ecdd51d88ef9c starting delivery 36: msg 87693 to local
user1(a)test.cnpl.co.in
> @400000003d7ecdd51d8be184 status: local 2/10 remote 0/20
> @400000003d7ecdde0371bc9c delivery 35: success: did_1+0+0/
> @400000003d7ecdde0372222c status: local 1/10 remote 0/20
> @400000003d7ecdde078550dc delivery 36: success: did_1+0+0/
> @400000003d7ecdde0785b284 status: local 0/10 remote 0/20
> @400000003d7ecdde0785c60c end msg 87693
> ############# above is my qmail log ^ #####################
>
>
> ############# this is my output of qmail-showctl v #####################
> qmail home directory: /var/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 500.
> subdirectory split: 23.
> user ids: 501, 502, 503, 0, 504, 505, 506, 507.
> group ids: 501, 502.
> me: My name is test.cnpl.co.in
> ldapserver: My ldap server is localhost
>
>
> badmailfrom: (Default.) Any MAIL FROM is allowed.
>
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
>
> bouncehost: (Default.) Bounce host name is test.cnpl.co.in.
>
> concurrencylocal: (Default.) Local concurrency is 10.
>
> concurrencyremote: (Default.) Remote concurrency is 20.
>
> databytes: (Default.) SMTP DATA limit is 0 bytes.
>
> defaultdomain: Default domain name is cnpl.co.in.
>
> defaulthost: (Default.) Default host name is test.cnpl.co.in.
>
> doublebouncehost: (Default.) 2B recipient host: test.cnpl.co.in.
>
> doublebounceto: (Default.) 2B recipient user: postmaster.
>
> envnoathost: (Default.) Presumed domain name is test.cnpl.co.in.
>
> helohost: (Default.) SMTP client HELO host name is test.cnpl.co.in.
>
> idhost: (Default.) Message-ID host name is test.cnpl.co.in.
>
> localiphost: (Default.) Local IP address becomes test.cnpl.co.in.
>
> locals:
> Messages for test.cnpl.co.in are delivered locally.
> Messages for san.test.cnpl.co.in are delivered locally.
>
> me: My name is test.cnpl.co.in.
>
> percenthack: (Default.) The percent hack is not allowed.
>
> plusdomain: Plus domain name is .
>
> qmqpservers: (Default.) No QMQP servers.
>
> queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
>
> rcpthosts:
> SMTP clients may send messages to recipients at test.cnpl.co.in.
>
> morercpthosts: (Default.) No effect.
>
> morercpthosts.cdb: (Default.) No effect.
>
> smtpgreeting: (Default.) SMTP greeting: 220 test.cnpl.co.in.
>
> smtproutes: (Default.) No artificial SMTP routes.
>
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
>
> timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
>
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
>
> virtualdomains:
>
> now the qmail-ldap specific files
>
> ldapserver: My LDAP Server is localhost.
>
> ldapbasedn: LDAP basedn: o=localhost,c=com.
>
> ldaplogin: LDAP login: cn=qmail,o=localhost,c=com.
>
> ldappassword: LDAP password: qmailsecret.
>
> ldapuid: Default UID is: 600.
>
> ldapgid: Default GID is: 600.
>
> ldapmessagestore: Prefix for non absolute paths: .
>
> ldapdefaultdotmode: (Default.) Default dot mode for ldap users: not
defined.
>
> ldapdefaultquota: Default quota for ldap users: 2000000S, 1001C.
>
> dirmaker: Location of program to create homedirs:
/var/qmail/bin/custom_dirmaker.
>
> ldaplocaldelivery: local passwd lookup is 0 (1 = on, 0 = off).
>
> ldaprebind: ldap rebinding is 1 (1 = on, 0 = off).
>
> ldapcluster: (Default.) clustering is 0 (1 = on, 0 = off).
>
> ldapclusterhosts: (Default.) No alternate MailHosts for clustering listed.
>
> quotawarning:
> ############# above is my output of qmail-showctl ^ #####################
> You are about to be over your quota. Clean your mailbox
>
> custombouncetext:
> You have experienced some sort of problem delivering mail to us.
> Please contact us at for more information.
>
> maxrcptcount: (Default.) 0 RCPT TOs are accepted before sending 553 (0 =
off).
>
> tarpitcount: (Default.) 0 RCPT TOs are accepted before tarpitting (0 =
off).
>
> tarpitdelay: (Default.) 5 seconds of delay to introduce after each
subsequent RCPT TO.
>
> badrcptto:
>
> relaymailfrom:
> Envelope senders allowed to relay: @test.cnpl.co.in.
>
> rbllist: (Default.) No RBL listed.
>
> rbltags: (Default.) No RBL listed.
>
> holdremote: I have no idea what this file does.
> concurrencyincoming: I have no idea what this file does.
> defaultdelivery: I have no idea what this file does.
> relaymailfrom: I have no idea what this file does.
>
>
> regards
> sanjeev
>
>