--Webmaster www.sfondo.it wrote on 21.02.2002 14:24 +0100:

>>> INSERT INTO passwd VALUES ('1','abc','','simone',65534,65534,'','','');
>  MYSQL_CLEAR_PWFIELD    clear

Thats better for a start, and also allows CRAM-MD5/SHA.

For crypted passwords with mySQL use ENCRYPT('abc') instead
of just 'abc', phpMyAdmin could simplify things, or type
`perl -e "print crypt('abc','$$');"` on the commandline
or simply copy the known hashes from /etc/shadow (on Lunix).
 
>> - user has no home and no maildir
> Does is really maildir create by maildirmake ????

You make the maildir, and then tell the daemon where to find.
Set $HOME to the same directory work just fine if you dont use
courier for delivery.

>> - the uid/gid looks also very suspicious
> Yes are not really ... I don't understand ... If user authentication are
> provide by db, why uid/gid may be really defined ?? and where ??? in
> /etc/passwd ???

The daemon has to switch the uid/gid which owns the maildir
and $HOME. And your mta (obviously not courier) has also to
switch to the same uid when delivering local mail.
 
> Yes, this insert is only for test, and is wrong, but before that I can't see
> connection in mysql-query-log from courier...

Debugging of such problems is more complicated if someone
installs from RPM, cant help with this.
Re-editing all files a couple of hours sometimes helps :)

>>> 3) where /usr/lib/courier-imap/libexec/logger store data logfile ???
> 
>> Its sent to syslog, check the manpages for logger, syslogd
>> and syslogd.conf.
> 
> ok : )
> therefore this sintax in /etc/syslog.conf can work better...
> 
> imap.*                /path/to/imap/logfile
> pop3.*                /path/to/pop3/logfile
> imap-ssl.*            /path/to/imap-ssl/logfile
> pop3-ssl.*            /path/to/pop3-ssl/logfile
> 
> right ??? ;-)

Nope, you really want to read `man syslogd` first.

But any decent system logs the facility mail.* already to
/var/log/maillog so there are no changes necessary and the
default will just work fine.


Roland

PS: no need for cc, i am subscribed...


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to