Hallo,
Heute Morgen erhielt ich die Meldung eines Bekannten das er keine E-Mails mehr Senden und Empfangen kann. Diese kommen mit der Meldung zurück
Eingesetzt hat er Postfix mit Docecot und MySQL nach diesem Howto http://wyden.com/linux/mailserver/mailserver-mit-postfix-dovecot-postfixadmin-und-mysql-debian-etch
In den Logs findet sich folgender Eintrag
main.cf
master.cf
So wie er mir das gesagt hat hat er versucht von Thunderbird von seiner angelegten E-Mail Adresse, info@domain.de an xxx@gmx.de versucht eine Mail zu schicken. s1.domain.de ist sein Hostname vom Server
Heute Morgen erhielt ich die Meldung eines Bekannten das er keine E-Mails mehr Senden und Empfangen kann. Diese kommen mit der Meldung zurück
This is the mail system at host s1.domainde.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<xxx@gmx.de>: host localhost[178.63.188.65] said: 554 5.7.1 <xxx@gmx.de>:
Relay access denied (in reply to RCPT TO command)
Eingesetzt hat er Postfix mit Docecot und MySQL nach diesem Howto http://wyden.com/linux/mailserver/mailserver-mit-postfix-dovecot-postfixadmin-und-mysql-debian-etch
In den Logs findet sich folgender Eintrag
Jun 17 09:10:44 vs150 postfix/smtpd[25630]: connect from ip-62-xxx.unitymediagroup.de[62.143.22.35]
Jun 17 09:10:44 vs150 postfix/smtpd[25630]: E16F549C5EE: client=ip-62-xxx.unitymediagroup.de[62.143.22.35], sasl_method=PLAIN, sasl_username=info@domain.de
Jun 17 09:10:44 vs150 postfix/cleanup[25636]: E16F549C5EE: message-id=<4FDD82D6.4000204@domain.de>
Jun 17 09:10:44 vs150 postfix/qmgr[3128]: E16F549C5EE: from=<info@domain.de>, size=731, nrcpt=1 (queue active)
Jun 17 09:10:45 vs150 postfix/smtpd[25630]: disconnect from ip-62-xxx.unitymediagroup.de[62.143.22.35]
Jun 17 09:10:45 vs150 postfix/smtp[25638]: E16F549C5EE: to=<xxx@gmx.de>, relay=localhost[178.63.188.65]:25, delay=0.25, delays=0.08/0.01/0.11/0.05, dsn=5.7.1, status=bounced (host localhost[178.63.188.65] said: 554 5.7.1 <xxx@gmx.de>: Relay access denied (in reply to RCPT TO command))
Jun 17 09:10:45 vs150 postfix/cleanup[25636]: 2932249C5F0: message-id=<20120617071045.2932249C5F0@s1.domain.de>
Jun 17 09:10:45 vs150 postfix/bounce[25639]: E16F549C5EE: sender non-delivery notification: 2932249C5F0
Jun 17 09:10:45 vs150 postfix/qmgr[3128]: 2932249C5F0: from=<>, size=2701, nrcpt=1 (queue active)
Jun 17 09:10:45 vs150 postfix/qmgr[3128]: E16F549C5EE: removed
Jun 17 09:10:45 vs150 dovecot: deliver(info@domain.de): msgid=<20120617071045.2932249C5F0@s1.domain.de>: saved mail to INBOX
Jun 17 09:10:45 vs150 postfix/pipe[25643]: 2932249C5F0: to=<info@domain.de>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 17 09:10:45 vs150 postfix/qmgr[3128]: 2932249C5F0: removed
Jun 17 09:11:19 vs150 dovecot: imap-login: Login: user=<info@domain.de>, method=PLAIN, rip=62.143.22.35, lip=server_ip, TLS
Jun 17 09:14:05 vs150 postfix/anvil[25633]: statistics: max connection rate 1/60s for (smtp:62.143.22.35) at Jun 17 09:10:44
Jun 17 09:14:05 vs150 postfix/anvil[25633]: statistics: max connection count 1 for (smtp:62.143.22.35) at Jun 17 09:10:44
Jun 17 09:14:05 vs150 postfix/anvil[25633]: statistics: max cache size 1 at Jun 17 09:10:44
main.cf
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/sslcert/mailserver.crt
smtpd_tls_key_file = /etc/postfix/sslcert/mailserver.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
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = s1.domain.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = s1.domain.de, localhost.domain.de, , localhost
relayhost = localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
# a bit more spam protection
disable_vrfy_command = yes
# Authentification
smtpd_sasl_type=dovecot
smtpd_sasl_path=private/auth_dovecot
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql_sender_login_maps.cf
smtpd_sender_restrictions = reject_authenticated_sender_login_mismatch
reject_unknown_sender_domain
smtpd_recipient_restrictions = permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
# Virtual mailboxes
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_base = /var/vmail/
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 112400000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 104
virtual_transport = virtual
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
master.cf
Code:
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
So wie er mir das gesagt hat hat er versucht von Thunderbird von seiner angelegten E-Mail Adresse, info@domain.de an xxx@gmx.de versucht eine Mail zu schicken. s1.domain.de ist sein Hostname vom Server