Jump to content
Froxlor Forum
  • 0

Postfix --> unknown user


todelete10033

Question

Hallo :)

 

Ich habe derzeit ein kleines Problem mit meinem Mailserver (Postfix) und hoffe ihr könnt mir dabei helfen.

 

 

Sobald ich versuche eine Mail an die von mir eingerichtete E-Mail Adresse zu senden bekomme ich folgende Fehlermeldung zurück:

This is the mail system at host web.mydomain.de.

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

<jeremy@mydomain.de>: unknown user: "jeremy"

/etc/postfix/main.cf

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mydomain = froxlor.mydomain.de
myhostname = web.$mydomain
inet_interfaces = all
mydestination = $myhostname, $mydomain, mydomain.de
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8

mailbox_command = /usr/lib/dovecot/deliver

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix
readme_directory = /usr/share/doc/postfix
inet_protocols = ipv4
append_dot_mydomain = no
biff = no
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        reject_unauth_pipelining,
        reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,
        reject_sender_login_mismatch,
        permit_sasl_authenticated,
        reject_unknown_helo_hostname,
        reject_unknown_recipient_domain,
        reject_unknown_sender_domain
smtpd_client_restrictions = permit_mynetworks,
        permit_sasl_authenticated,
        reject_unknown_client_hostname
message_size_limit = 52428800
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_path = private/auth
virtual_mailbox_base = /
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf
virtual_uid_maps = static:2000
virtual_gid_maps = static:2000
local_transport = local
alias_maps = $alias_database
mailbox_size_limit = 0
virtual_mailbox_limit = 0

/var/log/mail.log

Apr 17 12:07:09 s postfix/smtpd[16964]: connect from mail-wm0-f52.google.com[74.125.82.52]
Apr 17 12:07:09 s postfix/trivial-rewrite[16969]: warning: do not list domain mydomain.de in BOTH mydestination and virtual_mailbox_domains
Apr 17 12:07:09 s postfix/smtpd[16964]: 771AC4D4114F: client=mail-wm0-f52.google.com[74.125.82.52]
Apr 17 12:07:09 s postfix/cleanup[16972]: 771AC4D4114F: message-id=<57136037.6040209@gmail.com>
Apr 17 12:07:09 s postfix/qmgr[15616]: 771AC4D4114F: from=<myemail@gmail.com>, size=2648, nrcpt=1 (queue active)
Apr 17 12:07:09 s postfix/trivial-rewrite[16969]: warning: do not list domain mydomain.de in BOTH mydestination and virtual_mailbox_domains
Apr 17 12:07:09 s postfix/smtpd[16964]: disconnect from mail-wm0-f52.google.com[74.125.82.52]
Apr 17 12:07:09 s postfix/local[16974]: 771AC4D4114F: to=<jeremy@mydomain.de>, relay=local, delay=0.16, delays=0.14/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "jeremy")
Apr 17 12:07:09 s postfix/cleanup[16972]: 970414D4172A: message-id=<20160417100709.970414D4172A@web.mydomain.de>
Apr 17 12:07:09 s postfix/qmgr[15616]: 970414D4172A: from=<>, size=4477, nrcpt=1 (queue active)
Apr 17 12:07:09 s postfix/bounce[16975]: 771AC4D4114F: sender non-delivery notification: 970414D4172A
Apr 17 12:07:09 s postfix/qmgr[15616]: 771AC4D4114F: removed
Apr 17 12:07:10 s postfix/smtp[16977]: 970414D4172A: to=<myemail@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.167.27]:25, delay=0.46, delays=0/0/0.13/0.32, dsn=2.0.0, status=sent (250 2.0.0 OK 1460887630 u9si21166820wmg.117 - gsmtp)
Apr 17 12:07:10 s postfix/qmgr[15616]: 970414D4172A: removed

Ich hoffe, dass ihr mir helfen könnt. Danke schön erstmal :)

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

der user ist nur "jeremy"? Dann überprüfe mal, ob du als Benutzername auch "jeremy@mydomain.tld" eingestellt hast, nur der part vor der domain reicht nicht aus. Benutzername ist die VOLLSTÄNDIGE email adresse

Link to comment
Share on other sites

Den E-Mail Account habe ich schon erfolgreich in Thunderbird eingetragen und funktioniert auch über den SMTP Server. E-Mails kann ich praktisch versenden. Nur empfangen funktioniert nicht. Ich weiß nicht in wie fern das mit Postfix zu tun hat, aber ich bekomme die Mail von Postfix so zurück. Die MySQL Anbindung funktioniert soweit, da ich den Account ja im Thunderbird eintragen konnte.

Link to comment
Share on other sites

Logs genauer lesen: postfix/trivial-rewrite[16969]: warning: do not list domain mydomain.de in BOTH mydestination and virtual_mailbox_domains

 

Sprich: du nutzt eine domain für die postfix config (mydomain/myhostname) die du aber auch als kundendomain in froxlor hast....das geht nicht

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...