Showing posts with label Email. Show all posts
Showing posts with label Email. Show all posts
Monday, April 25, 2011
Sunday, April 24, 2011
Sendmail start-up error
Problem:
This means that somewhere between the path of "/" to "/etc/mail/" is a World writable directory or a 777. In my case it was "/etc".
Change the permission to 755:
Start sendmail:
451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
This means that somewhere between the path of "/" to "/etc/mail/" is a World writable directory or a 777. In my case it was "/etc".
Change the permission to 755:
[root@linux]# chmod 0755 /etc
Start sendmail:
[root@linux]# service sendmail start
Thursday, May 04, 2006
Linux: Sendmail
Linux must have direct internet access.
Sendmail is located in /etc/mail
The editable configuration file is sendmail.mc.
The default settings are ok if you don't like to edit the file.
After editing, type the following command:
[root@localhost ~]# make -C /etc/mail
If sendmail-cf is not installed this will generate an error. So install sendmail-cf.
[root@localhost ~]# yum install sendmail-cf
After installation of sendmail-cf, make again. When OK, restart sendmail.
[root@localhost ~]# service sendmail restart
* Using Fedora Core 3
Sendmail is located in /etc/mail
The editable configuration file is sendmail.mc.
The default settings are ok if you don't like to edit the file.
After editing, type the following command:
[root@localhost ~]# make -C /etc/mail
If sendmail-cf is not installed this will generate an error. So install sendmail-cf.
[root@localhost ~]# yum install sendmail-cf
After installation of sendmail-cf, make again. When OK, restart sendmail.
[root@localhost ~]# service sendmail restart
* Using Fedora Core 3
Subscribe to:
Comments (Atom)