Question for the Experts

Kevin MURPHY Kevin.Murphy at midland-ics.ie
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

To:domain.com	REJECT	[IP Address of Server B] 	RELAY

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

Regards

Kevin

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] 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 sendit.nodak.edu> 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?  www.fsl.com.
>  >>
>  >> Regards,
>  >>
>  >> Ugo
>  >>
>  >>
>  > If I remember right, in /etc/mail/access add "To:blocked_domain
REJECT"
>  > 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
help:
http://blue-labs.org/howto/access_hints.php
... If I'm not mistaken, one could have something like
To:exmaple.net REJECT
[IP.of.server.B] RELAY
... in the access file on serverA, and then (since the IP thing should
be more specific(?)) example.net 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;-).

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
-- 
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! 

-- 
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