[Dovecot] Postfix with Deliver (LDA) - user unknown

Lars Stavholm stava at telcotec.se
Thu Oct 4 10:56:25 EEST 2007


Let's try to keep this on the list shall we.

hgic at geekazoid.com wrote:
> Here is the conversation from my maillog:
> Oct  3 20:52:15 superman postfix/pickup[179]: B77EA130C28: uid=0 from=<root>
> Oct  3 20:52:15 superman postfix/cleanup[232]: B77EA130C28:
> message-id=<20071004035215.B77EA130C28 at superman.geekinternetdevelopment.com>
> Oct  3 20:52:15 superman postfix/qmgr[98583]: B77EA130C28:
> from=<root at superman.geekinternetdevelopment.com>, size=375, nrcpt=1 (queue
> active)
> Oct  3 20:52:15 superman postfix/pipe[234]: B77EA130C28:
> to=<test at geekinetdev.com>, relay=dovecot, delay=0.25,
> delays=0.16/0.01/0/0.08, dsn=5.1.1, status=bounced (user unknown)
> Oct  3 20:52:15 superman postfix/cleanup[232]: E0729130C32:
> message-id=<20071004035215.E0729130C32 at superman.geekinternetdevelopment.com>
> Oct  3 20:52:15 superman postfix/bounce[236]: B77EA130C28: sender
> non-delivery notification: E0729130C32
> Oct  3 20:52:15 superman postfix/qmgr[98583]: E0729130C32: from=<>,
> size=2294, nrcpt=1 (queue active)
> Oct  3 20:52:15 superman postfix/qmgr[98583]: B77EA130C28: removed
> Oct  3 20:52:16 superman postfix/local[237]: E0729130C32:
> to=<geekserver at superman.geekinternetdevelopment.com>,

Do you have a user called "geekserver". Looks a bit dodgy.

> orig_to=<root at superman.geekinternetdevelopment.com>, relay=local,

dovecot is a bit peculiar with the "root" user. You should
always alias that to a real user. Or maybe you have.

> delay=0.13, delays=0.06/0.01/0/0.06, dsn=5.1.1, status=bounced (unknown
> user: "geekserver")

Well, do you have a user called "geekserver"?

> Oct  3 20:52:16 superman postfix/qmgr[98583]: E0729130C32: removed
> 
> dovecot.log has:
> 
> dovecot: Oct 03 08:57:04 Info: auth(default):
> passwd(test at geekinetdev.com): unknown user

That seems to be unrelated to the above.
/L

> dovecot-deliver.log is empty...
> 
> Thanks for your assistance!!!  ;-)
> 
> glenn
> 
>> System log could help.
>> /L
>>
>> Karin Gregorec wrote:
>>> Good Day All!  I am attempting to configure deliver as our LDA.  I am
>>> also configuring the server to use Postfix instead of Sendmail.  I
>>> have followed the all the documentation and examples I could find.
>>>
>>> Below are my Dovecot and Postfix configs.  Can someone please smack me
>>> upside the head and tell me why I am getting "user unknown" errors?
>>> If i don't use deliver as the LDA, all works perfectly.  Help...
>>>
>>> TIA,
>>> glenn
>>>
>>> ==========
>>>
>>>
>>> *** Dovecot Config ***
>>>
>>> dovecot -n
>>> # 1.0.5: /usr/local/etc/dovecot.conf
>>> base_dir: /var/run/dovecot/
>>> log_path: /var/log/maillogs/dovecot.log
>>> protocols: imap imaps pop3 pop3s
>>> ssl_cipher_list: ALL:!LOW
>>> disable_plaintext_auth: no
>>> verbose_ssl: yes
>>> login_dir: /var/run/dovecot/login
>>> login_executable(default): /usr/local/libexec/dovecot/imap-login
>>> login_executable(imap): /usr/local/libexec/dovecot/imap-login
>>> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
>>> login_greeting: GID Ready
>>> login_log_format_elements: user=<%u> service=%s authMethod=%m rIP=%r
>>> lIP=%l encryption=%c
>>> login_max_processes_count: 256
>>> verbose_proctitle: yes
>>> first_valid_uid: 5000
>>> last_valid_uid: 10000
>>> first_valid_gid: 0
>>> mail_extra_groups: mail
>>> mail_location: maildir:~/Maildir
>>> dotlock_use_excl: yes
>>> fsync_disable: yes
>>> maildir_copy_with_hardlinks: yes
>>> mail_executable(default): /usr/local/libexec/dovecot/imap
>>> mail_executable(imap): /usr/local/libexec/dovecot/imap
>>> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
>>> mail_process_size: 1024
>>> mail_plugins(default): quota imap_quota
>>> mail_plugins(imap): quota imap_quota
>>> mail_plugins(pop3):
>>> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
>>> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
>>> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
>>> imap_client_workarounds(default): delay-newmail outlook-idle
>>> netscape-eoh tb-extra-mailbox-sep
>>> imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
>>> tb-extra-mailbox-sep
>>> imap_client_workarounds(pop3): outlook-idle
>>> pop3_uidl_format(default):
>>> pop3_uidl_format(imap):
>>> pop3_uidl_format(pop3): %08Xu%08Xv
>>> pop3_client_workarounds(default):
>>> pop3_client_workarounds(imap):
>>> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
>>> pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
>>> pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
>>> pop3_logout_format(pop3): top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
>>> auth default:
>>>   cache_size: 1024
>>>   cache_ttl: 604800
>>>   verbose: yes
>>>   passdb:
>>>     driver: pam
>>>     args: cache_key=%Lu
>>>   userdb:
>>>     driver: passwd
>>>   socket:
>>>     type: listen
>>>     master:
>>>       path: /var/run/dovecot/auth-master
>>>       mode: 384
>>>       user: maildrop
>>> plugin:
>>>   quota: maildir:storage=10000000:ignore=Trash
>>>
>>>
>>> *** Postfix main.cf ***
>>>
>>> alias_database = hash:/etc/mail/postfix/aliases
>>> alias_maps = hash:/etc/mail/postfix/aliases
>>> biff = no
>>> command_directory = /usr/local/sbin
>>> daemon_directory = /usr/local/libexec/postfix
>>>
>>> debug_peer_level = 2
>>> debugger_command =
>>>     PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
>>>     echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
>>>     >$config_directory/$process_name.$process_id.log & sleep 5
>>>
>>> ####    Dovecot LDA Service - http://wiki.dovecot.org/LDA/Postfix
>>> dovecot_destination_recipient_limit = 1
>>>
>>> home_mailbox = Maildir/
>>> html_directory = no
>>> inet_interfaces = all
>>> mail_owner = postfix
>>> mail_spool_directory = /var/mail
>>> mailq_path = /usr/local/bin/mailq
>>> manpage_directory = /usr/local/man
>>> message_size_limit = 12000000
>>> mydestination = $myhostname, localhost.$mydomain, localhost
>>> mydomain = geekinternetdevelopment.com
>>> myhostname = superman.geekinternetdevelopment.com
>>> mynetworks = 72.18.193.0/24, 127.0.0.0/8
>>> newaliases_path = /usr/local/bin/newaliases
>>> queue_directory = /var/spool/postfix
>>> readme_directory = no
>>> sample_directory = /usr/local/etc/postfix
>>> sendmail_path = /usr/local/sbin/sendmail
>>> setgid_group = maildrop
>>> smtpd_banner = $myhostname NO WHAMMIES!!!
>>>
>>> virtual_gid_maps = static:5000
>>> virtual_mailbox_base = /var/mailboxes
>>> virtual_mailbox_domains = hash:/etc/mail/postfix/vdomains
>>> virtual_mailbox_maps = hash:/etc/mail/postfix/vmailboxes
>>> virtual_minimum_uid = 1000
>>> virtual_transport = dovecot
>>> virtual_uid_maps = static:5000
>>> unknown_local_recipient_reject_code = 550
>>>
>>> *** Postfix master.cf ***
>>> ...snip...
>>> dovecot   unix  -       n       n       -       -       pipe
>>>   flags=DRhu user=maildrop:maildrop
>>> argv=/usr/local/libexec/dovecot/deliver -e -d ${recipient}
> 




More information about the dovecot mailing list