Email Address allowed delivery from single domain
Stephen Swaney
steve at fsl.com
Tue Dec 8 21:13:39 GMT 2009
On Dec 8, 2009, at 3:48 PM, Edward Dam wrote:
> Thanks Steve, but that would reject all mail from aol.com
>
> What I want to do, is for a specific user on my domain (user1 at example.com) allow said user to ONLY send/receive to a specific domain (foo.com)
>
> Every other user (user2, 3 ,5 @ example.com) should be able to send/receive mail to anywhere, INCLUDING foo.com
>
>
>
>
> On Tue, Dec 8, 2009 at 3:35 PM, Stephen Swaney <steve at fsl.com> wrote:
>
> On Dec 8, 2009, at 3:11 PM, Edward Dam wrote:
>
> > Thanks for the suggestion. I had thought of that, but have not found a way to do so with Sendmail's config that can be as granular as affecting a specific user only (rather than system wide) - which is why I'm turning to MailScanner, as it is a lot more flexible.
> > If anyone has any thought as to doing it at the MTA level, I'm all ears.
> >
> >
> > On Tue, Dec 8, 2009 at 1:32 PM, Rick Cooper <rcooper at dwford.com> wrote:
> >
> >
>
> What's wrong with adding a line like:
>
> spammer at aol.com REJECT
>
> To the /etc/mail/acesss file and remaking the access.db?
>
> More details at:
>
> http://www.sendmail.org/m4/anti_spam.html
>
>
> Best regards,
>
> Steve
>
Not according to the documentation at the referenced URL:
spammer at aol.com REJECT
cyberspammer.com REJECT
TLD REJECT
192.168.212 REJECT
IPv6:2002:c0a8:02c7 RELAY
IPv6:2002:c0a8:51d2::23f4 REJECT
would refuse mail from spammer at aol.com, any user from cyberspammer.com (or any host within the cyberspammer.com domain), any host in the entire top level domain TLD, 192.168.212.* network, and the IPv6 address 2002:c0a8:51d2::23f4. It would allow relay for the IPv6 network 2002:c0a8:02c7::/48.
bets regards,
Steve
--
Steve Swaney
steve at fsl.com
202 595-7760 ext: 601
www.fsl.com
The most accurate and cost effective anti-spam solutions available
More information about the MailScanner
mailing list