Sendmail/Sendmail.cf/Пример для Postfix — различия между версиями

Материал из Urbanculture
Перейти к: навигация, поиск
(Новая страница: «<pre> myhostname = mail.example.com mydomain = example.com mydestination = localhost, $myhostname, localhost.$mydomain, example.net myorigin = $myhostname inet_inter...»)
(нет различий)

Версия 22:00, 21 марта 2012

myhostname = mail.example.com
mydomain = example.com
mydestination = localhost, $myhostname, localhost.$mydomain, example.net
myorigin = $myhostname
inet_interfaces = all
inet_protocols = all
mynetworks = 127.0.0.0/8, [::1]/128, 192.0.2.1/24, [2001:db8:abcd:ef::]/64
queue_directory = /var/spool/postfix
message_size_limit = 20480000
mail_owner = postfix
default_privs = nobody
smtpd_banner = $myhostname ESMTP
smtpd_helo_required = yes
smtp_always_send_ehlo = yes
smtpd_hard_error_limit = 8
virtual_mailbox_base = /var/spool/mail
local_recipient_maps =
unknown_local_recipient_reject_code = 550
relay_domains = $mydestination
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#mailbox_transport = procmail
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail
html_directory = no
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/libexec/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq