fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail and qmail ( bouncing the message using fetchmail )

2003-10-20 06:51:29
hello,

I am facing some problem in fetchmail+qmail configuration.

First i will discribe the scenario

Host A [ with qmail ]
ip address=192.168.0.229, is having 1 domain mox.net with 2 users "mox",
and "lailaa".

Host B [ fetchmail + qmail ]
ip address=192.168.0.233, is having one domain s.com with 1 user "a".

I am running fetchmail as "fetchuser1" on Host B with following entries
in fetchmailrc
------------------------------------------------
set showdots
set logfile "/home/fetchuser1/fetchmail.log"
set idfile "/mithi/applications/mailgateway/conf/.fetchids1"
set daemon 600

poll 192.168.0.229 uidl with proto POP3
        user "lailaa(_at_)mox(_dot_)net" there with password "moxmox" is 
"a(_at_)s(_dot_)com"
        here keep dropdelivered forcecr limit 0 fetchlimit 0
------------------------------------------------

Qmail on Host B is using "relayclients" with following entry
------------------------------------------------
192.168.0.233:
------------------------------------------------

and it is also using "badmailpatterns" with following entry
------------------------------------------------
mox(_at_)mox(_dot_)net
------------------------------------------------


Now mox(_at_)mox(_dot_)net has sent 2 mails to lailaa(_at_)mox(_dot_)net ( both 
are on Host A
).


When i start fetchmail on Host B ( which is poping from laila(_at_)mox(_dot_)net
from 192.168.0.229 for a(_at_)s(_dot_)com user )
i get following error  and fetchmail  *terminates*
------------------------------------------------
fetchmail: 2 messages for lailaa(_at_)mox(_dot_)net at 192.168.0.229 (4582 
octets).
fetchmail: POP3> LIST^M
fetchmail: POP3< +OK
fetchmail: POP3< 1 2295
fetchmail: POP3< 2 2287
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK
fetchmail: reading message 1 of 2 (2295 octets)
fetchmail: About to rewrite Return-Path: <mox(_at_)mox(_dot_)net>^M
Rewritten version is Return-Path: <mox(_at_)mox(_dot_)net>^M

fetchmail: About to rewrite From: mox mox <mox(_at_)mox(_dot_)net>^M
Rewritten version is From: mox mox <mox(_at_)mox(_dot_)net>^M

fetchmail: About to rewrite To: lailaa(_at_)mox(_dot_)net^M
Rewritten version is To: lailaa(_at_)mox(_dot_)net^M

fetchmail: SMTP< 220 s.com ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-s.com
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250 SIZE 4000000
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<mox(_at_)mox(_dot_)net> SIZE=2295
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<a(_at_)s(_dot_)com>
fetchmail: SMTP< 554 sorry, your envelope sender is in my badmailfrom
list (#5.7.1)
fetchmail: SMTP listener doesn't like recipient address `a(_at_)s(_dot_)com'
fetchmail: SMTP> RCPT TO:<fetchuser1(_at_)localhost>
fetchmail: can't even send to fetchuser1!
fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: socket error while fetching from 192.168.0.229
fetchmail: Query status=2 (SOCKET)
fetchmail: terminated with signal 13
fetchmail: Deleting fetchids file.
------------------------------------------------



According to the documentation fetchmail sends the bounce mail to the
sender when MTA ( qmail in this case ) doesn't accepts the mail from
fetchmail. In this case i think, fetchmail is trying to send the bounce
mail BUT he is using  
RCPT TO:<fetchuser1(_at_)localhost>  which is not accepted by Qmail .


Please tell me what is the solution for this problem 


thanks in advance

bye

-- 
  siddharth
  siddharth(_at_)fastmail(_dot_)fm

-- 
http://www.fastmail.fm - Access your email from home and the web

<Prev in Thread] Current Thread [Next in Thread>