Hi.
On Fri, May 2, 2008 at 5:07 PM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:
> Hi there,
> > > > That startup script is using a local socket instead of having
> > > > dkim-filter listen on that port.
> > > >
> > > But why would it do that if the config file specifies
> > > Socket inet:[EMAIL PROTECTED]
> > >
> > > and I have
> > > milterdkim_cfgfile="/usr/local/etc/mail/dkim-filter.conf"
> > > in /etc/rc.conf
> > >
> > If there's a "-p" on the command line, that overrides your configuration
> > file setting.
> I am confused. How should then dkim-filter be started?
> 1/ by calling /usr/local/libexec/dkim-filter -x
> /usr/local/etc/mail/dkim-filter.conf?
> I would have to add a cron job to make sure it is started when system
> reboots?
No, you don't have to.
> 2/ by setting /etc/rc.conf entry? I already have:
> milterdkim_enable="YES"
> milterdkim_uid='mailnull'
>
> milterdkim_cfgfile="/usr/local/etc/mail/dkim-filter.conf"
> As you can see there is no -p switch but when the filter starts, the -p
> switch is used as can be seen from the maillog. Also, with this way of
> starting I cannot telnet to port 4445.
Just add a line sth like below:
milterdkim_socket="inet:[EMAIL PROTECTED]"
> I guess I would like to know what settings to use in /etc/rc.conf to make
> sure the filter reads all config from /usr/local/etc/mail/dkim-filter.conf
> file. The three settings displayed above seem not to suffice.
When I wrote the startup stcript for dkim-milter port in FreeBSD,
there was not config file for the milter.
So, I put some values for mandatory options (e.g. socket, domain) as default.
I'll change the default value for milterdkim_cfgfile to blank by next update. :)
Regards,
--
Hirohisa Yamaguchi
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss