489 reputation
414
bio website porkmail.org/era/unix/…
location
age
visits member for 3 years, 3 months
seen 12 hours ago

There is probably an anecdote from the Bell Labs from the early 1970s which either solves your problem or improves your understanding of it.

http://www.unix.org/license-plate.html


Mar
3
comment procmail is ignoring user settings
You can set DEFAULT to a Maildir mailbox name. The format of the file name determines the delivery format. A plain file is mbox, a directory with a trailing slash is Maildir. This will not update the Dovecot indices, though. (There is also dir/. for the legacy MH format.) See also wiki.debian.org/MaildirConfiguration
Mar
3
comment check with procmail if a file exists and set a option
Hmph, looks like you basically already solved this in serverfault.com/a/579348/98333
Mar
3
comment procmail is ignoring user settings
If Procmail falls off the end of /etc/procmailrc it will process the user's .procmailrc if any, and otherwise deliver to DEFAULT. Unfortunately, DEFAULT can only be a mailbox name, not a pipeline to Dovecot's deliver program. Maybe either Procmail or Dovecot should improve integration; I would place my bets on Dovecot, as Procmail has not been in active development for a long time.
Mar
3
comment procmail is ignoring user settings
I think the VERBOSE=off is built into Procmail; presumably, it disables VERBOSE in order to prevent users from flooding system logs (or, conversely, from private information to end up in world-readable logs).
Mar
3
answered check with procmail if a file exists and set a option
Dec
11
comment What is the difference between content-language and accept-language headers in Outlook? How/when are these added?
To the best of my knowledge, these are not properly standardized for email, and only used (or more like abused) by Microsoft. To add insult to injury, it appears that Exchange sets Accept-Language: based on the server's settings, and does not offer a per-user override.
Dec
3
comment Fixing intermittent file locking issue in Procmail
And you know about the limited support for large files? How large is the file you are writing to, and how large are the other large files which do not exhibit this problem?
Dec
2
comment Fixing intermittent file locking issue in Procmail
Is the file you are locking mounted locally? Procmail is basically NFS-compatible but there are some network outages you simply cannot completely guard against. If you are on NFS, which version?
Sep
10
comment Decrypt incoming pgp mail with procmail
let us continue this discussion in chat
Sep
10
comment Decrypt incoming pgp mail with procmail
See above. But also fix the decrypt.pl script to pass through message headers and MIME headers.
Sep
10
comment Decrypt incoming pgp mail with procmail
However, you should probably use a filtering recipe instead, i.e. :0fw -- a delivering recipe which fails to actually deliver the message anywhere will cause that message to be lost.
Sep
10
comment Decrypt incoming pgp mail with procmail
If your recipe lacks a pipe character, Procmail will use the file as an mbox folder, and append to the end of it. Make sure you use the correct syntax.
Sep
10
comment Decrypt incoming pgp mail with procmail
Iterate over the array and print each item, or simply print(join("",@{$arrayref})).
Sep
9
answered Decrypt incoming pgp mail with procmail
Sep
9
comment Procmail (permission related) - delivery fails: “process exited returning 77”
Sounds like you are attempting to treat //var/mail/root (sic) as an mbox file when in fact it is a directory?
Jul
25
comment forward all mail on a specified domain to script
+1 Procmail is enabled by default in most MTAs these days, you just have to make sure Procmail is installed and create a $HOME/.procmailrc. At least Exim and Postfix usually have this configured already. Procmail offers some clear benefits over directly forwarding to a script of your own, especially when it comes to robust error handling. If your script fails for whatever reason, the email is not entirely lost (and it's easy to put in security mechanisms like a safety copy of each incoming message to a directory in /tmp until you have a good, working, properly tested configuration).
Jul
22
answered Procmail - Replace From with text from within email
May
14
comment Procmail to delete mail from senders
The trailing .* is superfluous, albeit mostly harmless. Do you really intend to allow exactly one arbitrary character between From: and root@?
May
14
awarded  Caucus
Apr
25
comment Configuring Postfix, Spamassassin and Procmail to put spam in a dedicated folder
Wild guess, wrong permissions for the rc file?