447 reputation
213
bio website partmaps.org/era/unix/…
location
age
visits member for 3 years
seen Oct 14 at 19:53

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


May
8
awarded  Yearling
May
8
asked No SOA record — what are the implications?
Mar
31
answered Procmail or/and dovecot?
Mar
15
comment check with procmail if a file exists and set a option
? means examine exit code and ! inverts the truth value. test -f is true when the file exists, but we want truth (successful condition) when it doesn't.
Mar
11
comment DROPPRIVS=yes & procmail: Program failure (75) of “/usr/lib/dovecot/deliver”
I tried to edit this to add the [dovecot] tag but I don't have sufficient privileges and the edit dialog says I need to change the post more. Somebody with adequate privs, please edit?
Mar
11
comment DROPPRIVS=yes & procmail: Program failure (75) of “/usr/lib/dovecot/deliver”
It simply indicates that dovecot returned an error (non-zero) exit status. So the question is really, what is Dovecot trying to tell you? wiki2.dovecot.org/Tools/DovecotLDA says that exit code 75 is a standard "temporary failure" but nothing more. Do you get anything in the Dovecot logs?
Mar
7
awarded  Popular Question
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?
Nov
12
comment Rewriting From header with value of Reply To header in Exchange environment
If the Exchange server offers you IMAP access, you could write up a quick Python or Perl hack to log in and rewrite the already-delivered message. Munging stuff locally is IMHO unlikely to affect any useful spam filter; you typically leave your email alone once it's past the DMZ perimeter. Microsoft would prefer that you do this over MAPI instead, and I believe there are Python bindings for that, too, but given Microsoft's API track record, I would expect there to be stupid obstructions just where you want to be. Of course, this might also affect the IMAP support on Exchange.
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.