Koozali.org: home of the SME Server

Mail- i gave up on previous

Craig Jensen

Mail- i gave up on previous
« on: July 02, 2002, 08:38:00 AM »
Trying to debug broken mail funcition.  Below is from boot.log.  Could the smtpfwdd problwm listed have to do with mail trasport on my e-smith?



Jul  1 17:18:02 e-smith rc: Starting ntpd:  failed
Jul  1 17:18:03 e-smith rc: Starting diald:  failed
Jul  1 17:18:03 e-smith rc: Starting pppoe:  failed


Jul  1 17:18:04 e-smith rc: Starting ldap:  succeeded
Jul  1 17:18:05 e-smith qmail: Starting qmail:
Jul  1 17:18:06 e-smith qmail: Starting qmail succeeded
Jul  1 17:18:06 e-smith qmail:
Jul  1 17:18:06 e-smith rc: Starting qmail:  succeeded
Jul  1 17:18:06 e-smith smtpfwdd: /etc/rc7.d/S81smtpfwdd: Couldn't find/execute init script /etc/rc.d/init.d/smtpfwdd
Jul  1 17:18:06 e-smith rc: Starting smtpfwdd:  failed
Jul  1 17:18:06 e-smith httpd-e-smith: Starting httpd:
Jul  1 17:18:08 e-smith httpd-e-smith: httpd startup succeeded
Jul  1 17:18:08 e-smith httpd-e-smith: ^[[60G
Jul  1 17:18:08 e-smith httpd-e-smith:
Jul  1 17:18:10 e-smith rc: Starting httpd-e-smith:  succeeded

Dan Brown

Re: Mail- i gave up on previous
« Reply #1 on: July 02, 2002, 08:40:49 AM »
Craig Jensen wrote:

> Trying to debug broken mail funcition.  Below is from
> boot.log.  Could the smtpfwdd problwm listed have to do with
> mail trasport on my e-smith?

> Jul  1 17:18:06 e-smith smtpfwdd: /etc/rc7.d/S81smtpfwdd:
> Couldn't find/execute init script /etc/rc.d/init.d/smtpfwdd

    Yes, it could, and almost certainly does.  Does the file /etc/rc.d/init.d/smtpfwdd exist?  What are its permissions?

Craig Jensen

Re: Mail- i gave up on previous
« Reply #2 on: July 02, 2002, 09:24:16 AM »
I have the following:

/var/sppo/smtpd/spool/.smtpfwdd.lock
/etc/rc.d/rc7.d/S81smtpfwdd
/etc/e-smith/templates/etc/sysconfig/smtpfwdd
/usr/sbin/smtpfwdd

These are the only instances of the filename.

Snarf

Re: Mail- i gave up on previous
« Reply #3 on: July 02, 2002, 08:27:44 PM »
If /usr/sbin/smtpfwdd excists and it's permissions are ok then you could make a link to that file from your init.d

First remove the old link

rm /etc/rc.7/S81smtpfwdd

then make the new one

ln -s /usr/sbin/smtpfwdd /etc/rc7.d/S81smtpfwdd

don't know if it should be started with a certain account, you should check that. So make sure the rights are ok on the file.

Rich Lafferty

Re: Mail- i gave up on previous
« Reply #4 on: July 02, 2002, 08:43:09 PM »
No, that's not how init scripts work. /etc/rc7.d/S81smtpfwdd should be
linked to /etc/rc.d/init.d/e-smith-service:

   ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S81smtpfwdd

Cheers,
--Rich

Craig Jensen

Re: Mail- i gave up on previous
« Reply #5 on: July 02, 2002, 10:59:08 PM »
the link is stated to already exist and permissions on /etc/rc7.d/S81smtpfwdd:

lrwxrwxrwx    1  root    root   /etc/rc7.d/S81smtpfwdd - > /etc/rc.d/init.d/e-smith-service

So now i'm not really sure where to proceed.  One item to mention which may or may not affect this is that I removed the obtuse-smtp package (the mail actually did not work before that, though) in an attempt to fix my mail.

BTW, thank you for all your help...I am learning a great deal :-)

Craig