Hi, [Aki Tuomi] - [27.05.2016 22:33] >> I have error log entries like >> >> dovecot: lmtp(22155, mail): Error: user mail: Mail access for users with >> UID 8 not permitted (see first_valid_uid in config file, uid from userdb >> lookup). >> >> This obviously tells me that the user mail (UID 8) is trying to access >> the LMTP daemon. How can I find out why he is doing so and how I can get >> rid of this error message? >> The mail system (Ubuntu 14.04 LTS : Postfix + Dovecot) is working - but >> probably not properly configured.
> Check your postfix logs? Maybe there is a clue? Grep for the uid 8 > username. The mail log says May 27 22:14:36 server postfix/qmgr[15415]: B05AC15E25C4: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/trivial-rewrite[26512]: warning: do not list domain domain.tld in BOTH mydestination and virtual_alias_domains May 27 22:14:36 server postfix/qmgr[15415]: A329215E2678: from=<web...@server.domain.tld>, size=707, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 62CAA15E24F6: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: C321615E2883: from=<web...@server.domain.tld>, size=707, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 0815B15E253A: from=<web...@server.domain.tld>, size=707, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 1212315E27A3: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 4374015E25F5: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 4FA1D15E245F: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 4A65815E24ED: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: 21F6C15E2760: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server postfix/qmgr[15415]: D7F9515E24B5: from=<web...@server.domain.tld>, size=708, nrcpt=1 (queue active) May 27 22:14:36 server dovecot: lmtp(26518): Connect from local May 27 22:14:36 server dovecot: lmtp(26518, mail): Error: user mail: Mail access for users with UID 8 not permitted (see first_valid_uid in config file, uid from userdb lookup). May 27 22:14:36 server dovecot: lmtp(26518): Disconnect from local: Successful quit May 27 22:14:36 server dovecot: lmtp(26518): Connect from local May 27 22:14:36 server dovecot: lmtp(26518, mail): Error: user mail: Mail access for users with UID 8 not permitted (see first_valid_uid in config file, uid from userdb lookup). May 27 22:14:36 server dovecot: lmtp(26518): Disconnect from local: Successful quit May 27 22:14:36 server postfix/lmtp[26517]: A329215E2678: to=<m...@domain.tld>, orig_to=<domain....@domain.tld>, relay=server.domain.tld[private/dovecot-lmtp], delay=29904, delays=29904/0.01/0.01/0, ds n=4.3.0, status=deferred (host server.domain.tld[private/dovecot-lmtp] said: 451 4.3.0 <m...@domain.tld> Temporary internal error (in reply to end of DATA command)) May 27 22:14:36 server postfix/lmtp[26516]: B05AC15E25C4: to=<m...@domain.tld>, orig_to=<domain....@domain.tld>, relay=server.domain.tld[private/dovecot-lmtp], delay=8910, delays=8910/0.01/0.01/0, dsn= 4.3.0, status=deferred (host server.domain.tld[private/dovecot-lmtp] said: 451 4.3.0 <m...@domain.tld> Temporary internal error (in reply to end of DATA command)) which shows more information but leaves me still clueless. Maybe it is a problem that domain.tld is listed in Postfix's mydestination and virtual_alias_domains, maybe it is due a "Connect from local", maybe it's an LMTP misconfiguration ... I hope that somebody will be able to shed some light on this - and maybe even explain the problem to me. :))) -- Cheers, \\|// Vince (o o) ----------------------------ooO-(_)-Ooo------------------------- ''' (o)_(o) [ ][0][ ] ô¿ô (=°o°=) World Domination by Copy and Paste [ ][ ][0] - (")_(") [0][0][0] () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Ooo. ---------------------------.ooO----( )------------------------- ( ) (_/ \_)