13 messages in net.sourceforge.lists.courier-usersRe: [courier-users] sendmail works wi...
FromSent OnAttachments
Bruce JohnsonNov 28, 2005 8:07 pm 
Jerry AmundsonNov 28, 2005 8:35 pm 
Gordon MessmerNov 28, 2005 8:38 pm 
Sam VarshavchikNov 28, 2005 8:39 pm 
Bruce JohnsonNov 28, 2005 10:08 pm 
Nolan PflugNov 28, 2005 10:14 pm 
Bruce JohnsonNov 28, 2005 10:49 pm 
Sam VarshavchikNov 29, 2005 3:56 am 
Bruce JohnsonNov 29, 2005 8:19 am 
Bruce JohnsonNov 29, 2005 12:23 pm 
Gordon MessmerNov 29, 2005 12:49 pm 
Sam VarshavchikNov 29, 2005 3:30 pm 
Sam VarshavchikNov 29, 2005 3:33 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] sendmail works with root but not usersActions...
From:Gordon Messmer (yiny@eburg.com)
Date:Nov 28, 2005 8:38:44 pm
List:net.sourceforge.lists.courier-users

Bruce Johnson wrote:

1. I’ve created symbolic links to the sendmail in /usr/bin and other directories as suggested in the install guide. But, now I have old bash scripts running as “non-root” that are reporting 433 error message stating the service is unavailable (or something like that). It seems that the file permission are such that it won’t allow execution and I’m not sure if that’s the entire problem.

The 'sendmail' binary probably isn't suid/sgid properly. You must have missed one or more steps during the install.

2. I’ve also tried to run old scripts that use similar syntax as “cat textfile.txt | sendmail bruce” and I get the mail message as root but there is no body text as I had gotten with postfix. What is different about the new syntax of courier’s “sendmail” syntax that prevents the body text from coming through?

I don't know about postfix, but Courier's sendmail expects headers to precede the body. If you're not writing your own headers, you should be doing this, instead:

cat textfile.txt | mail bruce

The 'mail' (mailx on some platforms) will write appropriate headers for you before giving the input to sendmail.