Tag: Email
Postfix Mail Queue Commands
by Andrew on Mar.10, 2010, under Email, Linux, Postfix
To resend the mails in the mail queue, type either of the following two commands:
# postfix flush# postfix -fTo see the mail queue, type:
# mailqTo remove all mail from the mail queue, type:
# postsuper -d ALLTo remove all mails in the deferred mail queue, type:
# postsuper -d ALL deferredRedirect root mail to an external e-mail address
by Andrew on Nov.27, 2009, under Linux
Add this line to the bottom of /etc/aliases:
root: your_email@domain.comRun this command:
newaliases
Restart your mail server and run the following command to test:
echo Test | mail -s "Test Message" root