Hi Guys, I've already posted this to the postfix mailing list and they made sure the error as the title suggest was generated by dovecot and not the other way around. I have an almost perfectly working multi domain mail server running dovecot+postfix+mysql+postfixadmin behind pfsense, when we transferred office, issues arose, suddenly users using email clients like thunderbird/outlook suddenly can't send mail when outside the office and instead gets an smtp denied or worst a mail undeliverable error. The mail undeliverable error was that the postmaster user is unknown yet I've created the alias using postfixadmin. I've made repeated test and sent mail directly to the postmaster and the email was received by the intended user, I'm stumped and have no idea to fix this. Hope you can help me, TIA. Here's the output of dovecot -n: dovecot -n # /etc/dovecot.conf base_dir: /var/run/dovecot/ log_timestamp: %Y-%m-%d %H:%M:%S ssl_cert_file: /etc/postfix/ssl/mail-cert.pem ssl_key_file: /etc/postfix/ssl/mail-key.pem login_dir: /var/run/dovecot//login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login first_valid_uid: 150 last_valid_uid: 150 mail_extra_groups: mail mail_location: maildir:/home/virtualmail/%d/%u maildir_copy_with_hardlinks: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 user: nobody passdb: driver: sql args: /etc/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot-sql.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 user: postfix group: mail master: path: /var/run/dovecot/auth-master mode: 432 user: virtualmail group: mail
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 2 Feb 2009, jan gestre wrote:> when we transferred office, issues arose, suddenly users using email > clients like thunderbird/outlook suddenly can't send mail when outside > the office and instead gets an smtp denied or worst a mail > undeliverable error. The mail undeliverable error was that theDo you use Dovecot SASL in Postfix to authentificate the users? Do you use Dovecot deliver to drop the mail? Does the recipients are local or remote users? What does postfix says in its logs about the error? When the users login from internal hosts, do they connect to the same port as when they connect from outside the office? If not, what are Postfix' config differences? Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSYcVSHWSIuGy1ktrAQLyLggAxqeIPm5uuZ9ONI4yc0umBH+qTSl97XZo xnGv6gXhCc3Xt2eC+pTP7OOMg0xKDFTwY73fHLt1Dd/tRz17kZpjdIo9pNSfYx1e wp0bYib84+y5ui+ZDzXPxuEOq1fkGoKSJDiukMa1l3ZuOMDynGZMMAGfnP8ALhIj 2bOvqzHFb9WdRTYzODznfQbPZqHxDW82svjB+AZe5nvvuEgE5Qzgh7MbGtotGH3l wSMH8AoyOlqpknNLGRBOFHkIJGixEjjWIpEWBj52RA2o8307I3FV6bp3MY0hBlYj 4QBhl/E1P46lrORqtoTsqP0IqXUkK/RjzMctMJWg/Fx670GgJYbn5g==/YYL -----END PGP SIGNATURE-----
On 2/2/2009, jan gestre (ipcopper.ph at gmail.com) wrote:> Here's the output of dovecot -n: > > dovecot -nWhat version is this? Recent versions show more info in dovecot -n output, like... dovecot version... upgrading may be a good idea... -- Best regards, Charles
jan gestre wrote:> Hi Guys, > > I've already posted this to the postfix mailing list and they made > sure the error as the title suggest was generated by dovecot and not > the other way around.Yes, they are right : Feb 1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=<postmaster at ddblocal.com>, relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1, status=bounced (user unknown) dovecot bounces message "status=bounced (user unknown)"> userdb: > driver: sql > args: /etc/dovecot-sql.conf >You din't provide contents of "/etc/dovecot-sql.conf". Message is bounced as dovecot can't find "postmaster at ddblocal.com" in mysql database. There is something wrong with configuration in "/etc/dovecot-sql.conf" or mysql database itself. "when we transferred office, issues arose, suddenly users using email clients like thunderbird/outlook suddenly can't send mail when outside the office and instead gets an smtp denied" If you use Dovecot SASL in Postfix to authentificate the users it fails to too... this is why you got "smtp denied" errors. Relay rulues prevents unauthentificated users to send messages. Check your userdb configuration an MySQL database itself. Uldis
Seemingly Similar Threads
- dovecot mysql support
- Fwd: Message Status - Undeliverable (Re: BLKTAP2_IOCTL_CREATE_DEVICE vs. struct blktap2_params' name member)
- telnet virtual users
- Undeliverable mail: Returned mail: see transcript for details
- Undeliverable mail: Mail System Error - Returned Mail