[Dovecot] LMTP error

IT geek 31 itgeek31 at googlemail.com
Thu May 1 16:35:10 UTC 2014


Hi,

I've recently switched to LMTP as I'm now using mdbox.  However since
switching, mails sent to the root account do not get delivered due to the
following error:

May  1 18:20:17 Server1 postfix/lmtp[13019]: CAEE91F851: to=<root at test.com>,
relay=mail.test.com[private/dovecot-lmtp], delay=1097,
delays=1096/0.45/0.43/0.46, dsn=4.3.0, status=deferred (host
mail.test.com[private/dovecot-lmtp]
said: 451 4.3.0 <root at test.com> Invalid user settings. Refer to server log
for more information. (in reply to RCPT TO command))

This obviously fills up my mail queue.

All other mails to all other mailboxes deliver fine.

I'm obviously missing something in my config... any ideas?

I'm using Dovecot 2.2.12 on NetBSD 5.2.2.

Many thanks,


-Mark

dovecot -n

# 2.2.12: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.2.2 cobalt
auth_username_format = %Ln
doveadm_password = secret
doveadm_port = 12345
first_valid_uid = 1010
last_valid_uid = 1020
listen = 192.168.1.1
login_greeting = test.com
mail_location = mdbox:~/mdbox
mail_plugins = " notify replication"
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = passwd
}
passdb {
  driver = passwd
}
plugin {
  mail_replica = tcp:Server2.test.com
}
protocols = imap lmtp
service aggregator {
  fifo_listener replication-notify-fifo {
    mode = 0666
  }
  unix_listener replication-notify {
    mode = 0600
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  user = root
}
service imap-login {
  inet_listener imap {
    port = 0
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
    mode = 0777
  }
}
ssl_cert = </etc/openssl/certs/mail.test.com.crt
ssl_key = </etc/openssl/private/mail.test.com.key
userdb {
  driver = passwd
}
userdb {
  driver = passwd
}
protocol lda {
  postmaster_address = postmaster at test.com
}


More information about the dovecot mailing list