Carlos E. R. wrote: > I use header-checks, it works: > > Mar 3 03:07:44 nimrodel postfix/cleanup[14749]: 7C263B6EC7: reject: > header From: [EMAIL PROTECTED] (Mail Delivery System) from > localhost[127.0.0.1]; from=<> to=<[EMAIL PROTECTED]> proto=ESMTP > helo=<nimrodel.valinor>: 5.7.1 20070303 stupid bouncer!
Okay, the header_checks work, but... > And using imap, the fetching is cancelled: > > Mar 3 03:07:44 nimrodel fetchmail[18653]: (6395 body octets) (log message > incomplete) > Mar 3 03:07:44 nimrodel fetchmail[18653]: IMAP< ) > Mar 3 03:07:44 nimrodel fetchmail[18653]: IMAP< A0008 OK FETCH complete > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP>. (EOM) > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP< 550 5.7.1 20070303 stupid > bouncer! > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP error: 550 5.7.1 20070303 > stupid bouncer! > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP listener refused delivery > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP> RSET > Mar 3 03:07:44 nimrodel fetchmail[18653]: SMTP< 250 2.0.0 Ok > Mar 3 03:07:44 nimrodel fetchmail[18653]: flushed > > It is slow, though. what happens after you reject the mail? Where does it go to? If everything works fetchmail should bounce the message back to the sender. In other words: rejecting with fetchmail probably makes you a backscatter source. The mail has already been accepted by you (precisely, the provider accepted the mail for you). So you should only reject mails when you receive them directly via smtp. After the mail has been accepted you can only discard or tag and deliver it. The reason why you did not become a backscatter source in this case is the empty sender address <>, so the mail could not be bounced (again) and was discarded anyway. Still, I suggest you use the action DISCARD instead of REJECT. If the next mail you want to reject with such a header_check is NOT the empty sender address <>, you WILL become a backscatter source with REJECT. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
