Unknown user again

Julian Field mailscanner at ecs.soton.ac.uk
Wed Oct 20 19:01:36 IST 2004


<x-flowed>
At 18:47 20/10/2004, you wrote:
>When you say local db file, are you refering to the accessdb file in
>sendmail?

No, a separate one created for the job.

>   So, if I can paraphrase what you just said.  Using some sort of
>script that get's a list of emails from the various email servers, some
>LDAP, some not.  Compile this list into an accessdb file for use by
>sendmail?

Not into an accessdb, but into a db file that describes where to send email
for all of your users. It's basically all in the FAQ at
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/270.html
The setup described there is for getting a routing database out of an
Exchange server running Active Directory, but the sendmail setup is exactly
the same.

>Is there anyway to have sendmail / mailscanner drop 550 errors it receives
>from the other mail servers?  I want to fix my short term problem.

Yes, by doing this. If the rcpt address isn't in the ldap (but actually a
db file) routing table, the message gets rejected at SMTP time.

>----- Original Message -----
>From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
>To: <MAILSCANNER at JISCMAIL.AC.UK>
>Sent: Wednesday, October 20, 2004 10:27 AM
>Subject: Re: Unknown user again
>
>
> > There is a tweak on option (1). You can use the LDAP routing setup,
>without
> > *actually* using LDAP to build it. So you could have a script run from
>cron
> > that queried each of the servers somehow, and built a local db file of all
> > the valid addresses it should accept mail for. Then you use the LDAP
> > routing setup to use this local db file.
> >
> > At 18:18 20/10/2004, you wrote:
> > >1)  LDAP - many of the the servers don't support LDAP.  The ability to
>build
> > >a comprehnsive LDAP server is outside of our scope.
> > >
> > >1)  Is there anyway I can tell MailScanner and/or sendmail to not respond
>to
> > >a 550 unknown user error?  Bascially Mailscanner tries to deliver an
>email
> > >to an unknown user.  Once it gets the 550 error, it drops it.  I know the
> > >downside of what if it was an honest mistake, the sender would not be
> > >notified.  I would like to do this on a domain by domain basis.
> > >
> > >2) Can I talk to multiple LDAP databases depending on what domain the
> > >address is destined to.
> >
> > --
> > Julian Field
> > www.MailScanner.info
> > Professional Support Services at www.MailScanner.biz
> > MailScanner thanks transtec Computers for their support
> > Buy the MailScanner book at www.MailScanner.info/store
> >
> > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list