Решил проблему следующим образом: Скопировал в надёжное место /etc/postfix/main.cf
потом удалил его
Затем apt-get reinstall postfix
Настроил почту через Альтератор
и добавил ещё вот такую строчку в /etc/postfix/main.cf
mynetworks = localhost, $myhostname, $config_directory/mynetworks
Это чтоб могли из локалки отправлять без авторизации
Всё работает!
/etc/postfix/main.cf
# Global Postfix configuration file. This file lists only a small subset
# of all parameters. For the syntax, and for a complete parameter list,
# see the postconf(5) manual page. For a commented and more complete
# version of this file see /etc/postfix/main.cf.dist
mynetworks = localhost, $myhostname, $config_directory/mynetworks
mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
relayhost = vyborg.net
message_size_limit = 31457280
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, rej
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions =.
smtpd_client_restrictions =.
smtpd_helo_restrictions =.
Всё работает! :)