Re: global maildrop log file?

Sam Varshavchik <[email protected]> Mon, 16 Feb 2015 21:17:17 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Bob Bernstein writes:

> I want three users to share a common maildrop logfile.
>
> /etc/maildroprc contains one line:
> LOGFILE="/etc/mailfilterlog"
>
> ls -l /etc/mailfilterlog gives:
> -rw-rw-r-- 1 root users 0 Feb 16 18:43 mailfilterlog
>
> The $HOME/.mailfilter files begin like this:
> DEFAULT="$HOME/mail/inbox"
> #logfile "$HOME/.mailfilterlog"
> logfile "/etc/mailfilterlog"
>
> Several messages to the users affected arrive, but
> /etc/mailfilterlog remains zero length.

Are these users members of the "users" group, which is required for write  
access to this file?

> Extra credit question: <g>
> Where should I look for error messages related to this issue?
>
> Thanks for any insight shared!

Presumably, you have configured your mail server to use maildrop to deliver  
mail. maildrop will generally report messages to standard error. Therefore,  
any error messages will be logged wherever your mail server logs standard  
error from mail delivery agents.

However, if maildrop cannot open the log file, maildrop will immediately  
terminate after reporting the error, and not deliver the message.

Since you say that your mail was delivered, this suggests that your mail  
server is not using maildrop to deliver mail, as you think it is doing.  
Check and verify your mail server's configuration.

------------------------------------------------------------------------------
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

iQIcBAABAgAGBQJU4qStAAoJEGs6Yr4nnb8lZVUQANfD+hbVsoaxrKaGfOjkdnkC
cqvjNFDgTIm5AkO6osVabR1fwKJPlhUZz+HWm2TYGlH26zIYySc/qGti8G7fB2A1
cWab1QHr7VZCHYleB4P6CwC7kIKoX5YWQ5jHjVrAu9Xy4eGcpShNSmxKFc2C4M4c
Yk9FGYBfWuPQJ7fG6uG+uTZJV5go1ZAWfnll1usa6A2Ul7qTGTDvk2f1AxPeddsl
CtozN54OEJ5GdI2pykVHunQiO+69sYnMbkq92wr3NCXvvrvpIC3TFio0V61/zyxL
c+bgdCKc+e7od3uVc1xcCrqmjhdUKxiRsaS6biWVNtICb1r1gbazucwsR2A6yOjZ
yqK7X/U1uHSUbi0nUDSoPn1maD9XYmTQabILx7WWBnJmP20ljM36WmjCtvQUEAY4
X4zYX7EHx57+9rnHmkJqWatRzPgVgoeLJnK1/qHFZuB5V+q6SB/UFdk507jamxPU
xwYmZk0+JWH32vLZiORp0WgLSIzA4mzNJSZxoJUZvg+M5aKxMDjFE0V7memHMAQM
nGqd8FK5++ec2twmfI3WJjV5EV/e4Dl330mt2+V/KaVb6RcLIBUrWJ4RP2Vf1qqt
MIN+XWY+2o1CBxGCvnPYM2yqjnzMXxKqkM6Hb3HhdjEWBeqRNQbbQNUF4KmqTcfA
jMWUEFeA0zqOKhwYqAXa
=Ht7t
-----END PGP SIGNATURE-----