tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY : Berkeley Sendmail not running as ROOT
@ 1995-06-18 13:54 Neil Movold
  0 siblings, 0 replies; only message in thread
From: Neil Movold @ 1995-06-18 13:54 UTC (permalink / raw)
  To: tru64-unix-managers

First of all I would like to thank the following people for their
responses :

	George W. Baltz
	John P. Speno
	Henk Mos
	Paul E. Rockwell
	Jeff C. Ollie
	Danny J. Mitzel

The problem was this :

I have created a Perl script which takes a mail message to an alias 
called "support", passes a canned reply back to the sender, and sends the 
actual message onto the support team at my company.  When the Perl script 
gets the mail and tries to use the Berkeley Sendmail V8.6.12 that I 
installed in /usr/local/etc, I received the following messages in my 
syslog mail log :

Jun 18 09:29:44 longtail sendmail[25656]: NOQUEUE: SYSERR(daemon): 
queuename: Cannot create "qfJAA25656" in "/var/spool/mqueue" (euid=3):
Permission denied 

Jun 18 09:29:44 longtail sendmail[24693]: NOQUEUE:SYSERR(daemon):  
queuename: Cannot create "qfJAA24693" in"/var/spool/mqueue" (euid=3): 
Permission denied


I checked all the permissions and they were identical to what the old 
sendmail was in /usr/sbin.

Many people pointed at the permissions of the file and suggested that I 
use chmod 4755 on the file, which I did.

However, nothing seemed to fix this problem until I noticed something 
really simple, but never thought it would make any difference.  I noticed 
that when I did a "which sendmail" I found the original sendmail from 
/usr/sbin and not /usr/local/etc, which is the one that I use now and 
have indicated in my canned reply Perl script.  Well, I went and renamed 
the sendmail in /usr/sbin to something else.  Then I used "which" again 
and got the right sendmail.  After this I tried to send mail again and 
viola, everything works fine now.

I guess what is happening is that the POP3D daemon I am running must have 
found the version of sendmail in /usr/sbin and tried to use it some how 
before handing the message off to my canned reply script, which had the 
version of sendmail it was using hard coded to use the Berkeley sendmail.

Thanks again for everyone's suggestions and comments.

		
		Neil :-)

                     \\\//
                     (o o)
------------------ooO-(_)-Ooo-----------------------------------------
Neil Movold                     Phone  : +1 809 296-1800      
Special Operations Consultant   Fax    : +1 809 295-7269     
 ( i.e. the guy who has to 
        make it all work :-) )
Internet (Bermuda) Limited      E-mail : nmovold@ibl.bm     
P.O. Box HM2445
Hamilton, Bermuda
HM JX

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-06-18 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-18 13:54 SUMMARY : Berkeley Sendmail not running as ROOT Neil Movold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox