[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Sendmail Access.db help



On Wed, 27 Oct 2004 21:40:45 +0200, Alexander Dalloz
<alexander dalloz uni-bielefeld de> wrote:
> Am Mi, den 27.10.2004 schrieb Yang Xiao um 21:24:
> 
> > I'm trying to prevent anyone from spoofing incoming mail as internal
> > users. Example, my domain is mydomain.com
> > I don't want to anyone to connection to my mail gateway and send
> > emails as user mydomain com from the outside.
> >
> > I thought this can be done by access table and it's working. but the
> > problem now is that it's rejecting local mail that it's trying to
> > forward to the mailhost as well, how can I fix this?
> 
> No, you can't prevent this sender address spoofing with the access_db
> without breaking other regular mail traffic.
> 
> > #access table
> 
> > 127.0.0.1               OK
> > localhost               OK
> > From:localhost          OK
> > To:localhost            OK
> 
> Above must be RELAY, OK is too less.
> 
> > From:mydomain.com           ERROR:"550 Everything that has a
> > beginning, has an end."
> 
> > Yang
> 
> http://www.sendmail.org/~ca/email/protected.html
> 
> Or use a milter application to check whether the sender which claims to
> have a local domain address is sending from internally.
> 
> Alexander
> 
Alex, 
Correct me if I'm wrong, the link to sendmail..org seems to be
checking for valid rcpt address instead of whether or not the sender
is of the same domain?
Thanks,
Yang


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]