Hello,

I just converted my SMTP server to qmail and I'm having a problem
with setting up fetchmail, procmail and qmail to work together.

I already ran TEST.receive and TEST.deliver test suite and it
all worked fine for sending and receiving mail directly to [EMAIL PROTECTED]
via procmail recipes.


The problem arises when trying to get the mail from my ISP: [EMAIL PROTECTED]
via fetchmail.
The mail was lost, after fetchmail successfully fetched it.

Below is my qmail's configuration to have this accomplished:

Add myisp.com to control/locals and control/rcpthosts
Yes, I restarted qmail after changing these.

######### .qmail file ################
|/home/me/bin/qmail-procmail
###############################




######### qmail-procmail ##############
#!/bin/sh

/var/qmail/bin/preline /usr/bin/procmail && exit 0
 
# check if procmail returned EX_TEMPFAIL (75)
[ $? = 75 ] && exit 111
 
# otherwise return a permanent error
exit 100
####################################
 



############ .fetchmailrc  #################
poll mail.myisp.com proto pop3 nodns
        user me with password XXXXXXX
        fetchall forcecr
#########################################

Please shed some lights on this.

Thanks in advance.

-Aris

Reply via email to