using both MS and sendmail..
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Sep 22 15:03:51 IST 2004
<x-flowed>
At 13:26 22/09/2004, you wrote:
> >>> mailscanner at ECS.SOTON.AC.UK 09/21/04 12:58PM >>>
>At 18:49 21/09/2004, you wrote:
> >So I think I figured out my 'issue'. Basically, I can't seem to get my
> >RBL's to work, either with Sendmail, OR with MS. If I go into the details
> >of a MS message using MailWatch..the email always shows as coming from
> >127.0.0.1 So MS isn't aware of where the email *actually* came from,
> >therefore doesn't do a check. I tried binding sendmail to both 127.0.0.1
> >only, its IP address only, as well as both. (this server is configured
> >as a relay via mailertable, to push all email back onto our corporate mail
> >server). FYI, I'm now upgraded to MS 4-33.3
> >
> >When I bind sendail to only 127.0.0.1, then MS *will* do the RBL's, as its
> >listening on the 'real' interface. The issue is that I am using Trend
> >Interscan Viruswall, along with its eManager (file blocking). What I
> >*want* is for mail to come in, get accepted by the *real* sendmail, go
> >through the Trend virus and file checks, THEN pass it to MailScanner, and
> >do ITS checks. I figured that binding sendmail to the real IP would do
> >this...but it doesn't. I know I can get MS to use the Trend virus
> >scanner, but I still want to have the file attachment checking done by
> >trends eManager as it has a great web based GUI that our helpdesk uses. So
> >I need it in there. Plus I'd rather have sendmail do the RBL's and
> >reject email there, so it doesn't even have to get passed to MS and take
> >longer.
> >
> >any ideas? I think essentially what I need to do is have sendmail listen
> >on the real IP address, do its Trend stuff as well as RBL's via sendmail,
> >and then pass it to MS, but via smtp. So really MS no longer hooks into
> >sendmail...it just sits beside it. Or am I missing the boat here? (quite
> >possible :)
>
> >>Get the Trend stuff to output on 127.0.0.1 port 26, and have MailScanner's
> >>incoming sendmail instance listen on 127.0.0.1 port 26. It won't be able to
> >>do its RBL check (as it was received from the remote host by Trend and not
> >>MailScanner) but everything else should work. Don't try to bind different
> >>things to the same port on different instances. It may be possible in
> >>theory, but I wouldn't guarantee you can actually make it work.
>
> >>For the above 26 is a random number closely related to 25. Feel free to use
> >>any unused port number you have lying around :-) ("netstat -an" is your
> >>friend)
> >>--
> >>Julian Field
>
>Thanks Julian. I'm guessing I can just change the port that trend will
>listen on via sendmail.cf since Trend calls that anyways I believe (ie,
>something like DAEMON_OPTIONS(`Port=26, Name=MTA')dnl
>
>What about MailScanner? Do I need to do it via Sendmail.pm or something?
>I looked through all the files but couldn't really find anything obvious.
You can do it in the MailScanner init.d script. When it starts up sendmail
with "-bd" you can add a new option to set -ODaemonOptions=..... just like
the other options have.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list