In un container LXC ho consigurato postfix via:
dpkg-reconfigure -plow posfix
come 'Sistema satellite' verso il mio SMTP server interno. Configurazione
'classica' che non mi ha mai dato problemi (ma รจ la mia prima buster).
Se provo un test a manina:
echo prova | mail -s test root
l'email parte correttamente:
Feb 17 16:35:29 vbaculalpb postfix/pickup[4047]: 318E18A4A: uid=0
from=<root>
Feb 17 16:35:29 vbaculalpb postfix/cleanup[4104]: 318E18A4A:
message-id=<[email protected]>
Feb 17 16:35:29 vbaculalpb postfix/qmgr[4048]: 318E18A4A:
from=<[email protected]>, size=408, nrcpt=1 (queue active)
Feb 17 16:35:29 vbaculalpb postfix/smtp[4106]: 318E18A4A:
to=<[email protected]>, orig_to=<root>,
relay=mail.lilliput.linux.it[192.168.1.1]:25, delay=0.21,
delays=0.02/0.01/0.01/0.16, dsn=2.0.0, status=sent (250 OK id=1j3iQj-0003Yc-7t)
Feb 17 16:35:29 vbaculalpb postfix/qmgr[4048]: 318E18A4A: removed
ed arriva anche; ma l'applicazione che deve mandare email (en passant:
Bacula) si infrange contro:
Feb 17 16:32:18 vbaculalpb postfix/master[383]: warning: process
/usr/lib/postfix/sbin/smtpd pid 3687 exit status 1
Feb 17 16:32:18 vbaculalpb postfix/master[383]: warning:
/usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Feb 17 16:33:18 vbaculalpb postfix/smtpd[3688]: fatal: in parameter
smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one
working instance of: reject_unauth_destination, defer_unauth_destination,
reject, defer, defer_if_permit or check_relay_domains
Dove sbaglio?!
Grazie.
--
...e andate chissa` dove per non pagar le tasse
col ghigno e l'ignoranza dei primi della classe. (F. Guccini)