I am running Ubuntu 8.04.04 with virtualmin 3.76 which I installed by install.sh (on an almost fresh installation - packages had been installed but were then purged)
I am having problems with connecting mail clients to the server. SMTP, pop and imap are all running but receive authentication errors.
Usermin can login and send/receive email fine.
I have worked through the steps listed in previous threads with no joy so far - I will list some of the commands logs requested in those to see if anyone can spot the issue.
grep mail_location /etc/dovecot/dovecot.conf
path given in the mail_location setting.
mail_location = maildir:~/Maildir
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
#mail_location =
mail_location = maildir:~/Maildir
namespaces completely, they use only the mail_location setting.
explicitly, ie. mail_location does nothing unless you have a namespace
mail_location, which is also the default for it.
converted to destination storage (mail_location) when the user logs in.
/var/log/mail.log
Feb 4 02:15:01 ds7132 postfix/pickup[13591]: 8F6C131844F: uid=0 from=
Feb 4 02:15:01 ds7132 postfix/cleanup[13758]: 8F6C131844F: message-id=20100204021501.8F6C131844F@ds7132.dedicated.turbodns.co.uk
Feb 4 02:15:01 ds7132 postfix/qmgr[13593]: 8F6C131844F: from=root@ds7132.dedicated.turbodns.co.uk, size=994, nrcpt=1 (queue active)
Feb 4 02:15:01 ds7132 postfix/local[13772]: 7C99F318452: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=0.23, delays=0.08/0.01/0/0.14, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrap$
Feb 4 02:15:01 ds7132 postfix/qmgr[13593]: 7C99F318452: removed
Feb 4 02:15:01 ds7132 postfix/local[13779]: 8A50531844E: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=0.26, delays=0.1/0.03/0/0.13, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapp$
Feb 4 02:15:01 ds7132 postfix/qmgr[13593]: 8A50531844E: removed
Feb 4 02:15:01 ds7132 postfix/local[13772]: 8F6C131844F: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=0.29, delays=0.09/0.11/0/0.09, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrap$
Feb 4 02:15:01 ds7132 postfix/qmgr[13593]: 8F6C131844F: removed
Feb 4 02:17:42 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:17:42 ds7132 last message repeated 8 times
Feb 4 02:17:42 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:17:42 ds7132 last message repeated 4 times
Feb 4 02:17:43 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:17:43 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:17:43 ds7132 last message repeated 4 times
Feb 4 02:17:47 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:17:47 ds7132 last message repeated 4 times
Feb 4 02:17:48 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:17:48 ds7132 last message repeated 4 times
Feb 4 02:17:56 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:17:56 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:17:56 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:17:56 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:01 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:01 ds7132 last message repeated 4 times
Feb 4 02:18:01 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:01 ds7132 last message repeated 4 times
Feb 4 02:18:04 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:04 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:04 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:04 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:05 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:06 ds7132 last message repeated 4 times
Feb 4 02:18:06 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:06 ds7132 last message repeated 4 times
Feb 4 02:18:09 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:09 ds7132 last message repeated 4 times
Feb 4 02:18:09 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:09 ds7132 last message repeated 4 times
Feb 4 02:18:12 ds7132 dovecot: imap-login: Login: user=<test.upgradeconsulting>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Feb 4 02:18:12 ds7132 last message repeated 4 times
Feb 4 02:18:12 ds7132 dovecot: IMAP(test.upgradeconsulting): Connection closed
Feb 4 02:18:12 ds7132 last message repeated 4 times
Feb 4 02:19:31 ds7132 dovecot: pop3-login: Disconnected: user=<test.upgradeconsulting.co.uk>, method=PLAIN, rip=119.42.97.146, lip=94.136.50.205, TLS
Feb 4 02:27:37 ds7132 postfix/qmgr[13593]: CB744318400: from=www-data@dedicated.turbodns.co.uk, size=4537, nrcpt=1 (queue active)
Feb 4 02:27:40 ds7132 postfix/smtp[14340]: connect to dedicated.turbodns.co.uk[194.154.164.129]:25: Connection refused
Feb 4 02:27:40 ds7132 postfix/smtp[14340]: CB744318400: to=sales.thelondonminibuscompany@dedicated.turbodns.co.uk, orig_to=sales@thelondonminibuscompany.co.uk, relay=none, delay=47240, delays=47237/0.08/3/0, dsn=4.4.1, status=defer$
Feb 4 02:30:01 ds7132 postfix/pickup[13591]: EAD2D318452: uid=0 from=
Feb 4 02:30:02 ds7132 postfix/cleanup[14376]: EAD2D318452: message-id=20100204023001.EAD2D318452@ds7132.dedicated.turbodns.co.uk
Feb 4 02:30:02 ds7132 postfix/qmgr[13593]: EAD2D318452: from=root@ds7132.dedicated.turbodns.co.uk, size=1142, nrcpt=1 (queue active)
Feb 4 02:30:02 ds7132 postfix/pickup[13591]: 0416B31844E: uid=0 from=
Feb 4 02:30:02 ds7132 postfix/cleanup[14376]: 0416B31844E: message-id=20100204023002.0416B31844E@ds7132.dedicated.turbodns.co.uk
Feb 4 02:30:02 ds7132 postfix/qmgr[13593]: 0416B31844E: from=root@ds7132.dedicated.turbodns.co.uk, size=1002, nrcpt=1 (queue active)
Feb 4 02:30:02 ds7132 postfix/pickup[13591]: 21671318453: uid=0 from=
Feb 4 02:30:02 ds7132 postfix/cleanup[14376]: 21671318453: message-id=20100204023002.21671318453@ds7132.dedicated.turbodns.co.uk
Feb 4 02:30:02 ds7132 postfix/qmgr[13593]: 21671318453: from=root@ds7132.dedicated.turbodns.co.uk, size=994, nrcpt=1 (queue active)
Feb 4 02:30:03 ds7132 postfix/local[14381]: EAD2D318452: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=1.9, delays=0.08/0.02/0/1.7, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrappe$
Feb 4 02:30:03 ds7132 postfix/qmgr[13593]: EAD2D318452: removed
Feb 4 02:30:03 ds7132 postfix/local[14381]: 21671318453: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=1.7, delays=0.07/1.6/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrappe$
Feb 4 02:30:03 ds7132 postfix/qmgr[13593]: 21671318453: removed
Feb 4 02:30:03 ds7132 postfix/local[14386]: 0416B31844E: to=alias@ds7132.dedicated.turbodns.co.uk, orig_to=, relay=local, delay=1.9, delays=0.08/0.04/0/1.8, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrappe$
Feb 4 02:30:03 ds7132 postfix/qmgr[13593]: 0416B31844E: removed
/var/log/auth.log extract
Feb 4 02:19:17 ds7132 dovecot-auth: pam_unix(dovecot:auth): check pass; user unknown
Feb 4 02:19:17 ds7132 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=test.upgradeconsulting.co.uk rhost=119.42.97.146
Feb 4 02:19:20 ds7132 dovecot-auth: pam_unix(dovecot:auth): check pass; user unknown
Feb 4 02:19:20 ds7132 dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=test.upgradeconsulting.co.uk rhost=119.42.97.146
/etc/passwd extract
test.upgradeconsulting:x:10**:10**::/usr/fs/home/upgradeconsulting/homes/test:/dev/null
I have set permissions of /var/spool/postfix/var/run/saslauthd directory.
made sure that postfix is in the sasl group by running this:
usermod -a -G sasl postfix
/etc/init.d/saslauthd restart
/etc/init.d/postfix restart
/etc/init.d/dovecot restart
Another unrelted issue is that the mail queue keeps filling up with messages from root@dedicated.turbodns.co.uk to root@dedicated.turbodns.co.uk
with mail content
Can’t locate FindBin/libs.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at /usr/local/controlpanel/cronjobs/qmail.pl line 5.
BEGIN failed–compilation aborted at /usr/local/controlpanel/cronjobs/qmail.pl line
5.
my server is servxxxx.dedicated.turbodns.co.uk so obviously root@dedicated.turbodns.co.uk doesnt exist on this system - how would I change the email that cron errors are sent from/to to something I can actually use and check?