Weder Monit noch Muin dürfen Emails über Postfix versenden

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
User avatar
timbob
Posts: 3
Joined: 2009-03-23 19:57
 

Weder Monit noch Muin dürfen Emails über Postfix versenden

Post by timbob »

Hallo Boardies,

mein erstes Posting hier und gleich eine Spitzfindigkeit für Postfix oder Confixx-Kenner!

Ich habe eine Standard Confixx-Konfiguration von Postfix mit SASL-auth, d.h. Postfix bzw. Sendmail verweigert allen außer Root den lokalen Emailversand ohne Authentifizierung. Leider auch Munin und Monit, die mir Systemnachrichten schicken sollen. :-(

Hat jemand eine Idee?

mail.log sagt:
Mar 23 19:32:38 t1 postfix/smtpd[1868]: connect from localhost.localdomain[127.0.0.1]
Mar 23 19:32:38 t1 postfix/smtpd[1868]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 5.7.1 <t.bob@gmail.com>: Relay access denied; from=<monit@t1.greatnet.de> to=<t.bob@gmail.com> proto=SMTP helo=<t1>
Mar 23 19:32:38 t1 postfix/smtpd[1868]: lost connection after RCPT from localhost.localdomain[127.0.0.1]
Mar 23 19:32:38 t1 postfix/smtpd[1868]: disconnect from localhost.localdomain[127.0.0.1]

Grüße Tim
Last edited by timbob on 2009-03-23 21:57, edited 2 times in total.
User avatar
mattis
Posts: 41
Joined: 2008-12-30 17:44
Location: Bayern
 

Re: Weder Monit noch Muin dürfen Emails über Postfix versenden

Post by mattis »

Ein postconf -n wäre sehr hilfreich ;-)
User avatar
timbob
Posts: 3
Joined: 2009-03-23 19:57
 

Re: Weder Monit noch Muin dürfen Emails über Postfix versenden

Post by timbob »

Bitte sehr:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mydestination = t1.greatnet.de, localhost.greatnet.de, , localhost
myhostname = t1.greatnet.de
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
Jetzt bin ich gespannt :-=)
User avatar
timbob
Posts: 3
Joined: 2009-03-23 19:57
 

Re: Weder Monit noch Muin dürfen Emails über Postfix versenden

Post by timbob »

smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_destination
hat geholfen!
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Weder Monit noch Muin dürfen Emails über Postfix versenden

Post by Roger Wilco »