Sam Varshavchik wrote:
I adjusted userdb to:Jason Lixfeld writes:Sam Varshavchik wrote:Jason Lixfeld writes:[root@industry courier]# more userdb
[EMAIL PROTECTED] home=/services/mail/content/synchrosounds.com/jason|mail=/services/mail/content/synchrosound
s.com/jason|systempw=$1$zG4ZvqhW$minMmvKkRA2r.UAzBXUiG.
You need to specify uid and gid.
Thanks for the tip, Sam. Specifying the uid and gid fixed the pop authentication but gave me this in the maillog after login:
Feb 4 23:30:00 industry pop3d: Connection, ip=[::ffff:216.7.194.254]
Feb 4 23:30:14 industry pop3d: LOGIN, [EMAIL PROTECTED], ip=[::ffff:216.7.194.254]
Feb 4 23:30:14 industry pop3d: pop3d: No such file or directory
I assume it cannot find the Maildir. Correct me if I'm wrong here, but if the popper can authenticate than it is correctly pulling the info from userdb. That means it should find the mail and home directories specified in userdb aswell, correct? The mail and home directories are specified above, but is the format correct? I ran maildirmake /services/mail/content/synchrosounds.com/jason/Maildir but the reference in userdb is for jason not jason/Maildir. The example I pulled from http://www.courier-mta.org/FAQ.html#virtual lists a similar configuration to mine where the home and mail dirs are /home/virtual/example.com/john and it tells you to create the Maildir but makes no reference to it in it's statements about what to put in the userdb file. This leads me to believe that my configuration for userdb is infact correct, isn't it? :)
No, it's not. The 'mail' attribute overrides the default location of $HOME/Maildir
[EMAIL PROTECTED] home=/services/mail/content/synchrosounds.com/jason/Maildir|mail=/services/mail/content/sync
hrosounds.com/jason/Maildir|systempw=$1$efKn04FG$WKFWA5ULFwIALsTDRl5Ri/|gid=999|uid=999
But still no dice. Still User Unknown. The Maildir directory exists just as it is in the userdb file. Heck, I even set the mode to 777 thinking it may be a permissions problem of some sort.
[root@industry courier]# ls -al //services/mail/content/synchrosounds.com/jason/Maildir/
total 20
drwxrwxrwx 5 999 daemon 4096 Feb 4 15:13 .
drwxrwxrwx 3 999 daemon 4096 Feb 4 15:13 ..
drwxrwxrwx 2 999 daemon 4096 Feb 4 15:13 cur
drwxrwxrwx 2 999 daemon 4096 Feb 4 15:13 new
drwxrwxrwx 2 999 daemon 4096 Feb 4 15:13 tmp
[root@industry courier]#
Here's the script I use to create the user
[root@industry courier]# more /services/mail/courier/sbin/courieradduser
/services/mail/courier/sbin/userdbpw -md5 | /services/mail/courier/sbin/userdb -f /services/mail/conf/courier/userdb jason@industry.
synchrosounds.com set home=/services/mail/content/synchrosounds.com/jason/Maildir mail=/services/mail/content/synchrosounds.com/jaso
n/Maildir uid=999 gid=999 systempw ;
/services/mail/courier/sbin/makeuserdb
mkdir /services/mail/content/synchrosounds.com/jason
/services/mail/courier/bin/maildirmake /services/mail/content/synchrosounds.com/jason/Maildir
[root@industry courier]#
I don't understand what's going on here. Is there any debugging built into the code to see exactly what it's doing and where it's failing?
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
