[Postfixbuch-users] problem beim senden von mail
robert rottermann
robert.rottermann at gmx.ch
Di Dez 10 01:45:55 CET 2013
Hallo, kann mir jemand helfen?
Danke
robert
ich bin ein ziemlicher Banause was Mail anbetrifft.
Ich habe Mail mit postfix und dovecot eingerichtet. Als userdb dient mysql.
Mail empfangen kann ich, aber wenn ich mail senden will, weigert sich
das system und ich bekomme folgende logeinträge:
Dec 10 01:36:27 susanne postfix/smtpd[20776]: warning:
proxy:mysql:/etc/postfix/mysql-sender_login_maps.cf lookup error for
"robert at redcor.ch"
Dec 10 01:36:27 susanne postfix/smtpd[20776]: NOQUEUE: reject: RCPT from
80-219-237-95.dclient.hispeed.ch[80.219.237.95]: 451 4.3.0
<robert at redcor.ch>: Temporary lookup failure; from=<robert at redcor.ch>
to=<info at k-ya.at> proto=ESMTP helo=<[10.168.1.41]>
Dec 10 01:36:32 susanne dovecot: imap-login: Login:
user=<robert at redcor.ch>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=23437, secured
Dec 10 01:36:32 susanne dovecot: imap: Debug: Added userdb setting:
mail=maildir:/var/syscp/mails/redcor/robert at redcor.ch/
Dec 10 01:36:32 susanne dovecot: imap(robert at redcor.ch): Debug:
Effective uid=2000, gid=2000, home=/var/syscp/mails/redcor/robert at redcor.ch/
Dec 10 01:36:32 susanne dovecot: imap(robert at redcor.ch): Debug: Quota
root: name= backend=maildir args=
Dec 10 01:36:32 susanne dovecot: imap(robert at redcor.ch): Debug: Quota
rule: root= mailbox=* bytes=3145728000 messages=0
Dec 10 01:36:32 susanne dovecot: imap(robert at redcor.ch): Debug:
maildir++: root=/var/syscp/mails/redcor/robert at redcor.ch, index=,
control=, inbox=/var/syscp/mails/redcor/robert at redcor.ch, alt=
Dec 10 01:36:32 susanne dovecot: imap(robert at redcor.ch): Disconnected:
Logged out bytes=95/978
Hier der output von postconf -n
-------------------------------------------
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
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
inet_protocols = ipv4
mydestination = $myhostname
myhostname = mail.redcor.ch
mynetworks = 127.0.0.0/8, 178.63.103.72
myorigin = $myhostname
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
smtp_sasl_auth_enable = no
smtpd_banner = $myhostname ESMTP Mailserver
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, permit
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_unauth_pipelining, reject_non_fqdn_recipient,
reject_unknown_sender_domain, reject_unknown_recipient_domain,
reject_unauth_destination, check_sender_access
hash:/etc/postfix/sender_access, reject_rbl_client dnsbl.inps.de,
reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net,
permit_sasl_authenticated, permit_mynetworks,
reject_unverified_recipient, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps =
proxy:mysql:/etc/postfix/mysql-sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks
reject_authenticated_sender_login_mismatch reject_unknown_sender_domain
permit_mynetworks reject_non_fqdn_sender permit
smtpd_tls_cert_file = /etc/postfix/sslcert/mailserver.crt
smtpd_tls_key_file = /etc/postfix/sslcert/mailserver.key
strict_rfc821_envelopes = yes
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/syscp/mails/
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_mailbox_limit = 112400000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 104
virtual_transport = dovecot
virtual_uid_maps = static:2000
doveconf -n
----------------
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-33-generic x86_64 Ubuntu 12.04.3 LTS
disable_plaintext_auth = no
mail_access_groups = vmail
mail_debug = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
quota = maildir
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
group = vmail
user = vmail
}
}
ssl_cert = </etc/postfix/sslcert/mailserver.crt
ssl_cipher_list =
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
ssl_key = </etc/postfix/sslcert/mailserver.key
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_max_userip_connections = 10
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_max_userip_connections = 10
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = UID%u-%v
}
protocol lda {
deliver_log_format = msgid=%m: %$
mail_plugins = sieve
postmaster_address = rejected at redcor.ch
quota_full_tempfail = yes
rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
Mehr Informationen über die Mailingliste Postfixbuch-users