==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=5067
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Summary: fetchmail is noisy in /var/log/messges due to pam_unix
Product: SME Contribs
Found-In-Version: 7.4
Platform: PC
Fixed-In-Version: Unknown
Status: NEW
Severity: normal
Priority: P3
Component: smeserver-fetchmail
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Using fetchmail causes noise in /var/log/messages
Mar 8 01:15:01 gatekeeper su(pam_unix)[1708]: session opened for user qmailr
by (uid=0)
Mar 8 01:15:23 gatekeeper su(pam_unix)[1708]: session closed for user qmailr
This is due to cron calling /etc/startmail which does a 'su' which is logged.
However the same functionality can be obtained without the noise by moving the
call to fetchmail from /etc/startmail to cron itself
Change lines in /etc/e-smith/templates/etc/crontab/FetchMails
From
$OUT .= "*/5\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n";
To
$OUT .= "*/5\t8-17\t*\t*\t1-5\tqmailr\t/bin/bash -c
\"FETCHMAILHOME=/var/lock/fetchmail /etc/fetchmail\"\n";
--
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam