Kurt22
2010-Aug-11 16:09 UTC
[Dovecot] passwd(contact@akairnet.com, 91.121.76.71): unknown user
I have a probleme with my configuration of dovecot I think. I have no problem for send a email but I don't want receive a email. In my /var/log/mail.log I have : Quote: connect from mail-ww0-f45.google.com[74.125.82.45] Aug 11 14:21:58 ns351550 postfix/smtpd[1844]: NOQUEUE: reject: RCPT from mail-ww0-f45.google.com[74.125.82.45]: 550 5.1.1 <contact at akairnet.com>: Recipient address rejected: User unknown in local recipient table; from=<fwdavy at gmail.com> to=<contact at akairnet.com> proto=ESMTP helo=<mail-ww0-f45.google.com> Aug 11 14:21:58 ns351550 postfix/smtpd[1844]: disconnect from mail-ww0-f45.google.com[74.125.82.45] so...problem on : Log dovecot : dovecot: 2010-08-11 17:53:14 Info: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=91.121.76.71 rip=91.121.76.71 resp=AGNvbnRhY3RAYWthaXJuZXQuY29tAFgyMmRiNzgh dovecot: 2010-08-11 17:53:14 Info: auth-worker(default): sql(contact at akairnet.com,91.121.76.71): query: SELECT CONCAT(user.user, '@', domains.name) AS user,user.password FROM user,domains WHERE user.domain_id=domains.id AND CONCAT(user.user, '@', domains.name)='contact at akairnet.com' dovecot: 2010-08-11 17:53:14 Info: auth(default): client out: OK 1 user=contact at akairnet.com dovecot: 2010-08-11 17:53:14 Info: auth(default): master in: REQUEST 1 13716 1 dovecot: 2010-08-11 17:53:14 Info: auth(default): passwd(contact at akairnet.com,91.121.76.71): lookup dovecot: 2010-08-11 17:53:14 Info: auth(default): passwd(contact at akairnet.com,91.121.76.71): unknown user dovecot: 2010-08-11 17:53:14 Info: auth(default): master out: USER 1 contact at akairnet.com uid=5000 gid=5000 home=/home/var/vmail/akairnet.com/contact dovecot: 2010-08-11 17:53:14 Info: imap-login: Login: user=<contact at akairnet.com>, method=PLAIN, rip=91.121.76.71, lip=91.121.76.71, secured dovecot: 2010-08-11 17:53:14 Info: IMAP(contact at akairnet.com): Disconnected: Logged out Quote: Recipient address rejected: User unknown in local recipient table In my main.cf I have : Quote: # 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/ssl/certs/postfix.pem smtpd_tls_key_file = /etc/ssl/private/postfix.pem smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_tls_auth_only = yes # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = mail.akairnet.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = mail.akairnet.com mydestination = localhost, localhost.akairnet.com, akairnet.com #local_recipient_maps relayhost mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, 91.121.76.71 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all home_mailbox = Maildir/ #virtual_alias_maps mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_comptes.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domaines.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_comptes.cf #virtual_mailbox_domains mysql:/etc/postfix/mysql/virtual-mailbox-domains.cf virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 #virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual-mailbox-maps.cf #virtual_alias_maps mysql:/etc/postfix/mysql/virtual-alias-maps.cf,mysql:/etc/postfix/mysql/email2email.cf virtual_transport = dovecot dovecot_destination_recipient_limit = 1 #smtpd_sasl_type = dovecot #smtpd_sasl_path = private/auth #smtpd_sasl_auth_enable = yes #smtpd_tls_auth_only = yes #smtpd_recipient_restrictions permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject_unauth_destination smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination maximal_queue_lifetime = 3d bounce_queue_lifetime = 3d In dovecot.conf for auth default I have : Quote: auth default { mechanisms = plain login passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb passwd { } userdb static { args = uid=5000 gid=5000 home=/home/var/vmail/%d/%n allow_all_users=yes } socket listen { master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it # can find mailbox locations. #path = /var/run/dovecot/auth-master #mode = 0600 # Default user/group is the one who started dovecot-auth (root) #user #group path = /var/run/dovecot/auth-master mode = 0600 user = vmail } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } } You want to help me ? :confused: -- View this message in context: http://old.nabble.com/passwd%28contact%40akairnet.com%2C91.121.76.71%29%3A-unknown-user-tp29409942p29409942.html Sent from the Dovecot mailing list archive at Nabble.com.
Daniel Luttermann
2010-Aug-11 17:55 UTC
[Dovecot] passwd(contact@akairnet.com, 91.121.76.71): unknown user
Kurt22 wrote on 11.08.2010:> I have a probleme with my configuration of dovecot I think. I have no problem > for send a email but I don't want receive a email. In my /var/log/mail.log I > have :> Quote: > connect from mail-ww0-f45.google.com[74.125.82.45] > Aug 11 14:21:58 ns351550 postfix/smtpd[1844]: NOQUEUE: reject: RCPT from > mail-ww0-f45.google.com[74.125.82.45]: 550 5.1.1 <contact at akairnet.com>: > Recipient address rejected: User unknown in local recipient table; > from=<fwdavy at gmail.com> to=<contact at akairnet.com> proto=ESMTP > helo=<mail-ww0-f45.google.com> > Aug 11 14:21:58 ns351550 postfix/smtpd[1844]: disconnect from > mail-ww0-f45.google.com[74.125.82.45] > so...problem on :OK, user is unknown - you've commented out local_recipient_maps so the default value is local_recipient_maps = proxy:unix:passwd.byname $alias_maps> mydestination = localhost, localhost.akairnet.com, akairnet.com > #local_recipient_mapsIs the user "contact" existent in /etc/passwd? If you use your domain in mydestination then Postfix tries to find the user in /etc/passwd or /etc/aliases. If the user is not found then the above error is logged. -- Daniel
Jerrale G
2010-Aug-13 03:14 UTC
[Dovecot] passwd(contact@akairnet.com, 91.121.76.71): unknown user
On 8/12/2010 1:44 PM, Kurt22 wrote:> Befor I had : > > userdb passwd { > > } > > And now : > > # userdb passwd { > > # } > > And now I have not this message ! Perfect :)-- Yeah, you commented out that config so that it will ignore it. Jerrale G. SC Senior Admin