Rajesh M wrote:
hi eric
when the email arrives in the spam box its headers contained the
"delivered to" email id in the header so my script will know where to
which email id the message is to be delivered. so my concern about bcc is
resolved.
>
my second question is as such
which would be better
Define better. ;)
Simply move the email from the "centralized spambox" to the inbox of that
email id
Or use the qmail-queue program to reroute the message back to the queue
for delivery.
As usual, there's more than one way.
i don't want the email time stamps changed during this process.
Which time stamps are you referring to?
On further thinking about this, I wouldn't do either. If you have
dovecot installed, I would use dovecot's deliver program. Otherwise, I'd
use the maildrop program. You should realize though that at some point
dovecot's lda (deliver) is likely going to replace maildrop. With either
program, I don't expect you'd need to do any parsing of the message in
your script - just pass it on to the lda. I could be wrong about this
though.
You could move the file to the appropriate inbox yourself and I believe
that would work, but using the lda would be 'better'. The lda really
should know what's going into the mailbox, for indexing and quota purposes.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com