Charles Marcus wrote:
Biffy Bob wrote:
Hello everyone,
I am getting an error message on FreeBSD 4 after I install dovecot.
To start off, I create two regular users, testuser and testuser1.
Hi Bob,
You might get a response if you provided a bit more info that might
help, like, maybe...
dovecot version
dovecot -n output
Since dovoecot isn't an smtp server, and what you have is a delivery
problem, assuming that you had done enough troubleshooting to lead you
to believe this was a dovecot problem, you would also want to provide
some details on the smtp server and config.
The only reason I can think of that you might think this might be a
dovecot issue is:
are you using dovecot LDA?
Otherwise, this would be an issue with your smtp server.
From the logs below, it looks to me like you don't have your delivery
mechanism set up properly (sm-mta - service unavailable), but since
you didn't provide any details whatsoever about your environment, all
anyone can do is guess...
I send each user emails then I install dovecot. After installing
dovecot I set up the users in Maildir format then proceed to send
them emails and here is what shows up in the maillogs:
Email to testuser3 -
Mar 29 22:34:52 myserver sendmail[4379]: l2TMYqwj004379: from=root,
size=54, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], relay=r
[EMAIL PROTECTED]
Mar 29 22:34:52 myserver sm-mta[4380]: l2TMYqMi004380:
from=[EMAIL PROTECTED], size=342, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED]
.vwh.net, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar 29 22:34:52 myserver sendmail[4379]: l2TMYqwj004379:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pr
i=30054, relay=localhost.. [127.0.0.1], dsn=2.0.0, stat=Sent
(l2TMYqMi004380 Message accepted for delivery)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004380:
to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED]
(0/0), delay=00:00:00, xdelay=00:00:0
0, mailer=local, pri=30560, relay=local, dsn=5.0.0, stat=Service
unavailable (something didn't work)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004380:
l2TMYqMi004381: DSN: Service unavailable (something didn't work)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004381: to=myserver,
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31584,
relay=local, dsn=5.0.0, stat=Se
rvice unavailable (something didn't work)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004381:
l2TMYqMj004381: return to sender: Service unavailable (something
didn't work)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMj004381: to=myserver,
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32608,
relay=local, dsn=5.0.0, stat=Se
rvice unavailable (something didn't work)
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004381: Losing
./qfl2TMYqMi004381: savemail panic
Mar 29 22:34:52 myserver sm-mta[4381]: l2TMYqMi004381: SYSERR(root):
savemail: cannot save rejected email anywhere
Here is what the user looks like in /etc/passwd:
testuser3:*:2400:2400:My very own test
user:/home/testuser3:/sbin/nologin
For the other users that have shell access, they don't get this
problem. It seems to be only the users with no shell.
Does anybody know of a fix for this problem?
Thanks for the quick replies. I realize that some things might be
seemingly out of date, but I have all the recent security patches
loaded, etc. I realize that the error appears to be a sendmail issue,
however, the error only manifests itself after I install dovecot. I
only see the problem with the people who have no shell. The reason why
I am writing to this list and not the sendmail list is because the
problems only happen with dovecot installed. I can send and receive
mail just fine before dovecot is installed. The problem doesn't happen
on my FreeBSD 6 boxes, but I don't have the luxury of upgrading the
FreeBSD 4 boxes.
Here's a printout of my dovecot -n:
# /usr/local/etc/dovecot.conf
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
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
verbose_proctitle: yes
first_valid_gid: 0
mail_extra_groups: mail
mail_location: maildir:~/Maildir
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_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