badmailfrom didn't work
OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? - Gary
Re: badmailfrom didn't work
did you killall -HUP qmail-send? - Original Message - From: Gary MacKay [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 2:35 PM Subject: badmailfrom didn't work OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? - Gary
Re: badmailfrom didn't work
On Thu, Jul 26, 2001 at 08:35:13AM -0400, Gary MacKay wrote: OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? It's being sent to you from the address [EMAIL PROTECTED] (72197 is the message number on the list). badmailfrom checks on the envelope address. You have to filter during some delivery phase. /magnus
Re: badmailfrom didn't work
On 26 Jul 2001, at 8:35, Gary MacKay wrote: OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? I did the same and had the same problem... I think it's because qmail checks the Return-Path address with the badmailfrom list. And becasue these messages are going through the qmail-list the Return-Path address is modified for each member of the mailing list. for example, the Return-Path for message I receive is as follows. Return-Path: [EMAIL PROTECTED] So if I put this in the badmailfrom I'd be blocking all mail from te list. If anyone comes up with another solution, please post... Dean Dean Staff Protus IP Solutions 210 - 2379 Holly Lane Ottawa, ON K1V 7P2 Canada 613-733- ex 546 Fax 613-248-4553 e-mail: [EMAIL PROTECTED] Web: http://www.protus.com
Re: badmailfrom didn't work
* Gary MacKay [EMAIL PROTECTED] [010726 10:53]: OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? badmailfrom operates on the MAIL FROM: parameter of the SMTP conversation. For ezmlm lists, the MAIL FROM: (or ``envelope sender'' or ``address in the Return-Path header'') is a VERP-encoded address, like: [EMAIL PROTECTED] where NN is the message number in question. The original idea was to add ``[EMAIL PROTECTED]'' to badmailfrom on the server running the qmail list itself (Dan's server). This would block the mail. /pg -- Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED] --- On a normal ascii line, the only safe condition to detect is a 'BREAK' - everything else having been assigned functions by Gnu EMACS. (By Tarl Neustaedter)
RE: badmailfrom didn't work
The same for me, but I have the qmail box as a relayer only. The last mail should have been blocked anyhow. What gives? =) With Best Regards, Peter Fredriksson Compu-Mark Nordic AB Email: [EMAIL PROTECTED] Phone: +46-8-4417730 Fax:+46-8-6980909 ICQ#: 6166226 -Original Message- From: Gary MacKay [mailto:[EMAIL PROTECTED]] Sent: den 26 juli 2001 14:35 To: [EMAIL PROTECTED] Subject: badmailfrom didn't work OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? - Gary
RE: badmailfrom didn't work
HUP'ing is NOT necessary for badmailfrom. It gets used with each new call to qmail-smtpd. -- Michael Boyiazis [EMAIL PROTECTED] Mail Architect, NetZero, Inc. -Original Message- From: zyrtaf [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 7:56 AM To: Gary MacKay Cc: [EMAIL PROTECTED] Subject: Re: badmailfrom didn't work did you killall -HUP qmail-send? - Original Message - From: Gary MacKay [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 2:35 PM Subject: badmailfrom didn't work OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? - Gary
RE: badmailfrom didn't work
I have added the following to my .qmail: |/usr/bin/perl -e while () {chomp; if (/^From:.*wilson\@souzaramos\.com\.br.*/) { return 99; } if ( length == 0 ) { return 0; } } return 0; Essentially, this drops the email on the floor if it's from this wilson dude, otherwise proceed. (I had to drop it on the floor lest it bounce back to [EMAIL PROTECTED] and remove me!) It should work, but if a second pair of eyes sees something wrong let me know. -Original Message- From: Michael Boyiazis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: RE: badmailfrom didn't work HUP'ing is NOT necessary for badmailfrom. It gets used with each new call to qmail-smtpd. -- Michael Boyiazis [EMAIL PROTECTED] Mail Architect, NetZero, Inc. -Original Message- From: zyrtaf [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 7:56 AM To: Gary MacKay Cc: [EMAIL PROTECTED] Subject: Re: badmailfrom didn't work did you killall -HUP qmail-send? - Original Message - From: Gary MacKay [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 2:35 PM Subject: badmailfrom didn't work OK. I added this '[EMAIL PROTECTED]' dude to my badmailfrom and still got this last message. What gives? If I telnet to the box and try to send in a message as him, it gets kicked out, why doesn't the real message get kicked out? - Gary Notice: This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. Thank you.