Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 14:18:06 -0600 (CST)
From:      <nbari@unixmexico.com>
To:        <freebsd-isp@freebsd.org>
Subject:   vpopmail bouncing problems with procmail
Message-ID:  <58301.170.169.46.200.1039033086.squirrel@mail.unixmexico.com>

next in thread | raw e-mail | index | archive | help
i am using qmail with procmail and vpopmail

i change the following line in .qmail-default or one virtual server

|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

with this one

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

on my /etc/procmailrc i have:

--
INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
--

the sqblock.rc is a set of rules (a plugin for squirrelmail webmail) that
work fine.

the problem is that i dont get bounced messages

i have notice that if i add the line: EXITCODE=100

so my code in /etc/procmailrc looks like:
--
INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
EXITCODE=100
--
i get bounce to work but it bounces some vars of the profmail log,
something like :

---
Hi. This is the qmail-send program at ns3.unixmexico.net.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't work
out.

<no_mailbox@mydomain.com>:
procmail: [61493] Wed Dec  4 13:36:07 2002
procmail: Assigning "LOGABSTRACT=yes"
procmail: Assigning "LOGFILE=/var/log/procmail.log"
procmail: Opening "/var/log/procmail.log"

--

any ideas on how to fix or cusomaise the bounce message ?
how can i change this:

procmail: [61493] Wed Dec  4 13:36:07 2002
procmail: Assigning "LOGABSTRACT=yes"
procmail: Assigning "LOGFILE=/var/log/procmail.log"
procmail: Opening "/var/log/procmail.log"

for something like: "sorry no mailbox with that user name" for example.



regards




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58301.170.169.46.200.1039033086.squirrel>