[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SASL auth failure dovecot/postfix



On Tue, Mar 11, 2014 at 03:12:22PM +0100, Jochen Spieker wrote:
> Tazman Deville:
> > 
> > Now, that I look, I'm seeing this in the mail.err logs:
> > Mar 10 22:04:58 myownsite dovecot: auth-worker(13988): Error:
> > mysql(127.0.0.1): Connect failed to database (mail): Can't connect to
> > MySQL server on '127.0.0.1' (111) - waiting for 125 seconds before
> > retry
> > on one server, but not such thing on the other
> > I think mariadb was overworked last night (since moved some sites off
> > this server, CPU load was massive, but now ok).
> 
> It is really hard to help without you trying to make straightforward
> tests and posting the resulting log file entries. Output of dovecot -n
> and postconf -n would help as well.

Why don't you explain what "straightforward tests" means, then.
I tried to send mail and showed you what the logs show.
What else am I to do?

I can't imagine there being a problem with my postconf or dovecot
configurations, since they were both working fine 24 hours ago before I
ran aptitude update && safe-upgrade

Nonetheless:
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
dovecot_destination_recipient_limit = 1
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 30720000
mydestination = mail.myownsite.me, localhost, localhost.localdomain
myhostname = myownsite.me
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
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 $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains =
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000

dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir
namespace {
  inbox = yes
    location = 
      prefix = INBOX.
        separator = .
  type = private
  }
  passdb {
    args = /etc/dovecot/dovecot-sql.conf
      driver = sql
      }
      protocols = imap pop3
      service auth {
        user = root
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  args = uid=5000 gid=5000 home=/home/vmail/%d/%n
  allow_all_users=yes
   driver = static
 }
   protocol lda {
    auth_socket_path = /var/run/dovecot/auth-userdb
      log_path = /home/vmail/dovecot-deliver.log
  mail_plugins = sieve
    postmaster_address = postmaster@myownsite.me
    }
    protocol pop3 {
      pop3_uidl_format = %08Xu%08Xv
     }

(does not reflect actually indentation, posting into vim
with this last made weird indentation).
I almost feel I should be pastebinning this stuff, and not
sending so much text to the list.:wq

taz

-- 
http://taz.liberame.org


Reply to: