From: Clive S. <cl...@ca...> - 2002-08-09 01:29:46
|
Jonathan Angliss wrote: > Hi Gerry, > On Thu, 8 Aug 2002 19:14:49 -0400 (EDT), you wrote: > > > > > Aug 9 00:03:22 svp sendmail[1039]: g78E3MR01039: SYSERR(apache): > > > > Can't create transcript file ./xfg78E3MR01039: Permission denied Aug > > > > 9 00:03:22 svp sendmail[1039]: g78E3MR01039: SYSERR(apache): Cannot > > > > create ./dfg78E3MR01039: Permission denied > > > What is a transscript file?. Where, do you think, the current directory (.) is, that sendmail is using when trying to create the temporary file, I imagine that it wouldnt be any of the system directories or other users would have had this problem before me. I set the HTTP uploads temporary directory to be /tmp in conf.php, but i would of thought this is not related to sending mail. > > > > I don't think that this has anything to do with the web services > > > itself, or Squirrel Mail. Can you send mail normally via that SMTP > > > server? Via pine for example? That to me looks like a directory > > > permissions error on /var/spool/mqueue or something like that. The system is not used by email users directly. It is a mail server that is used from the users desktops on the local LAN. It is working OK for sending and receiving email using POP3 locally and over the internet. > > > > > This actually sounds all too much like the classic Redhat problem... > > Not to me it doesn't. That line you are talking about is the line that forces > Sendmail to listen on localhost, port 25 only. This would result in localhost, > and localhost only being able to connect to the SMTP server, any other attempts > at connecting to it such as to a nic would result in an error message such as > connection refused at the client side. (the system does work from the outside) > > > > Go into /etc/mail/sendmail.mc and look for several lines near the bottom > > that do not allow mail to be sent except from the local host (instructions > > are in the file). Comment them out according to the instructions then > > follow the instructions at the top of the file to run the M4 macro to > > create a new sendmail.cf file. Restart sendmail (service sendmail > > restart). > I had a look at the sendmail config and the local host only config is commented out and doesnt appear in sendmail.cf. > > Try reading the sendmail.mc right above that line again, it says the following: > > ================================================================================ > dnl This changes sendmail to only listen on the loopback device 127.0.0.1 > dnl and not on any other network devices. Comment this out if you want > dnl to accept email over the network. > dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') > dnl We strongly recommend to comment this one out if you want to protect > dnl yourself from spam. However, the laptop and users on computers that do > dnl not have 24x7 DNS do need this. > ================================================================================ this is how it looks. > > That is saying something completely different to the error message the user is > getting saying that sendmail cannot write to the temp files, or the mqueue > directory. I suggest a detailed reading of what the line means. Port = the > port the server should listen on, it is providing a service name, so the port is > looked up from /etc/services, Addr = the address to listen on, in this case > 127.0.0.1 which is also known as localhost, Name = MTA as in Mail Transfer > Agent, but we all knew that. > > If you are thinking that sendmail isn't set to accept mail from the Squirrel > Mail interface (for example the interface that SM connects to isn't in the > /etc/mail/access file), then you'd see a line such as relaying denied in the log > files. > > -- > Jonathan Angliss > (ja...@ce...) > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > -- > squirrelmail-users mailing list > List Address: squ...@li... > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > http://squirrelmail.org/cvs |