On 09/11/2014 10:35 PM, Aneesh Hariyappan wrote:
Hi folks,
Is there any option in qmail to delete an email which is already
delivered to a group of email accounts [say 1500].
Thanks in Advance
--
Regards ,
Aneesh K H
As in undeliver something? I think you'd need a time machine for that. ;)
If there's a particular message you'd like to remove from everyone's
mailbox on a QMT host, there's no particular tool or function for doing
that. You could however grep through all the mailboxes for that message
ID (it would be the same in all message headers), then remove that file
from wherever it resides. Something like this should get you started:
# find /home/vpopmail/domains -type d -name "Maildir" \
> exec grep -Rl "^Message-ID: <your particular message id>" {} \;
That command should give you a list of files that you're looking to
remove (might need a little tweaking - I didn't test it). You should be
able to take it from there.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]