gsxatvcu wrote:
> I inserted the statements in step 1 of the milter setup into my
> sendmail.mc file, with no dnls which confounded me but appeared to
> work fine,
Those are just comments. "dnl" means Delete through NewLine,
i.e. ignore everything up to (and including) the next newline
character.
> Doing /etc/rc.d/init.d/milter-greylist start
>
> followed by sendmail restart got me no joy, since sendmail complained
> about the missing socket as it restarted.
That means that milter-greylist did not start. You either
had an error in the configuration file, or some permission
problem, or a directory did not exist, or similar.
> Making the directory at /var/milter-greylist
OK, so the reason was that the directory didn't exist.
> and touch-ing milter-greylist.sock
Big mistake. You cannot touch a socket, because it will
create a plain file, not a socket (wouldn't make any sense
anyway). You must delete that file, then start milter-
greylist. The socket will be created automatically when
milter-greylist performs a listen() call (which is the
_only_ way to properly create a socket file).
> got rid of the error message
Because sendmail doesn't seem to check the type of the
file (plain vs. socket). That might be a bug in sendmail.
> but greylisting didn't work.
Not surprising. There's no socket, so sendmail cannot
communicate with milter-greylist. (Probably the milter-
greylist process wasn't running at all because of the
previous error condition.)
> (I haven't found where milter-greylist logs this stuff yet?)
It logs where you configured it to log. :-)
For me, it's in the standard mail log (/var/log/maillog).
> Looking further and comparing the contents of /etc/mail/greylist.conf
> with the statements in step 1 I saw the problem, where the socket file
> is set to
>
> /var/run/milter-greylist/milter-greylist.sock
That's non-default. Maybe the person who created the
package that you installed modified it. In that case
it should be documented somewhere in your package.
> but in the README and the above wiki page the location was
>
> /var/milter-greylist/milter-greylist.sock
That's the default location.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Gesch\ufffdftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M\ufffdn-
chen, HRB 125758, Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
> Can the denizens of this group enlighten me about what the
> advantages of Python are, versus Perl ?
"python" is more likely to pass unharmed through your spelling
checker than "perl".
-- An unknown poster and Fredrik Lundh