On Mon, 26 Jul 2004 23:29:08 -0400, "Woodie Sayles" <[EMAIL PROTECTED]> wrote:
> 1. It comes in through SMTPRcv, which checks it for a valid user name and
> valid domain (not together, of course).
> 2. SMTPRcv then puts it in Prein, where SCSMfilter takes it and runs it
> through whatever plugins are set up, AVP, TrashFinder, etc. It also does
> aliasing through plugin1.
> 3. SCSMfilter then puts the email in Incoming and SMTPDS delivers it.
>
> Now what happens if it's a bad email address and it is returned as a
> non-delivery to a local user?
If a message is trying to be sent to an outside site and the site
responds with an error, SMTPDS will generate a reject message. Being
the delivery service, SMTPDS will attempt to deliver this message on its
own. It will not go back to the receiver service or the incoming
directory.
The SMTPDS (D) and remote (R) SMTP dialog should look something like
D: HELO host.local.domain<br>
R: 251 HELO mx.remote.domain
D: MAIL FROM: [EMAIL PROTECTED]<br>
R: 250 OK
D: RCPT-TO: [EMAIL PROTECTED]<br>
R: 502 user not known
D: QUIT
SMTPDS then generates a bounce message to [EMAIL PROTECTED]
To get SMTPDS to send the message back to the receiver service to allow
plugin1 to work, it has to be convinced that b.c is not one of the
domains that it should accept mail for. So in the IMS control panel,
dont put b.c in the accept mail for.
To get this to work system wide, all your incoming public domains have
to be aliased to "something else" and the IMS control panel "accept mail
for" only has to accept "something else"
Plugin1 has the # symbol to remap the domain part of the address.
eg "[EMAIL PROTECTED]","[EMAIL PROTECTED]"
So if b.c and my.real.domain are the real incoming domains, I would
1. setup smtprcv to accept b.c and my.real.domain
2. setup ims control panel to accept [ip.ad.dr.es]
3. setup plugin1 for
"[EMAIL PROTECTED]","[EMAIL PROTECTED]"
"[EMAIL PROTECTED]","[EMAIL PROTECTED]"
klint.
(If anyone's wondering why I'm not really answering questions at the
moment, my real work is being moved into production at the moment and
takes up most of my time)
+---------------------------------------+-----------------+
: Klint Gore : "Non rhyming :
: EMail : [EMAIL PROTECTED] : slang - the :
: Snail : A.B.R.I. : possibilities :
: Mail University of New England : are useless" :
: Armidale NSW 2351 Australia : L.J.J. :
: Fax : +61 2 6772 5376 : :
+---------------------------------------+-----------------+
This is the discussion list for the IMS Free email server software.
To unsubscribe send mailto:[EMAIL PROTECTED]
Delivered by Rockliffe MailSite
http://www.rockliffe.com/mailsite
Rock Solid Software (tm)