Forum Moderators: bakedjake

Message Too Old, No Replies

problem with installing sendmail

installing sendmail issue

         

macdar

11:20 pm on Dec 16, 2004 (gmt 0)

10+ Year Member



Hi,
I've been struggling with sendmail installation (8.13.1) for couple
weeks already..I'm gonna tell you guys what I'm doing step by step. I'm
newbie to linux environment, and I'm tryin' to get easiest sendmails
configuration.
Basically, I follow installation instructions included in sendmail
package, so:
1. I run "sh Build" in /sendmail
2. I go to cf/cf
3. cp generic-linux.mc sendmail.mc
4. I make sendmail.cf using m4, # m4 ../m4/cf.m4 sendmail.mc >
sendmail.cf
(In the .mc file I tried both local and procmail mailer)
5."sh Build sendmail.cf"
6. "sh Build install-cf"
7. "sh Build install" in sendmail

I also executed:
chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

I created alises file
1. touch aliases
2. sendmail -v -bi

I doublechecked also permissions for:

-r-xr-sr-x root smmsp ... /PATH/TO/sendmail
drwxrwx--- smmsp smmsp ... /var/spool/clientmqueue
drwx------ root wheel ... /var/spool/mqueue

-r--r--r-- root wheel ... /etc/mail/sendmail.cf
-r--r--r-- root wheel ... /etc/mail/submit.cf
I'm not able to start sendmail as a daemon:
in /usr/sbin I'm executing sendmail -bd -q15m
and sendmail dosn't start, and syslog says:

Dec 16 07:15:43 whatever4 sendmail[12239]: daemon invoked without full
pathname; kill -1 won't work
Dec 16 07:15:43 whatever4 sendmail[12240]: starting daemon (8.13.2):
SMTP+queue...@00:15:00

When I'm strying to run sendmail using sendmail -bD it says
"segmentation fault".

I think it's worth to say that I had sendmail running once, at the very
beginning. Then I tried to use some more features like virtusertable
etc.. and since I'm not I able to run it with a basic configuration.
Any ideas?
Thx.

MattyMoose

5:45 pm on Dec 17, 2004 (gmt 0)

10+ Year Member



First off, does your distribution not have sendmail included with it? If not, doesn't it have a package available for it?

Sendmail is great, but maybe you're looking for something else (postfix/qmail) if you need virtual users, etc. May be easier. :)


Dec 16 07:15:43 whatever4 sendmail[12239]: daemon invoked without full
pathname; kill -1 won't work
Dec 16 07:15:43 whatever4 sendmail[12240]: starting daemon (8.13.2):
SMTP+queue...@00:15:00

I'm not sure if the segfaults are caused by this, but that first error is complaining that you didn't use the full path when calling SM. use /sbin/sendmail -bD instead.

You may also want to turn up the debugging values. man sendmail has:
-dX Set debugging value to X.

So try "/sbin/sendmail -bD -d10", and see if you can track down any more information.

HTH,
MM

otmilski

1:41 am on Jan 15, 2005 (gmt 0)

10+ Year Member



You also may want to look into a program called webmin at www.webmin.com. This program helps you manage your entire server via a web interface. Has a server section that lists most types of servers that can be installed on a linux server. It works great, still a newbie myself and have installed mysql, postsql, & spamassisin using webmin. Oh program also handles perl modules too.