On May 13, 2008, at 1:46 PM, Paul J Stevens wrote:
Aaron Stone wrote:
On May 13, 2008, at 6:01 AM, Paul J Stevens wrote:
Bert Slagter wrote:
As far as I understand from the man pages dbmail-smtp allows me
to let
dbmail deliver a message to a user. So I'm afraid this doesn't
really
solve my problem. For example, I need to save a message in a
specific
folder (like Sent or Drafts) and need to set specific flags (like
seen).
And, I don't want sieve scripts to execute when I save this
message. As
I can see this is not possible with dbmail-smtp. Or am I missing
something?
Use the -M option to skip scripts, quotas and permissions when
inserting
a message into a particular mailbox.
dbmail-smtp does allow you to store messages into specific
mailboxes.
But it
does not support setting flags.
Flags, eh. Think that would be a feature worth adding, if I have
time to
code it up?
the imap parser is already hooked up into dbmail-export. Shouldn't be
too hard to do the same for dbmail-smtp/dbmail-deliver and support:
dbmail-deliver --flags '(\Seen \Deleted $Junk)' -M mailbox -u user
$Junk? Did you build support for arbitrary flag names in 2.3?
Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail