Postfix instalacja i konfiguracja ciągle coś nie działa
: 08 marca 2010, 16:25
Witam.
To jest moja pierwsza instalacja Debiana.
Męczę się z uruchomieniem postfixa, wszystko było robione według opisu Postfix - instalacja i konfiguracja
Próbowałem już różnych opisów ale zawsze coś nie działa. Tz. wysyła ale nic nie odbiera.
Proszę, podajcie coś sprawdzonego żeby uruchomić postfixa, dovecota, spamassassina, antywirusa.
master.cf
To jest moja pierwsza instalacja Debiana.
Męczę się z uruchomieniem postfixa, wszystko było robione według opisu Postfix - instalacja i konfiguracja
Próbowałem już różnych opisów ale zawsze coś nie działa. Tz. wysyła ale nic nie odbiera.
Proszę, podajcie coś sprawdzonego żeby uruchomić postfixa, dovecota, spamassassina, antywirusa.
master.cf
Kod: Zaznacz cały
command_directory = /usr/sbin
mydomain = isp-net.pl
myhostname = isp-net
myorigin = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $mydomain, $myhostname, localhost, localhost.localdomain,
inet_protocols = ipv4
home_mailbox = Maildir/
mail_spool_directory = /home/
smtpd_banner = ESMTP on $myhostname !
mailbox_size_limit = 0
recipient_delimiter = +
biff = no
append_dot_mydomain = no
#AUTH SMTP
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient
smtpd_client_restrictions = permit_sasl_authenticated, #reject_unknown_client, reject_rbl_client dul.dnsbl.sorbs.net, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client cbl.abuseat.org
smtpd_sender_restrictions = permit_sasl_authenticated, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_unknown_address
#TLS
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mail.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.pem
smtpd_tls_CAfile = /etc/postfix/ssl/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
tls_random_source = dev:/dev/urandom
mynetworks = 127.0.0.0/8 95.xx.xx.xx/29 [::ffff:95.xx.xx.xx]/104 [::1]/128