Hi,

I'm having some problems with action_bounce() not sending the correct error
code to the relaying SMTP server.

This is the line in filter_begin() in my /etc/mail/mimedefang-filter that
bounces the message:

   sub filter_begin () {
      .
      .
      .
      md_graphdefang_log('email_bounced', "Email Rejected");
      return action_bounce("@Recipients... User Unknown", "550", "5.1.1");

And this is what I see in /var/log/maillog on the server that is trying to
relay the message to my server:

   May 24 15:22:21 bart sendmail[29996]: i4OMMJqs029992:
to=<[EMAIL PROTECTED]>,
      ctladdr=<[EMAIL PROTECTED]> (500/503), delay=00:00:02,
xdelay=00:00:02,
      mailer=esmtp, pri=30424, relay=mail.eubanks.com. [4.35.243.118],
dsn=5.0.0,
      stat=Service unavailable
   May 24 15:22:21 bart sendmail[29996]: i4OMMJqs029992: i4OMMLqs029996:
DSN:
      Service unavailable

Looks like my server is generating a 5.0.0 error message even if I
instructed it to generate a 5.1.1 message and I'm having a hard time
figuring out why. I appreciate any help I can get with this problem.

I know that the action_bounce() line in filter_begin is getting called
because I can see the entry in /var/log/maillog from the line just before
it.


Best regards,

Kjell Uddeborg

[EMAIL PROTECTED]
950 Royal Oaks Drive
Monrovia, CA 91016
(p) 626-357-9269 x250
(f) 626-357-9749

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to