Reuben Thomas | 17 Jun 2012 23:19
Gravatar

Suggestion for improving maildropex(7)

Those of suspicious mind (like me) would be reassured to know that,
unlike formail -D, reformail -D does its own locking on the cache
file, so doesn't need special treatment, and hence the maildropex(7)
example for how to use it is indeed valid, and not the sort of
simplified but imperfect example one often finds in such man pages.

At least, that's my reading of reformail.C.

Hence, adding a short note to the man page, something like:

"Unlike formail, reformail -D does locking on the cache file, so no
locking is needed in the mailfilter file."

in maildropex(5), and why not a similar note in reformail(1), under
the description of -D:

"The cache file is locked, so no extra locking is needed when
reformail -D is used by an MDA."

?

--

-- 
http://rrt.sc3d.org

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
(Continue reading)

Sam Varshavchik | 19 Jun 2012 03:34
Gravatar

Re: Suggestion for improving maildropex(7)

Reuben Thomas writes:

> Those of suspicious mind (like me) would be reassured to know that,
> unlike formail -D, reformail -D does its own locking on the cache
> file, so doesn't need special treatment, and hence the maildropex(7)
> example for how to use it is indeed valid, and not the sort of
> simplified but imperfect example one often finds in such man pages.
>
> At least, that's my reading of reformail.C.

Correct. It uses a lock. I'll make a mention of that in the man pages.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

Gmane