MailScanner startup/Sendmail Config question
Martin.Hepworth
martinh at solidstatelogic.com
Tue Jun 26 17:46:17 IST 2007
Brian
See the wiki for a couple of milters that will do the job of checking
for valid email addresses.
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta
:sendmail:how_to:reject_non_existent_users
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Bryan Guest
> Sent: 26 June 2007 17:39
> To: mailscanner at lists.mailscanner.info
> Subject: MailScanner startup/Sendmail Config question
>
> Hello:
>
> I have a question regarding the configuration of MailScanner, in the
way
> it
> starts Sendmail.
>
> My Mail Gateway MTA's are configured like this:
>
> Redhat ES V4
> MailScanner 4.56.8
> ClamAv 0.90.1
>
> After processing, local mail is delivered to a Mail Store machine and
> non-local mail is delivered to the destination MX by the MTA.
>
> As I understand it, MailScanner starts Sendmail twice. The first
Sendmail
> accepts mail and queues it in the inbound queue. The second is the
queue
> runner which delivers all mail passed through by MailScanner to the
> outbound
> queue.
>
> My issue is, that the first Sendmail blindly accepts mail no matter
what
> the
> To: address says and queue's it. It is not doing any non-account
> processing. This isn't appropriate for a Gateway. I need to bounce
> invalid users with the first Sendmail, so that it doesn't get piled up
in
> the outbound queue where the Mail Store machine rejects it during the
> delivery attempt by the outbound queue-runner.
>
> In other words, since my mail is not to be delivered locally on my
> MailScanner machines, how can I configure the first sendmail to reject
> based
> on invalid To: addresses? Has this problem not been encountered
before?
>
> I should mention here that all our users are stored in LDAP. The
Gateways
> and the Mail Store are LDAP aware, so that the machines know what is a
> valid
> user and what is not. But we are not using LDAP for mail routing at
this
> time.
>
> Any information which anyone could share on this situation would be
> appreciated.
>
> And many thanks to Julien and everyone on this list for all the
effort.
>
> Bryan Guest
>
>
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error
you must take no action based on them, nor must you copy or show them
to anyone. Please advise the sender by replying to this e-mail
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us.
Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.
Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
United Kingdom
**********************************************************************
More information about the MailScanner
mailing list