How to release mail from the command line.
How to release mail from the command line.
I am having problems with my mailscanner GUI, how is there a way of releasing mail from quarantine using the command line?
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How to release mail from the command line.
You can do something like this...
Where <date> is the date of the message and <id> is the message identifier
Just be aware this will release the message to every recipient identified in the message, whether internal or external.
Code: Select all
/usr/bin/sendmail.postfix -t < /var/spool/MailScanner/quaraninte/<date>/spam/<id>
Just be aware this will release the message to every recipient identified in the message, whether internal or external.