procmail
[Top] [All Lists]

Passing EXITCODE to postfix 20010228

2002-04-15 04:56:16
Hello!

I'm using postfix 20010228 on a MandrakeLinux 8.2 system.  To filter
mails into the correct places, I use procmail 3.22.

Postifx supports automatic bounce messages depending on the exit code of
a filter.  Specifying EXITCODE 67, should send a message saying user not
found.

My ~/.procmailrc contains:

[...]
INCLUDERC = $HOME/.procmail/anti-spam
[...]

anti-spam contains:

:0H
* ^Subject: Anti-Spam Test
{
        EXITCODE = 67

        :0
        deleted
}

I think, this should cause procmail to pass an exitcode of 67 back to
postfix, shouldn't it?  I further think, that this cause an automatic
message to be generated, shouldn't it?  However, nothing happens :(

In my /etc/postfix/main.cf, I call procmail like this:

mailbox_command = /usr/bin/procmail -Y -a $DOMAIN

Mail is fetched from remote servers using fetchmail, which will the
message on via SMTP to localhost which will then call procmail to store
the messages in the correct location.

What am I doing wrong?

Thanks a lot for any help!

-- 
  \  Alexander Skwar                |              net-attach GmbH   \
   ---------------------------------+---------------------------------X
  /  Web-Development and more       |     http://www.net-attach.de   /
-- 
                       Uptime: 27 days 1 hour 13 minutes
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Passing EXITCODE to postfix 20010228, Alexander Skwar <=