From: SM <sm...@re...> - 2005-08-19 05:32:22
|
At 03:14 16-08-2005, pu...@we... wrote: >Anyway I have tried to implement your suggestion to no avail so I changed the >configuration around a bit > >Firstly I added a second IP address to my NIC using: > >ip addr add 192.168.0.2/24 broadcast 192.168.0.255 dev eth0 > >then i created three separate sendmail config files. inbound, local >and outbound > >in inbound i have: > >dnl # dk-milter >INPUT_MAIL_FILTER(`dk-filter', `S=inet:9981@localhost') >define(`confDONT_PROBE_INTERFACES',`True')dnl >DAEMON_OPTIONS(`Port=smtp, Addr=127.0.0.1, Name=MTA1') >DAEMON_OPTIONS(`Port=smtp, Addr=192.168.0.1, Name=MTA') > >for local i have > >define(`SMART_HOST',`dk.websavages.com')dnl >define(`confDONT_PROBE_INTERFACES',`True')dnl >DAEMON_OPTIONS(`Port=smtp, Addr=127.0.0.1, Name=MTA1') >DAEMON_OPTIONS(`Port=smtp, Addr=192.168.0.1, Name=MTA') local should not have the SMART_HOST line. >n.b. dk.websavages.com is an A record to 192.168.0.2 in my internal dns >and for outbound i have > >dnl # dk-milter >INPUT_MAIL_FILTER(`dk-filter', `S=inet:9982@localhost') >define(`confDONT_PROBE_INTERFACES',`True')dnl >DAEMON_OPTIONS(`Port=smtp, Addr=192.168.0.2, Name=MTA2') The mc used to generate outbound.cf should have the SMART_HOST defined. It will then send mail through MTA2. This is where the signing is done. >now incoming mail gets verified and headers appended to mail to indicate as >such. outgoing mail doesn't get passed on the the smart host but is delivered >directly as indicated by the log entry: I read your configuration description but I did not find the configuration used for outbound.cf. That cf file should contain the smart host setting. The mail will then go through dk.websavages.com where it will be signed by the dk-milter running on port 9982. Regards, -sm |