ZMailer and MailScanner--a little problem (+one little suggestion :P).
Artur Meski
apm at CIFRID.NET
Fri Jun 6 16:02:36 IST 2003
Mariano Absatz <mailscanner at LISTS.COM.AR> writes:
> I never run zmailer as non-root... is that possible? I guess that if it is
> so, using the same user for zmailer and MailScanner should be possible (in
> fact, I guess it should be necessary). You should check permissions on
> MailScanner temporary directories, but that should be it.
Look:
Processes:
[...]
daemon 33516 0,0 4,6 24524 24008 ?? SJ 16:17 0:02,25 /usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec/MailSca
daemon 33517 0,0 4,6 24608 24104 ?? SJ 16:17 0:02,57 /usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec/MailSca
daemon 33518 0,0 4,6 24604 24100 ?? SJ 16:18 0:02,96 /usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec/MailSca
[...]
Permissions:
drwxr-xr-x 5 daemon wheel 512 5 Cze 23:46 /var/spool/MailScanner/
drwxrwsrwt 2 root wheel 512 6 Cze 16:46 /var/spool/postoffice-incoming/router/
drwxrwsrwt 28 root wheel 512 6 Cze 16:46 /var/spool/postoffice/router/
MailScanner.conf:
Run As User = daemon
I also had to change MailScanner's source code, because it was
checking the owner of that directories.
Maybe it's a good sollution? Maybe it's an useful information for
MS+ZM users (for throng of them ;P) and it's worth putting into the
documentation?
Artur.
--
// WWW: artur.black.pl // PGP: finger apm at heze.cifrid.net //
More information about the MailScanner
mailing list