Postfix
Jump to navigation
Jump to search
Show content of email queue
# mailq
Try to deliver email queue
# postqueue -f
Delete an email from email queue
# postsuper -d mailid
Configuration
File: /etc/postfix/main.cf
mydomain = domain.local myorigin = $mydomain inet_interfaces = localhost relayhost = [relay.domain.local]
File: /etc/aliases
root: yourmail@domain.local
# newaliases
Test
# echo -e "Subject: Test\nContent" | sendmail -v yourmail@domain.local
# echo -e "Subject: Test\nContent" | sendmail -v root