Question for the Experts

Kevin MURPHY Kevin.Murphy at
Fri Feb 15 10:26:14 GMT 2008

Hi Everyone

Thanks for so many replies. It's the first time I have used this list and
its really great to see how the community helps each other. 
Glen - I have tried that access file REJECT , but it rejects all mail even
from server	REJECT	[IP Address of Server B] 	RELAY

   ----- Transcript of session follows -----
... while talking to serverA:
>>> DATA
<<< 553 5.3.0 <administrator at>... REJECT[IPADDRESS SERVER B]RELAY
550 5.1.1 <administrator at>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)



-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Glenn Steen
Sent: 14 February 2008 20:19
To: MailScanner discussion
Subject: Re: Question for the Experts

On 14/02/2008, Richard Frovarp <richard.frovarp at> wrote:
> Mike Kercher wrote:
>  >
>  >
>  > -----Original Message-----
>  >
>  > on 2/14/2008 9:26 AM Ugo Bellavance spake the following:
>  >
>  >> Kevin MURPHY wrote:
>  >>
>  >>> Right - It's a sendmail issue so
>  >>> Ok thanks for pointing this out
>  >>>
>  >> This should be solved with a sendmail ruleset.  I wouldn't know how to
>  >>
>  >
>  >
>  >> write it, though.  Maybe ask fsl?
>  >>
>  >> Regards,
>  >>
>  >> Ugo
>  >>
>  >>
>  > If I remember right, in /etc/mail/access add "To:blocked_domain
>  > and remake the access file.
>  > Or you can change reject to discard if you want it silently dropped.
>  >
>  > --
>  >
>  > I think that would reject/discard the emails from Server B as well.
>  >
>  > Mike
> Why not just have Server B pass the message onto Exchange? Seems like a
>  waste to pass it onto a middle man.
I agree in principle... but Kevin might have... topologocal
considerations.... we're not aware of:-).

Since I'm no guru on the access file of Sendmail, I did some googling
and found this very friendly (albeit long) article that might be a
... If I'm not mistaken, one could have something like REJECT
[IP.of.server.B] RELAY
... in the access file on serverA, and then (since the IP thing should
be more specific(?)) relayed from serverB should get
through.... but nothing else. The big disclaimer here is that what I
remember of Sendmail is ... easily enumerated:-). I know this could be
done with Postfix access though;-).

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

This e-mail is intended solely for the addressee(s) and is strictly confidential. The unauthorised use, disclosure or copying of this e-mail, or any information it contains is prohibited. If you have received this e-mail in error, please notify us immediately and then permanently delete it. Although Midland Internet & Computer Solutions make every effort to keep our systems free from viruses you should check this e-mail and any attachments to it for viruses as we cannot accept any liability for viruses inadvertently transmitted by use.

More information about the MailScanner mailing list