|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Force Auth by domain
From: Andreas Winkelmann (ml
awinkelmann.de)
Date: Fri Sep 30 2005 - 09:23:19 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Friday 30 September 2005 16:20 schrieb Erwan David:
> Le Fri 30/09/2005, Warrick FitzGerald disait
>
> > Hi All,
> >
> > I?d like to have all inbound mail accepted for all domains except one
> > local domain. For this one domain, I would like to enforce that users
> > must be authenticated via SASL to deliver to this domain.
> >
> > So Postfix knows that
> >
> > DomainA.com
> > DomainB.com and
> > DomainC.com
> >
> > Are local to the server, but I want to enforce a policy that if you?re
> > sending to DomainA.com you must be authenticated.
> >
> > You do not need to be authenticated to send to DomainB.com and
> > DomainC.com though.
> >
> > Is this possible?
>
> in restrictions
>
> ...
> permit_sasl_authenticated
> check_recipient_access hash:refuse_A
>
> with refuse_A containing
>
>
DomainA.com REJECT
But without the "
"?
(http://www.postfix.org/access.5.html)
And you should allow Mails for "postmaster" without Authentification.
--
Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]