9 Sep 2011 00:40
piping with TO
Micah Anderson <micah <at> riseup.net>
2011-09-08 22:40:47 GMT
2011-09-08 22:40:47 GMT
Hello, I'm using maildrop with dovecot, and am wanting to change to dovecot's mdbox format, however maildrop's delivery mechanism only understands maildir format. That shouldn't be a problem if I can ask maildrop to use dovecot's LDA to deliver the mail into the mailstore. Typically, one does: to <some_mail_box> but I believe, if I understand things correctly, I should be able to use an external program with the 'to' statement, according to maildropfilter(7): The to statement delivers the message to a mailbox. expression must evaluate to a valid mailbox. A valid mailbox is either a mailbox file, a maildir, or an external program (which includes forwarding to another address). ... An expression that begins with the "|" character specifies an external program to run to handle the actual delivery. The SHELL variable specifies the shell to execute the given command. The message is provided to the command on standard input. maildrop's exit code will be the process's exit code. So, I've been trying to get this to work;(Continue reading)
RSS Feed