Grant Parnell - EverythingLinux wrote:

The principle is this....
[inbound email to test@<domain>.com.au]
   |
   | 192.168.1.4:25
[sendmail.cf.listen.milter-sender]
   |
   | 127.0.0.1:25
[sendmail.cf.listen.kavscanner]
   |
   | lmtp
[sendmail.cf.cyrus]
   |
   | cyrusv2
[/x/imap/t/user/test/*]

Now... telnet to 127.0.0.1 port 25 and it works, does the virus scan and delivers to cyrus mailbox so that half's just fine.
I've been frustrated for the last several hours trying to figure out ways of getting the sendmail daemon listening on ip 192.168.1.4 to forward succussful messages onto 'localhost'.


Alternatives may be using another MTA that has the features of milter-sender, such as postfix. I haven't looked into that, I'd imagine it shouldn't be a problem to interface with cyrus but what I don't know is if it's going to be a similar problem. Alternately... I could use BOTH!




Hi Grant,

I've never tried doing this exact thing, but I'd like to help. What exactly are you seeing happen when it tries to forward to localhost? What config option are you using to tell it to do so? How are you restricting each instance of sendmail to a specific interface?

Suggestion: move the "localhost" sendmail instance up to a different port. For instance, on my system, spamassassin sits up on port 10024, and I feed it there, and it returns msgs back to a sendmail (well, postfix actually) instance listening on port 10025.

--Keith

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to