Hi,
Does courier support verifying envelope sender address? I get a ton of
DSNs
due to spammers hitting the server, and when bounces are generated back, I
Why are _YOU_ generating bounces?
A properly-configured Courier server rarely sends bounces.
---------------------
Hi Sam,
I'm somewhat confused as to how exactly this works and should work. I have
an /etc/courier/maildroprc which runs some checks and may return an error.
For example, I have this:
if ($RECIPIENT =~ /321.net$/)
{
STAT=`/usr/local/bin/check_config $RECIPIENT`
if ($STAT =~ /^Error:/)
{
echo "550 $STAT"
EXITCODE=77
exit
}
}
Additionally each user has a .mailfilter file which may also output an error
(for example if a virus is found). In all cases, I'm asserting EXITCODE=77,
and print out an error message.
I'm attaching a sample bounce message, which basically is I'm getting an
error back when a DSN is sent to an invalid sender, and the DSN is exactly
one of the errors that courier generates. (Actually I can't attach, so I'll
copy the message below)
I get thousands of these each day, because of all the spam that is coming.
Can you help me understand what I'm doing wrong, and how I can avoid sending
bounces?
Thanks
Ricardo
This is the DSN that courier is generating back to the envelope sender,
please note the 550 error that is being generated when maildroprc is run
==============================================
This is a delivery status notification from mail1.americasnet.com,
running the Courier mail server, version 0.44.2.
The original message was received on Fri, 17 Mar 2006 23:06:01 -0800
from friend (66-215-67-226.dhcp.wsco.ca.charter.com [::ffff:66.215.67.226])
---------------------------------------------------------------------------
UNDELIVERABLE MAIL
Your message to the following recipients cannot be delivered:
<[EMAIL PROTECTED]>:
<<< 550 Error: account [EMAIL PROTECTED] expired.
---------------------------------------------------------------------------
If your message was also sent to additional recipients, their delivery
status is not included in this report. You may or may not receive
other delivery status notifications for additional recipients.
The original message follows as a separate attachment.
Now this is the DSN I get back when courier sends the above DSN to the
envelope sender...
=====================================
This is a delivery status notification from mail1.americasnet.com,
running the Courier mail server, version 0.44.2.
The original message was received on Fri, 17 Mar 2006 23:06:02 -0800
from localhost (localhost [127.0.0.1])
---------------------------------------------------------------------------
UNDELIVERABLE MAIL
Your message to the following recipients cannot be delivered:
<[EMAIL PROTECTED]>:
mail11.tso.co.uk [194.128.65.209]:
RCPT TO:<[EMAIL PROTECTED]>
<<< 550 Mailbox unavailable.
---------------------------------------------------------------------------
If your message was also sent to additional recipients, their delivery
status is not included in this report. You may or may not receive
other delivery status notifications for additional recipients.
The original message follows as a separate attachment.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users