Re: global maildrop log file?
Sam Varshavchik <[email protected]> Tue, 17 Feb 2015 06:59:36 -0500
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Bob Bernstein writes: > On Mon, Feb 16, 2015 at 09:17:17PM -0500, Sam Varshavchik wrote: > > > Are these users members of the "users" group, which is required > > for write access to this file? > > Yes. > > There are error messages in /var/log/messages: > > "temporary failure. Command output: /usr/bin/maildrop: Unable to > create log file." > > I note that this error occurs whether or not the needed logfile is > already there. > > I've changed the sought-after "global" logfile to: > "/var/log/maildroplog" where ls -l for that file is: > -rw-rwxr-- 1 root users 0 Feb 16 23:49 maildroplog. > > I wonder if I should have a user other than root own that logfile in > /var/log? This shouldn't be complicated to figure out. There's nothing unusual or bizarre going on here. A process either can or cannot write to a file based on the file permissions. The file listed above is writable by root, or by the group "users". If maildrop can't write to it, then its process doesn't meet either requirement. The easiest way to see what permissions maildrop runs as is to change logfile to point to some file in tmp, do a test delivery, and see with which permissions maildrop is going to create the new log file in /tmp as. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJU4y0oAAoJEGs6Yr4nnb8linsQAM7TP0tEeHs4bDqENxaQvAxD ynxa/Lp3r9ZuxKqtJn/LL6C+m7xMAF7YGuo5saCm8LSGvJieYC+kwtccfefn8XUq ieW0eGcxPtiO9Un1GfHoMAwbINXUPW5bpDwUSF3zIbQnaD8xPtaM1QOxlSYOa5Ca AKS3zDALhlNTfTmAAs/EovXH4cLPnlhx2ZoPk/WCi37agBR8K4WDDmtnpkW+lubK xBUItsZdQwRNKqGSVXt4PPy+wkL0UyJ4fH4V/lCLlpTNZDUdSeHeZAeqT7OQmiWi FUGkzY4rW7nZWWmlR9tyLcsTHjWBTSLQjoNVdc3enYMTkbz+wYI4jr23VAMLuq4J f1PXFKwBh6xI0BukZoada+FfZjK6oIxly0+d0B2xGe4gxc71Jfy1HGM+Yd1Ley7w ale9lS4IUzUOpk0H29E+/88P6biW/5HEXkP2gKwCPgcpvbUfF3WAEbfucYdfYSeQ We8cbS6LyG4u4rXr/E/HE5X3rUiWeqtB9clQ8PB8RyfvOoH2ZnbU/fBR86cpLwOg /TeqGq7PqrJS0P2Wn3ySe8BEsGj6sSwS6urXJDuQtzIQiYDPiffDd+wl5lOvW2qb Ew+bfR/UNrOf+6yZdi4cm5xbA5IRklts2+23E57RHdISF0Q9YdS806uljQbbKdGN szq0nuJ8MsUS5PRTM7zT =KlLn -----END PGP SIGNATURE-----