Difference between revisions of "Postfix"
Jump to navigation
Jump to search
(36 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[wikipedia:Postfix (software)]] | |
− | |||
+ | * Installation: <code>[[apt-get install postfix]]</code> | ||
== Binaries == | == Binaries == | ||
− | * <code>[[mailq]]</code> | + | * <code>[[mailq]]</code> or <code>[[postqueue -p]]</code> |
+ | * <code>[[mailq.sendmail]]</code> | ||
* <code>[[postmap]]</code> | * <code>[[postmap]]</code> | ||
+ | * <code>[[postqueue]]</code> | ||
+ | ** <code>[[postqueue]] flush</code> or <code>[[postqueue -f]]</code> | ||
+ | ** <code>postqueue -p</code> | ||
+ | * <code>[[postsuper]]</code> | ||
+ | * [[qmgr]] Postfix queue manager. ([[oqmgr]] old Postfix queue manager) | ||
+ | * <code>[[postfix status]]</code> | ||
− | + | == [[Postfix releases]] == | |
− | |||
+ | == Configuration files == | ||
+ | /etc/postfix/[[main.cf]] | ||
+ | /etc/postfix/aliases | ||
+ | /etc/postfix/master.cf | ||
− | + | <code>/etc/postfix/main.cf</code> | |
− | + | myhostname = | |
+ | relayhost = your_mail_server.com | ||
+ | <code>/etc/postfix/generic</code> (To rebuild: <code>postmap /etc/postfix/generic</code>) | ||
+ | Logs: | ||
+ | * ([[Ubuntu]]): <code>/var/[[Logs (Linux)|log]]/[[mail.log]]</code> | ||
+ | * [[Oracle Linux]]: <code>[[/var/log/maillog]]</code> | ||
+ | == Activities == | ||
+ | * Read https://serverfault.com/questions/tagged/postfix?tab=Votes | ||
+ | * Review <code>[[fail2ban]]</code> | ||
== See also == | == See also == | ||
+ | * {{postfix}} | ||
+ | * {{MTA}} | ||
* {{mail}} | * {{mail}} | ||
* {{SMTP}} | * {{SMTP}} | ||
+ | [[Category:MTA]] | ||
[[Category:Internet]] | [[Category:Internet]] |
Latest revision as of 13:50, 26 September 2023
- Installation:
apt-get install postfix
Binaries[edit]
mailq
orpostqueue -p
mailq.sendmail
postmap
postqueue
postqueue flush
orpostqueue -f
postqueue -p
postsuper
- qmgr Postfix queue manager. (oqmgr old Postfix queue manager)
postfix status
Postfix releases[edit]
Configuration files[edit]
/etc/postfix/main.cf /etc/postfix/aliases /etc/postfix/master.cf
/etc/postfix/main.cf
myhostname = relayhost = your_mail_server.com
/etc/postfix/generic
(To rebuild: postmap /etc/postfix/generic
)
Logs:
- (Ubuntu):
/var/log/mail.log
- Oracle Linux:
/var/log/maillog
Activities[edit]
See also[edit]
postfix
,mailq
,main.cf
,mail.log
,pickup
, /etc/postfix/main.cf, Postfix releases,/var/log/mail.log, /var/log/maillog
, smtpd- MTA: postfix, sendmail
- Mail, email: Postfix, mail, SMTP, LMTP, POP3, IMAP,
mailutils
,amavis
, Gmail, iCloud,ssmtp
,msmtp
- Mail, SMTP, submission, SMTPS, POP, IMAP, StartTLS, Exim, Postfix, IRedMail, Fail2ban, Dovecot, Roundcube, DKIM, SPF, DMARC, MX,
ssmtp
,mailx
Advertising: