The Asylum   Search Private Messages Options Blogs Images Chat Cam Portals Calendar FAQ's Join  
Asylum Forums : Powered by vBulletin version 2.2.8 Asylum Forums > WIT - Whore Institute of Technology > sendmail probs
  Last Thread   Next Thread
Author
Thread [new thread]    [post reply]
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791
sendmail probs

sendmail probs

sendmail isnt working on otaku (asylum).
the root mailbox is full of messages (hundreds of them) like this (x'd out email addresses):

f7U5Hkr13067 825 Thu Aug 30 00:17 www (Deferred: Connection refused by asylumwhores.com. webmaster@asylumwhores.com
g0O5EbD06087 913 Wed Jan 23 23:14 www (klosar18@msn.com... reply: read error from smtp-gw-4.msn.com) xxxxxx@msn.com
g039IV417513 1055 Thu Jan 3 03:18 www (Deferred: Connection timed out with warthawg.com.) test17@warthawg.com
f7RLgV227014 1062 Mon Feb 25 16:42 www (Deferred: 451 <www@shaggy.digislacker.net>... Sender domain ) blah@warthawg.com
f7RLrLn24142 1070 Mon Feb 25 16:53 www (Deferred: 451 <www@shaggy.digislacker.net>... Sender domain ) testinga@warthawg.com
f7N4j9001238 1400 Wed Feb 27 23:45 www (Deferred: Connection refused by smtp-gw-4.msn.com.) xxxxx@msn.com
f7N4jNc23001 1399 Wed Feb 27 23:45 www (Deferred: Connection refused by smtp-gw-4.msn.com.) xxxxx@msn.com

so i looked at /var/log/maillog and see tons of entries like this:

Mar 16 14:28:23 otaku sendmail[8723]: NOQUEUE: SYSERR(httpd): can not chdir(/var/spool/mqueue/): Permission denied
Mar 16 14:28:29 otaku sendmail[32146]: g2GKSO4J032146: from=dingle, size=0, class=0, nrcpts=0, relay=root@localhost
Mar 16 14:32:14 otaku sendmail[1079]: NOQUEUE: SYSERR(httpd): can not chdir(/var/spool/mqueue/): Permission denied
Mar 16 14:35:01 otaku sendmail[18602]: NOQUEUE: SYSERR(httpd): can not chdir(/var/spool/mqueue/): Permission denied

/var/spool/mqueue is 700 owner:root group:wheel so i chmod 755 /var/spool/mqueue to see what happens.
then i tail -f /var/log/maillog and watch and see this:

Mar 16 14:48:19 otaku sendmail[31367]: g2GKmJcB031367: SYSERR(httpd): collect: Cannot write ./dfg2GKmJcB031367 (bfcommit, uid=1005, gid=25): Permission denied
Mar 16 14:48:19 otaku sendmail[31367]: g2GKmJcB031367: from=httpd, size=195, class=0, nrcpts=1, relay=httpd@localhost
Mar 16 14:48:19 otaku sendmail[31367]: g2GKmJcB031367: SYSERR(httpd): queueup: cannot create queue temp file ./tfg2GKmJcB031367, uid=1005: Permission denied

since sendmail resides in /usr/sbin i assume it's trying to create the temp file there (./)... sbin = root/wheel 751 and im not about to make it world writeable

any ideas?

__________________
Idle hands spend time at the genitals.

Report this post to a moderator | IP: Logged

Old Post 03-16-2002 09:35 PM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
philjit
Arch-Enemy of Idealism

Registered: Jan 2002
Location: UK
Posts: 13056

remove it and install exim

macker will no the answer, but I am guessing its permissions

Report this post to a moderator | IP: Logged

Old Post 03-16-2002 11:24 PM
philjit is offline Click Here to See the Profile for philjit Click here to Send philjit a Private Message Find more posts by philjit Add philjit to your buddy list [P] Edit/Delete Message Reply w/Quote
macker
Holy Me-el

Registered: Nov 2000
Location: UK
Posts: 5237

Yes, it's permissions. Try changing the group ownership of /var/spool/mqueue to mail and chmod it to 775.

__________________
Expecting people to be smart team players is like looking for double Ds in an oriental brothel.

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 01:42 AM
macker is offline Click Here to See the Profile for macker Click here to Send macker a Private Message Visit macker's homepage! Find more posts by macker Add macker to your buddy list [P] Edit/Delete Message Reply w/Quote
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791

there is no mail group...

it works now but i had to chmod 777 mqueue ...


what does the first char "l" mean in this? :
lrwxr-xr-x 1 root wheel 21 Feb 16 19:06 sendmail@ -> /usr/sbin/mailwrapper

how do i know what user sendmail runs as?

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 02:39 AM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
Locksmith of Lurve

Registered: Sep 2001
Location: World Citizen
Posts: 18911
no I'm not serious

You chmoded mqueue to 777 ?

Are you crazy?

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 03:06 AM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791
Re: no I'm not serious

quote:
Originally posted by skalie
Are you crazy?


no, i know that's not right which is why im here asking questions

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 03:31 AM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
philjit
Arch-Enemy of Idealism

Registered: Jan 2002
Location: UK
Posts: 13056

i was about to say create a group called mail like makcer honest. 777 dingle? NO!

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 08:25 AM
philjit is offline Click Here to See the Profile for philjit Click here to Send philjit a Private Message Find more posts by philjit Add philjit to your buddy list [P] Edit/Delete Message Reply w/Quote
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791

quote:
Originally posted by Phil
i was about to say create a group called mail like makcer honest. 777 dingle? NO!


dipshit, i already said i know that's not right

"what does the first char "l" mean in this? "
btw i realized that means link, duh

Last edited by Dingle on 03-17-2002 at 03:20 PM

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 02:26 PM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
macker
Holy Me-el

Registered: Nov 2000
Location: UK
Posts: 5237

I don't think there's an easy way to see what user sendmail runs as, but doing a 'ps aux | grep sendmail' should give you an idea what the current process is running as. Also, have a look at the user and group permissions on the sendmail executable.

__________________
Expecting people to be smart team players is like looking for double Ds in an oriental brothel.

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 08:42 PM
macker is offline Click Here to See the Profile for macker Click here to Send macker a Private Message Visit macker's homepage! Find more posts by macker Add macker to your buddy list [P] Edit/Delete Message Reply w/Quote
macker
Holy Me-el

Registered: Nov 2000
Location: UK
Posts: 5237

This new quick reply thingy fuggin rocks btw.

__________________
Expecting people to be smart team players is like looking for double Ds in an oriental brothel.

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 08:43 PM
macker is offline Click Here to See the Profile for macker Click here to Send macker a Private Message Visit macker's homepage! Find more posts by macker Add macker to your buddy list [P] Edit/Delete Message Reply w/Quote
philjit
Arch-Enemy of Idealism

Registered: Jan 2002
Location: UK
Posts: 13056

it does you are right

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 08:43 PM
philjit is offline Click Here to See the Profile for philjit Click here to Send philjit a Private Message Find more posts by philjit Add philjit to your buddy list [P] Edit/Delete Message Reply w/Quote
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791

you said it was pointless phil you git

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 08:45 PM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
philjit
Arch-Enemy of Idealism

Registered: Jan 2002
Location: UK
Posts: 13056

no i didn't

Report this post to a moderator | IP: Logged

Old Post 03-17-2002 09:07 PM
philjit is offline Click Here to See the Profile for philjit Click here to Send philjit a Private Message Find more posts by philjit Add philjit to your buddy list [P] Edit/Delete Message Reply w/Quote
Gravestone
Fluffy Bunny

Registered: Nov 2000
Location: Shillington PA USA
Posts: 269

dumb question but is the partition you have /var mounted too full?

GS

__________________
A conclusion is simply the place where you got tired of thinking.

Report this post to a moderator | IP: Logged

Old Post 03-18-2002 05:30 AM
Gravestone is offline Click Here to See the Profile for Gravestone Click here to Send Gravestone a Private Message Find more posts by Gravestone Add Gravestone to your buddy list [P] Edit/Delete Message Reply w/Quote
Dingle
Gay for Mugtoe

Registered: Jul 2000
Location:
Posts: 12791

theres no such thing as a dumb question Gravestone.

answer be nada

if i watch top, sendmail shows up as httpd. i changed queue group to httpd but that didnt work. im just going to go through all the groups until i find one that works.

Report this post to a moderator | IP: Logged

Old Post 03-18-2002 06:02 PM
Dingle is offline Click Here to See the Profile for Dingle Click here to Send Dingle a Private Message Find more posts by Dingle Add Dingle to your buddy list [P] Edit/Delete Message Reply w/Quote
macker
Holy Me-el

Registered: Nov 2000
Location: UK
Posts: 5237

Did you make sure httpd is actually part of the httpd group?

__________________
Expecting people to be smart team players is like looking for double Ds in an oriental brothel.

Report this post to a moderator | IP: Logged

Old Post 03-18-2002 10:16 PM
macker is offline Click Here to See the Profile for macker Click here to Send macker a Private Message Visit macker's homepage! Find more posts by macker Add macker to your buddy list [P] Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 02:33 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - The Asylum >

Copyright © 2014- Imaginet Inc.
[Legal Notice] | [Privacy Policy] | [Site Index]