Bernd Plagge writes:
On Fri, 01 Jun 2007 03:59:25 -0700 [EMAIL PROTECTED] wrote:One easy way to get back to the default settings is to edit the options file in the list directory, and remove everything except ADDRESS and LISTPW settings.Hi Sam, I did this. uid and gid for Courier are vpopmail.vchkpw - for historical reasons. Directory structure is: /home/enaki/mail/list1 -> mailing list /home/enaki/mail/postmaster/Maildir -> for users That is, the LDAP directory is specified as /home/enaki/mail and the default Maildir directory is ./Maildir. I created the list directory : drwx--S-- vpopmail.vchkpw list1 mail to [EMAIL PROTECTED] resulted in "exec: No such file or directory, broken pipe"
I do not believe that this is exactly the error message that you received. It's probably "exec: No such file or directory" on one line, and some other message, which includes the word "broken pipe". You also did not explain what form this error too, whether it appeared on the command line, as an error message in your mail client, or in a bounce message. And there were probably other things either before or after this message that would shed some light on this situation.
You just can't omit crucial facts like this, otherwise this is just one big goose chase. This is why instead of explaining what you saw, in your words, you should always post the raw data, cut and paste whatever you see either on the console, or in the bounce message, verbatim, without commentary. Else everyone will be chasing ghosts. You posted the log files, verbatim, that's exactly what you should be doing for every other bit of information.
When I searched the source code, there were exactly six places where this error message appears, in Courier. Of the six, one place was when couriermlm generating a message to send, but being unable to run Courier's sendmail wrapper. So one possibility is that /usr/lib/courier/bin/sendmail is missing.
The other situation where this error might come up involves courierfilters. I doubt that it would come up here, but courierfilters are involved in the process of vetting all messages that come through the system, including messages coming out of couriermlm, so you'll need to clarify if you have any courier filters instead.
But, again, we need to see the complete context of the error message.Also, you said that putting |/bin/echo ".courier-default" into the .courier-default file showed that this .courier file was getting invoked.
Prepent | echo ".courier-default: $DEFAULT" in there, to check that the environment is what couriermlm expects it to be.
Changing the ownership to root.vchkpw resulted in "unable to read .courier file" Changed ownership back to vpopmail.vchkpw and the permission of .courier* files to 755.
Well, look, the permissions of these files and directories is not a guessing game. There's really only one way to get this right, and you just can't turn it into a trial-by-error. If you do, that tells me you have not fully worked out how the permissions should be set up on your system, and that's something that you need to figure out as a first order of business.
Whatever the account's uid and gid is given in LDAP must match the ownership of all files in the account's home directory, and the permissions on everything needs to be sane, and reasonable. If you have a login session open that uses whatever uid and gid is given in LDAP, and with the home directory set to what LDAP tells you the home directory is, would you be able to access, create, or modify everything in the home directory? If the answer is no, the way you set it is wrong, and it needs to be right. This is not a guessing game, there's only one right answer here.
But, whatever permissions are, that should not, in theory, affect couriermlm's ability to run the sendmail command, /usr/lib/courier/bin/sendmail. couriermlm is not something special. It's an ordinary process that's started from your .courier file. And, to send a message, it invokes /usr/lib/courier/bin/sendmail, whose permissions should allow anything to execute it.
pgpZf4z15V9xV.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
