LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Closed Thread
 
Search this Thread
Old 01-14-2002, 05:07 PM   #16
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30

Well i went nuts today trying to figure this out. I didnt want to keep bothering you with this. But for the life of me i cannot figure it out.
This is in my maillog;
Jan 14 18:00:13 mail sendmail[2595]: g0EN0DX02593: SYSERR(sendmail): openmailer: insufficient privileges to chan
ge gid

.....and i really have no idea why

Any hints?
 
Old 01-14-2002, 05:13 PM   #17
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
oooopps.
qpopper with debug shows
Jan 14 18:06:51 mail popper[2630]: popper: Server: first fork(); child=2631; exiting
Jan 14 18:06:51 mail popper[2631]: popper: Server: child of first fork(); pid=2631
Jan 14 18:06:51 mail popper[2631]: popper: Server: second fork(); child=2632; exiting
Jan 14 18:06:51 mail popper[2632]: popper: Server: child of second fork(); pid=2632
Jan 14 18:06:51 mail popper[2632]: calling chdir()
Jan 14 18:06:51 mail popper[2632]: closing file descs 1024 to 0
Jan 14 18:06:51 mail popper[2632]: opened stream socket; sockfd = 4
Jan 14 18:06:51 mail popper[2632]: set stream socket options; sockfd = 4
Jan 14 18:06:54 mail popper[2633]: popper: Server: first fork(); child=2634; exiting
Jan 14 18:06:54 mail popper[2634]: popper: Server: child of first fork(); pid=2634
Jan 14 18:06:54 mail popper[2634]: popper: Server: second fork(); child=2635; exiting
Jan 14 18:06:54 mail popper[2635]: popper: Server: child of second fork(); pid=2635
Jan 14 18:06:54 mail popper[2635]: calling chdir()
Jan 14 18:06:54 mail popper[2635]: closing file descs 1024 to 0
Jan 14 18:06:54 mail popper[2635]: opened stream socket; sockfd = 4
Jan 14 18:06:54 mail popper[2635]: set stream socket options; sockfd = 4
Jan 14 18:06:57 mail popper[2636]: popper: Server: first fork(); child=2637; exiting
Jan 14 18:06:57 mail popper[2637]: popper: Server: child of first fork(); pid=2637
Jan 14 18:06:57 mail popper[2637]: popper: Server: second fork(); child=2638; exiting
Jan 14 18:06:57 mail popper[2638]: popper: Server: child of second fork(); pid=2638
Jan 14 18:06:57 mail popper[2638]: calling chdir()
Jan 14 18:06:57 mail popper[2638]: closing file descs 1024 to 0
Jan 14 18:06:57 mail popper[2638]: opened stream socket; sockfd = 4
Jan 14 18:06:57 mail popper[2638]: set stream socket options; sockfd = 4

I dont see anything wrong.
 
Old 01-14-2002, 05:25 PM   #18
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
More info in my log after ./popper restart
Jan 14 18:17:53 mail ./popper[3831]: Unable to obtain socket and address of client: Socket operation on non-sock
et (88)
Jan 14 18:17:56 mail ./popper[3832]: Unable to obtain socket and address of client: Socket operation on non-sock
et (88)


FYI: I changed the owners to mail.mail instead of sendmail.sendmail
 
Old 01-14-2002, 05:40 PM   #19
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,005
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
Could you try adding the next line to sendmail.mc?
(w/o quotes):
"MODIFY_MAILER_FLAGS(`LOCAL', `-S')"
now regenerate it with m4 (or mailconf).
What does ls -ld on your localmailer say? (usually procmail)
 
Old 01-14-2002, 06:24 PM   #20
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Well i rebuilt via m4 and it replaced my entire sendmail.cf. Nothing worked. SO i saved the original b4 i m4'd it. Copied it back chown everything back to root and now:
Starting sendmail: makemap: error opening type hash map /etc/mail/virtusertable: Permission denied
makemap: error opening type hash map /etc/mail/access: Permission denied
makemap: error opening type hash map /etc/mail/domaintable: Permission denied
makemap: error opening type hash map /etc/mail/mailertable: Permission denied

Everything is back to normal and im getting these damn errors. There is no explanation ANYWHERE.
 
Old 01-14-2002, 08:55 PM   #21
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
welp.............just got done reinstalling everything from scratch. That damn m4. Maybe i just dont know what im doing. ANyhow im scared to go through this again. THe runasuser works but qpopper is just stubborn. Is it worth all this hassle?
Thanks
 
Old 01-14-2002, 09:58 PM   #22
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Im still researching. I found some config files but not sure if these commands may help.
--enable-popuid=pop Set the owner of the pop.auth file. [pop]"
--enable-old-uidl Use old UID encoding "
--enable-server-mode-group-include=group
Server mode set for users in this group "
ac_help="$ac_help
--enable-server-mode-group-exclude=group
Server mode off for users in this group "

:smash: :smash: :smash: :smash: :smash:
 
Old 01-15-2002, 01:55 AM   #23
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,005
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
Maybe some clue at the bottom of this?
 
Old 01-15-2002, 05:16 PM   #24
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Thanks unSpawn. I think im getting closer. Sendmail is purring like a kitten now. qpopper is almost. The only errors im getting now when checking my mail is:
./popper[2603]: (v4.0.3) Unable to get canonical name of client 10.0.0.2: Unknown host (1)

If you have any ideas, Ill take em. I figured that I would post it here and then go search all night.
Thanks
 
Old 01-15-2002, 05:22 PM   #25
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Not to go posting crazy here but I can send mail. Just cannot receive it from the server.
 
Old 01-15-2002, 05:28 PM   #26
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Its not a qpopper error. Its an error on the sendmail side.
Jan 15 18:22:06 mail sendmail[2731]: g0FNM6v02729: SYSERR(mail): openmailer: insufficient privileges to change
 
Old 01-15-2002, 06:07 PM   #27
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,005
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
RHHHAAAAAH!
Change permissions on *WHAT*?
Is it the GID thingie again?
RHHHAAAAAH!

Aw, Im cool, its only the suspense when ppl break off lines like that :-]

If it's the GID thing, ls -ld the spool (etc, etc from a few posts back).
 
Old 01-15-2002, 06:10 PM   #28
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Sorry dude,
here is the whole thing.
Jan 15 19:02:47 mail sendmail[2978]: g0FNFAG02658: SYSERR(mail): openmailer: insufficient privileges to change gid
Jan 15 19:02:47 mail sendmail[2972]: g0FNFAG02658: to=<forumkid@yahoo.com>, delay=00:47:27, xdelay=00:00:00, mailer=l
ocal, pri=300569, dsn=4.0.0, stat=Deferred
 
Old 01-15-2002, 06:13 PM   #29
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
ls -ld

-rwxr-xr-x 1 root mail 63484 Jan 6 2001 procmail

I cant add that stuff to .mc. It screws everything up.
Thanks
 
Old 01-15-2002, 06:14 PM   #30
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Unless you meant:
ls -ld /var/spool
drwxr-xr-x 13 root root 4096 Jan 14 15:25 /var/spool

Im just retarted.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 10:18 AM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
How to Attach files using 'Mail' or 'SendMail' Harlin Linux - Networking 2 02-19-2005 08:48 AM
Change sendmail by lotus domino for root mail cgillard Linux - Networking 1 06-16-2004 02:33 AM
Sendmail Error while sendmail mail palavsachin27 Linux - Networking 1 01-22-2003 04:14 PM


All times are GMT -5. The time now is 04:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration