Kod: Markera allt
[mail function]
; For Win32 only.
;SMTP = localhost
;smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/postfix -t -i
Kod: Markera allt
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = lennart-laptop
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = lennart-laptop, localhost.localdomain, , localhost
relayhost =
relay_domains =
mynetworks = 192.168.1.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
Kod: Markera allt
Apr 27 14:18:40 lennart-laptop postfix[12042]: error: to submit mail, use the Postfix sendmail command
Apr 27 14:18:40 lennart-laptop postfix[12042]: fatal: the postfix command is reserved for the superuser