[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-anubis] processing SMTP commands
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-anubis] processing SMTP commands |
Date: |
Wed, 19 May 2004 21:20:14 +0300 |
Federico Guerrini <address@hidden> wrote:
> I'm running Anubis 3.9.93 on Slackware Linux 9.1.
> I cannot get it to process SMTP commands with rules such as:
It is a bug in command parsing code. Attached is a patch that
fixes it. To apply, change to anubis-3.9.93 directory and
run `patch -p0 < patchfile'.
> if command["mail from"] :perlre ".*<address@hidden>?"
A minor correction is in order here. The above statement should read
if command["mail from:"] :perlre ".*<address@hidden>?"
(notice a colon after "from"). According to rfc 2821 "mail from:"
constitutes a single command. The same applies to "rcpt to:".
Thank you.
-Sergey