On Mon, 10 Oct 2011 22:55:51 Rodney Baker wrote:
On Mon, 10 Oct 2011 19:37:02 Per Jessen wrote:
Rodney Baker wrote:
Hi all. I run a local mail server with a fairly standard setup:
Fetchmail -> sendmail ->procmail -> spamd -> Maildir -> dovecot IMAP.
Everything worked fine until around 1345 local time Sunday. Ever since then, fetchmail has been dumping all mail into /var/spool/mail/<username> and there it stays. The rest of the chain isn't firing. procmail is configured to write to a log file in my home directory (pm.log) and that is not being written.
Nothing has been written to /var/log/mail since August 28th (when I upgraded to oS 11.4) so that is no help.
Is your syslog daemon running?
Er, no. Damn!
/etc/init.d/syslog restart reports: Shutting down syslog services done Starting syslog servicessyslog-ng: Error in setgid(); group='wheel', gid='10', error='Operation not permitted' startproc: exit status of parent of /sbin/syslog-ng: 1
failed
Hmmm...now I've got to figure out why *that* is happening. Get syslog running and I might be closer to getting some answers from /var/log/mail. Good catch.
OK - got syslog running again. Old (default) configurations left over from 11.2 were obviously not compatible with 11.4. With that fixed, now to check for /var/log/mail... Oct 10 23:16:32 mako.vk5ztv.ampr.org sendmail[15633]: p9ACkWrn015632: forward /home/user/.forward.mako: Group writable directory Oct 10 23:16:32 mako.vk5ztv.ampr.org sendmail[15633]: p9ACkWrn015632: forward /home/user/.forward: Group writable directory Oct 10 23:16:32 mako.vk5ztv.ampr.org procmail[15634]: Suspicious rcfile "/home/user/.procmailrc" ???? There is no .forward or .forward.mako in my home directory, so I don't know why sendmail is complaining that my home directory is group-writable (but I've fixed that anyway). The permissions on ~/.procmailrc were a bit wide too, so I've changed them to 0600 now - lets see what happens on the next mail check... So far so good - mail appears to be being delivered to ~/Maildir again (as it was before) rather than /var/spool/mail/user. It beats me why it had been working fine and suddenly decided it didn't like the permissions on my home directory and .procmailrc - but at least it appears to be fixed now. Thanks Per for pointing me in the right direction. :-) Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org