Hello,
I run the domain for the school here with qmail and vpopmail on FreeBSD
with dovecot from the ports.
I'm running dovecot 1.0.r26 and everything is working great.
I been noticing that dovecot isn't updating when the user last logged
in.. and I can't seem to figure out why. I also can't seem to find
anything in the archives about it.. so am I the only one?
name: bcook
passwd: $1$
clear passwd:
comment/gecos: B. Cook
uid: 0
gid: 0
flags: 0
gecos: B. Cook
limits: No user limits set.
dir: /usr/local/vpopmail/domains/poughkeepsieschools.org/bcook
quota: 41943040S
usage: 72%
account created: Wed Oct 18 21:09:03 2006
last auth: Never logged in
I'm wondering how I could get the 'last auth' to populate like it
used
to w/ courier.
below is my config if it will help:
protocols = imap imaps pop3
listen = *
disable_plaintext_auth = no
ssl_disable = no
ssl_cert_file = /long/path/to/file.pem
ssl_key_file = /long/path/to/file.pem
verbose_ssl = yes
login_user = dovecot
login_process_size = 64
first_valid_uid = 89
last_valid_uid = 89
first_valid_gid = 89
protocol imap {
mail_plugins = quota imap_quota
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
auth default {
mechanisms = plain
passdb vpopmail {
args }
userdb vpopmail {
}
user = root
}
plugin {
quota = maildir
}
Thanks in advance.
--
B. Cook
Network Analyst
Poughkeepsie City School District
Mobile: 845.264.5827 | Desk: 845.451.4791
Hi,
I run qmail/vpopmail and changed to using vchkpw instead of vpopmail for
that very reason. My auth section looks like this:
auth default {
mechanisms = plain
passdb checkpassword {
args = /usr/local/vpopmail/bin/vchkpw
}
userdb prefetch {
}
user = vpopmail
}
I think I spelled it 'lastauth' in the archives ;)
Rick
On Wed, 2007-03-28 at 15:17 -0400, B. Cook wrote:> Hello,
>
> I run the domain for the school here with qmail and vpopmail on FreeBSD
> with dovecot from the ports.
>
> I'm running dovecot 1.0.r26 and everything is working great.
>
> I been noticing that dovecot isn't updating when the user last logged
> in.. and I can't seem to figure out why. I also can't seem to find
> anything in the archives about it.. so am I the only one?
>
> name: bcook
> passwd: $1$
> clear passwd:
> comment/gecos: B. Cook
> uid: 0
> gid: 0
> flags: 0
> gecos: B. Cook
> limits: No user limits set.
> dir: /usr/local/vpopmail/domains/poughkeepsieschools.org/bcook
> quota: 41943040S
> usage: 72%
> account created: Wed Oct 18 21:09:03 2006
> last auth: Never logged in
>
>
> I'm wondering how I could get the 'last auth' to populate like
it used
> to w/ courier.
>
> below is my config if it will help:
>
> protocols = imap imaps pop3
>
> listen = *
> disable_plaintext_auth = no
> ssl_disable = no
> ssl_cert_file = /long/path/to/file.pem
> ssl_key_file = /long/path/to/file.pem
> verbose_ssl = yes
> login_user = dovecot
>
> login_process_size = 64
> first_valid_uid = 89
> last_valid_uid = 89
> first_valid_gid = 89
>
> protocol imap {
> mail_plugins = quota imap_quota
> imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
> tb-extra-mailbox-sep
> }
>
> protocol pop3 {
> pop3_uidl_format = %08Xu%08Xv
> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
> }
>
> auth default {
> mechanisms = plain
> passdb vpopmail {
> args > }
>
> userdb vpopmail {
> }
>
> user = root
> }
>
> plugin {
> quota = maildir
> }
>
> Thanks in advance.
>
>
On 28.3.2007, at 22.17, B. Cook wrote:> I been noticing that dovecot isn't updating when the user last > logged in.. and I can't seem to figure out why. I also can't seem > to find anything in the archives about it.. so am I the only one?..> I'm wondering how I could get the 'last auth' to populate like it > used to w/ courier.The attached patch should add it. -------------- next part -------------- A non-text attachment was scrubbed... Name: vpopmail-lastauth.diff Type: application/octet-stream Size: 708 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070328/359c7bc8/attachment-0002.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070328/359c7bc8/attachment.bin>
> > I been noticing that dovecot isn't updating when the user last > > logged in.. and I can't seem to figure out why. I also can't seem > > to find anything in the archives about it.. so am I the only one? > .. > > I'm wondering how I could get the 'last auth' to populate like it > > used to w/ courier. > > The attached patch should add it. >This code will be included in an official branch?