Tag Archives: satellite

Postfix satellite configuration

dpkg-reconfigure postfix

/etc/mailname

faix.homelinux.net

/etc/aliases

postmaster: root
webmaster: root
www-data: root
jan: jan.faix@gmail.com
wassana: fern.cht@gmail.com
root: jan.faix@gmail.com

newaliases

/etc/postfix/relay_passwd

mail.faix.cz mail:xxxxxxxx

chown root:root /etc/postfix/relay_passwd
postmap /etc/postfix/relay_passwd

/etc/postfix/main.cf

myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
myhostname = home-desktop
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = faix.homelinux.net, home-desktop, localhost.localdomain, localhost
relayhost = mail.faix.cz
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options =
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 800000000
message_size_limit = 100000000
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mydomain = faix.homelinux.net
mynetworks = 127.0.0.0/8 192.168.122.0/24
compatibility_level = 2

/etc/init.d/postfix restart

SASL authentication:

apt-get install libsasl2-modules sasl2-bin

Set password for user “mail”:

add user "postfix" to group "sasl"
usermod -a -G sasl postfix

/etc/init.d/postfix restart
/etc/init.d/saslauthd restart