I have  two lines in the "alias/.qmail-default", as follows:

| if echo $LOCAL | grep -q "%" ; then echo "Not allowed"; exit 100; fi
| echo -n `date` >> duplicado; echo "; SENDER=$SENDER" >> duplicado

     Well, when I receive an e-mail in the form:

mail from: <user@[125.137.20.186]>
250 ok
rcpt to: <user2%domain@[125.137.20.186]>
250 ok

     The line in the log file 'duplicado'  is:

      Thu May 11 12:00:13 CEST 2000; SENDER=

      However, in normal operation it appears:

      Thu May 11 12:00:13 CEST 2000; SENDER=sender@domain

      As the SENDER var isn't set when the "mail from:" is set to "
<user@[125.137.20.186]>" I can't refuse the email is this form.


      I have filled the "control/badmailfrom" file with information to
reject this email, but it doesn't work.

      Please, help.

      Thank in advance.



Reply via email to