Re: FTP troubles with Roundcube vacation plugin

2010-02-17 Thread Ruben de Groot
On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet typed:
 Hello
 
 I'm in trouble with vacation plugin which perform an FTP session at 
 localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
 always working ...

I don't see why a vacation plugin for RoundCube (I've used several) 
would need to start an FTP session to localhost. That's just stupid.
I recommend using dovecot-sieve and an appropriate plugin for that.

Ruben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FTP troubles with Roundcube vacation plugin

2010-02-17 Thread Mike Bristow
On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet wrote:
 I'm in trouble with vacation plugin which perform an FTP session at 
 localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
 always working ...
 
 Sometimes it works well
[snip]
 
 then suddenly it stops working
 
 Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1)
 Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication 
 token required
 Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost

It is hard to debug this certainly without knowing your ftpd's PAM
configuration (/etc/pam.d/ftpd), but assuming you have the default
FreeBSD setup, then it is likely the password has expired.

This would explain the behaviour if changing the password makes it
work again.

The expiry time is in /etc/master.passwd (it's the 5th or 6th field;
I forget which; see passwd(5)), and the expiry time set when you
change your password is controlled by your login class (see
login.conf(5))

Cheers,

-- 
Please help Imogen May keep talking - www.imogenmay.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FTP troubles with Roundcube vacation plugin

2010-02-16 Thread Frank Bonnet

Hello

I'm in trouble with vacation plugin which perform an FTP session at 
localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
always working ...


The machine runs FreeBSD 7.2-R with Dovecot 1.2.10 imap server

Any clarification welcome !
Thank you.

Sometimes it works well

connection from localhost (127.0.0.1)
Feb 16 13:21:10 mail ftpd[46479]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:10 mail ftpd[46480]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:29 mail ftpd[46541]: connection from localhost (127.0.0.1)
Feb 16 13:21:29 mail ftpd[46541]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:29 mail ftpd[46542]: connection from localhost (127.0.0.1)


then suddenly it stops working

Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1)
Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication 
token required

Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost
Feb 16 13:35:55 mail ftpd[48202]: connection from localhost (127.0.0.1)
Feb 16 13:35:55 mail ftpd[48202]: pam_acct_mgmt: new authentication 
token required

Feb 16 13:35:55 mail ftpd[48202]: FTP LOGIN FAILED FROM localhost
Feb 16 13:35:55 mail ftpd[48203]: connection from localhost (127.0.0.1)
Feb 16 13:35:55 mail ftpd[48203]: pam_acct_mgmt: new authentication 
token required



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org