major majordomo problems

David Kramer david at kramer.ne.mediaone.net
Sat Feb 19 00:59:33 EST 2000


On Fri, 18 Feb 2000, David Kramer wrote:

> 
> Here's some scenes from last week's episode:
> 
> Red Hat 5.2 "everything server" 
> 	+ (22GB hard drive + Red Hat 6.1) 
> 	-> spiffy new "everything server".
> 
> Now:
> 
> Most everything I've tried to install has gone well.  One thing I'm stuck
> on now is majordomo.  I just can't get that puppy to work.  The problem
> may be sendmail, but I'm not sure.


Just so you know I'm not the type to beg for help at the first sign of
trouble and not do any legwork on my own, let me tell you I've been busy!

As I suspected, it has nothing to do with majordomo.  I tried some tests
with aliases.  Whenever I reference an alias with an :include:, like

filetest:       :include:/maildir/comedy

I get one of two errors:
[root at kramer /maildir]# ls -al
total 3
r--r-----   2 mail     daemon       1024 Feb 18 22:34 .
drwxr-xr-x  25 root     root         1024 Feb 18 22:34 ..
-r--r-----   1 mail     daemon         51 Feb 18 22:34 comedy
[root at kramer /maildir]# sendmail -bv -v filetest at kramer.ne.mediaone.net
filetest at kramer.ne.mediaone.net... aliased to :include:/maildir/comedy
:include:/maildir/comedy... including file /maildir/comedy
:include:/maildir/comedy... Cannot open /maildir/comedy: Permission denied
filetest at kramer.ne.mediaone.net... aliasing/forwarding loop broken

or

[root at kramer /maildir]# ls -al
total 3
drwxrwxrwx   2 mail     daemon       1024 Feb 18 22:34 .
drwxr-xr-x  25 root     root         1024 Feb 18 22:34 ..
-rwxrwxrwx   1 mail     daemon         51 Feb 18 22:34 comedy
[root at kramer /maildir]# sendmail -bv -v filetest at kramer.ne.mediaone.net
filetest at kramer.ne.mediaone.net... aliased to :include:/maildir/comedy
:include:/maildir/comedy... including file /maildir/comedy
:include:/maildir/comedy... Cannot open /maildir/comedy: World writable 
directory
filetest at kramer.ne.mediaone.net... aliasing/forwarding loop broken


Poking around sendmail.cf I found:
# override file safeties - setting this option compromises system security
# need to set this now for the sake of class files
#O DontBlameSendmail=safe

I uncommented it and restarted sendmail, but it didn't seem to make a 
difference.

Another thing I noticed is:
# default UID (can be username or userid:groupid)
O DefaultUser=8:12
/etc/passwd: mail:x:8:12:mail:/var/spool/mail:
/etc/group: mail:x:12:mail

I thought sendmail ran as group daemon.  I tried adding the user mail to
the group daemon and restarting sendmail again, but still no joy.

Should I uninstall and reinstall sendmail, sendmail-cf, and sendmail-doc?

I'm still willing to compensate someone for helping me, though I didn't
crash my server with the response level from my last email.

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list