On Fri, Dec 05, 2003 at 12:53:31PM +0100, Jose M. Rus wrote:

I installed Courier 0.44.2, everything works fine except webmail. When I
send I new message with sqwebmail  I receive the following error:

sendmail: ERR: Permission denied
400 Unable to submit message - service temporarily unavailable.

I placed a symbolic link to the Courier sendmail under /usr/bin and
/usr/sbin (same permissions), also the Apache process is a member of the
Courier group. No luck.

I noticed that local users need to be added to the Courier group in order
to to send emails (for example with the mail command) or sendmail
complains.

Any suggestions?



Jose,


did you check the permissions of sendmail? These are working ones:
[EMAIL PROTECTED] mirko]$ ls -l /usr/lib/courier/bin/sendmail
-r-s--x--x    1 root     daemon     143394 Nov  4 08:29 /usr/lib/courier/bin/sendmail

I guess the last x is missing on your system.

If this is not the problem, I suggest you run strace with sendmail on your
system (available for Linux, I know that there are similar programs for other
Unices). This will show you where the ERR comes from.

Regards
Mirko



Arghhh, it was that sendmail lost the setuid flag.


Thanks Mirko.




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to