trying set up a postfix+dovecot server in vmware,but cant receive mail to myself
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
the problem is i cant receive a mail deliver by thunderbird
check dovecot_info.log
Code:
Feb 14 08:05:37 auth-worker(121546): Info: passwd(test2@mail.example.com,192.168.10.1): unknown user
Feb 14 08:05:37 imap-login: Info: Login: user=<test2@mail.example.com>, method=CRAM-MD5, rip=192.168.10.1, lip=192.168.10.1, mpid=121553, secured, session=<LGldOH1I9wDAqAoB>
[root@server /var/log]
check dovecot_debug.log
Code:
Feb 14 08:05:36 auth: Debug: client in: AUTH 2 CRAM-MD5 service=smtp nologin lip=192.168.10.1 rip=192.168.10.1
Feb 14 08:05:36 auth: Debug: client passdb out: CONT 2 PDA3MzY2MjM2MDEyNzkyMTAuMTQ4NzA3NzUzNkBzZXJ2ZXIuZXhhbXBsZS5jb20+
Feb 14 08:05:36 auth: Debug: client in: CONT 2 dGVzdDJAbWFpbC5leGFtcGxlLmNvbSBjNmMxMWQ5YWVjYzc3NmFhZjk1ZGIzZjZjMDc2ZDY0Nw== (previous base64 data may contain sensitive data)
Feb 14 08:05:36 auth: Debug: password(test2@mail.example.com,192.168.10.1): passdb doesn't support credential lookups
Feb 14 08:05:37 auth-worker(121546): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Feb 14 08:05:37 auth-worker(121546): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Feb 14 08:05:37 auth-worker(121546): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so
Feb 14 08:05:37 auth-worker(121546): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Feb 14 08:05:37 auth-worker(121546): Debug: sql(test2@mail.example.com,192.168.10.1): query: SELECT username AS user,password FROM mailbox WHERE username = 'test2@mail.example.com' AND active='1'
Feb 14 08:05:37 auth: Debug: password(test2@mail.example.com,192.168.10.1): Credentials: 8314fef5923bb513c7e8be9e663501bbc56ce1012aae68e4c68852be5ab8da76
Feb 14 08:05:37 auth: Debug: client passdb out: OK 2 user=test2@mail.example.com
Feb 14 08:05:37 auth: Debug: auth client connected (pid=121552)
Feb 14 08:05:37 auth: Debug: client in: AUTH 1 CRAM-MD5 service=imap secured session=LGldOH1I9wDAqAoB lip=192.168.10.1 rip=192.168.10.1 lport=143 rport=51959
Feb 14 08:05:37 auth: Debug: client passdb out: CONT 1 PDYzNDI1NjY5OTMzMzc2MzQuMTQ4NzA3NzUzN0BzZXJ2ZXIuZXhhbXBsZS5jb20+
Feb 14 08:05:37 auth: Debug: client in: CONT 1 dGVzdDJAbWFpbC5leGFtcGxlLmNvbSBiNzU3ZmZiODFlMThmMjg2NWFlYjcyMTk4ODJmZGYwZQ== (previous base64 data may contain sensitive data)
Feb 14 08:05:37 auth: Debug: password(test2@mail.example.com,192.168.10.1,<LGldOH1I9wDAqAoB>): passdb doesn't support credential lookups
Feb 14 08:05:37 auth-worker(121546): Debug: sql(test2@mail.example.com,192.168.10.1): query: SELECT username AS user,password FROM mailbox WHERE username = 'test2@mail.example.com' AND active='1'
Feb 14 08:05:37 auth: Debug: password(test2@mail.example.com,192.168.10.1,<LGldOH1I9wDAqAoB>): Credentials: 8314fef5923bb513c7e8be9e663501bbc56ce1012aae68e4c68852be5ab8da76
Feb 14 08:05:37 auth: Debug: client passdb out: OK 1 user=test2@mail.example.com
Feb 14 08:05:37 auth: Debug: master in: REQUEST 4013948929 121552 1 7db25eab82cbd0274899c2dcadd586e4 session_pid=121553 request_auth_token
Feb 14 08:05:37 auth-worker(121546): Debug: passwd(test2@mail.example.com,192.168.10.1): lookup
Feb 14 08:05:37 auth: Debug: master userdb out: USER 4013948929 test2@mail.example.com uid=5000 gid=5000 home=/home/vmail/mail.example.com/test2 auth_token=113dcf23896dfec364c80ae471a8ffebc983758a
Feb 14 08:05:37 imap(test2@mail.example.com): Debug: Effective uid=5000, gid=5000, home=/home/vmail/mail.example.com/test2
Feb 14 08:05:37 imap(test2@mail.example.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/home/vmail/mail.example.com/test2/Maildir
Feb 14 08:05:37 imap(test2@mail.example.com): Debug: maildir++: root=/home/vmail/mail.example.com/test2/Maildir, index=, indexpvt=, control=, inbox=/home/vmail/mail.example.com/test2/Maildir, alt=
check postfix log
Code:
Feb 14 08:05:36 server postfix/smtpd[121491]: connect from server.example.com[192.168.10.1]
Feb 14 08:05:37 server postfix/smtpd[121491]: 17F2A61603D5: client=server.example.com[192.168.10.1], sasl_method=CRAM-MD5, sasl_username=test2@mail.example.com
Feb 14 08:05:37 server postfix/cleanup[121505]: 17F2A61603D5: message-id=<07fa6ba7-d6d1-2a83-e426-33730dacf48b@mail.example.com>
Feb 14 08:05:37 server postfix/qmgr[120987]: 17F2A61603D5: from=<test2@mail.example.com>, size=598, nrcpt=1 (queue active)
Feb 14 08:05:37 server postfix/trivial-rewrite[121501]: warning: do not list domain mail.example.com in BOTH mydestination and virtual_mailbox_domains
Feb 14 08:05:37 server postfix/local[121506]: 17F2A61603D5: to=<test1@mail.example.com>, relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "test1")
Feb 14 08:05:37 server postfix/cleanup[121505]: 30B9C64D711B: message-id=<20170214130537.30B9C64D711B@mail.example.com>
Feb 14 08:05:37 server postfix/bounce[121507]: 17F2A61603D5: sender non-delivery notification: 30B9C64D711B
Feb 14 08:05:37 server postfix/qmgr[120987]: 17F2A61603D5: removed
Feb 14 08:05:37 server postfix/qmgr[120987]: 30B9C64D711B: from=<>, size=2463, nrcpt=1 (queue active)
Feb 14 08:05:37 server postfix/trivial-rewrite[121501]: warning: do not list domain mail.example.com in BOTH mydestination and virtual_mailbox_domains
Feb 14 08:05:37 server postfix/local[121506]: 30B9C64D711B: to=<test2@mail.example.com>, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "test2")
Feb 14 08:05:37 server postfix/qmgr[120987]: 30B9C64D711B: removed
Feb 14 08:05:37 server postfix/smtpd[121491]: disconnect from server.example.com[192.168.10.1]
journalctl -xe
Code:
Feb 14 08:05:36 server.example.com postfix/smtpd[121491]: connect from server.example.com[192.168.10.1]
Feb 14 08:05:37 server.example.com postfix/smtpd[121491]: 17F2A61603D5: client=server.example.com[192.168.10.1], sasl_method=CRAM-MD5, sasl_username=test2@mail.example.com
Feb 14 08:05:37 server.example.com postfix/cleanup[121505]: 17F2A61603D5: message-id=<07fa6ba7-d6d1-2a83-e426-33730dacf48b@mail.example.com>
Feb 14 08:05:37 server.example.com postfix/qmgr[120987]: 17F2A61603D5: from=<test2@mail.example.com>, size=598, nrcpt=1 (queue active)
Feb 14 08:05:37 server.example.com postfix/trivial-rewrite[121501]: warning: do not list domain mail.example.com in BOTH mydestination and virtual_mailbox_domains
Feb 14 08:05:37 server.example.com postfix/local[121506]: 17F2A61603D5: to=<test1@mail.example.com>, relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=5.1.1, status=boun
Feb 14 08:05:37 server.example.com postfix/cleanup[121505]: 30B9C64D711B: message-id=<20170214130537.30B9C64D711B@mail.example.com>
Feb 14 08:05:37 server.example.com postfix/bounce[121507]: 17F2A61603D5: sender non-delivery notification: 30B9C64D711B
Feb 14 08:05:37 server.example.com postfix/qmgr[120987]: 17F2A61603D5: removed
Feb 14 08:05:37 server.example.com postfix/qmgr[120987]: 30B9C64D711B: from=<>, size=2463, nrcpt=1 (queue active)
Feb 14 08:05:37 server.example.com postfix/trivial-rewrite[121501]: warning: do not list domain mail.example.com in BOTH mydestination and virtual_mailbox_domains
Feb 14 08:05:37 server.example.com postfix/local[121506]: 30B9C64D711B: to=<test2@mail.example.com>, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=boun
Feb 14 08:05:37 server.example.com postfix/qmgr[120987]: 30B9C64D711B: removed
Feb 14 08:05:37 server.example.com postfix/smtpd[121491]: disconnect from server.example.com[192.168.10.1]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.