How to release mail from the command line.

Questions and answers about how to do stuff
Post Reply
makotat
Posts: 1
Joined: 06 Jun 2016 05:48

How to release mail from the command line.

Post by makotat »

I am having problems with my mailscanner GUI, how is there a way of releasing mail from quarantine using the command line?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How to release mail from the command line.

Post by shawniverson »

You can do something like this...

Code: Select all

/usr/bin/sendmail.postfix -t < /var/spool/MailScanner/quaraninte/<date>/spam/<id>
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.
Post Reply