Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to let the MDA bounce a message

10 views
Skip to first unread message

ska

unread,
Nov 30, 2005, 5:10:53 AM11/30/05
to
Hello,

is it possible to let the MDA (LDA) ultimately decide during the SMTP
dialogue whether or not a recipient exists, in order to return a non-OK
SMTP code rather than a negative DSN bounce message?

sendmail 8.13.4 with a custom MDA.

Thanks,

Steffen

Andrzej Adam Filip

unread,
Nov 30, 2005, 5:26:09 AM11/30/05
to
"ska" <s...@mail.inf.fh-brs.de> writes:

Could you provide more data?


* Sendmail calls LDA *after* acknowledging all "RCPT TO:"

* Sendmail checks OS account existence for mailers with F=w flag set
before sending reply to "RCPT TO:"
You can compile your own MailboxDatabase routines in sendmail source
code to provide alternative checks

* You can use "socket map protocol" to allow sendmail asking your custom
daemon about recipient existence
e.g. cyrus-imapd has implemented smmapd daemon/service for such purpose

--
[en: Andrew] Andrzej Adam Filip : an...@priv.onet.pl : an...@xl.wp.pl
http://www.sendmail.org/faq/ http://www.sendmail.org/m4/readme.html
http://anfi.homeunix.net/sendmail/ Netcraft Site Rank: 488518

ska

unread,
Dec 1, 2005, 7:57:47 AM12/1/05
to
Sorry, there is a misunderstanding.

I'm contentedly with the ability of sendmail to detect the existance of
a recipient, but I would fine grain which message gets queued in order
to be delivered in a next run, or which are failed permanently or
temporatily after the SMTP DATA phase.

I know that you have to take precausions, if the mail has multiple
recipients, as the reply effects the deliviery status of all of them.

Steffen

0 new messages