LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail doesn't send emails (https://www.linuxquestions.org/questions/linux-software-2/sendmail-doesnt-send-emails-464942/)

Bodyweb 07-17-2006 01:59 PM

Sendmail doesn't send emails
 
Suse 10.1 installed right now, Apache 2.2, PHP 5 and Kerio mail server.

In PHP.INI I wrote sendmailpath = /opt/local/kerio/sendmail -t -i , it's suggested to use kerio mailserver sendmail.

I even tryed with the Suse sendmail but nothing happen, every change of PHP.INI I always restart apache.

What else can I check ? :confused:

jeelliso 07-17-2006 02:56 PM

I'm not familiar with the kerio sendmail server, I'm just familiar with regular old sendmail.

Quote:

What else can I check ?
You can check the log files. You should always start with checking log files when something wrong happens. Your log files for sendmail should be /var/log/maillog. You can also check the output of 'ps -aux | grep sendmail' to see if sendmail is actually up and running. You can telnet into your local computer (i.e, 'telnet 127.0.0.1 25') and see if Sendmail is accepting connections. You can also try sending an email using the 'mail' command and then rechecking the log files. Post some of your finding and we'll take a look at it.

~Justin

Bodyweb 07-17-2006 10:39 PM

Quote:

Originally Posted by jeelliso
I'm not familiar with the kerio sendmail server, I'm just familiar with regular old sendmail.

You can check the log files. You should always start with checking log files when something wrong happens. Your log files for sendmail should be /var/log/maillog. You can also check the output of 'ps -aux | grep sendmail' to see if sendmail is actually up and running. You can telnet into your local computer (i.e, 'telnet 127.0.0.1 25') and see if Sendmail is accepting connections. You can also try sending an email using the 'mail' command and then rechecking the log files. Post some of your finding and we'll take a look at it.

~Justin

It seems that nothing is working, from "ps -aux | grep sendmail" the answer is :

linux-nhwz:~ # ps -aux | grep sendmail
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root 9134 0.0 0.0 1856 636 pts/1 S+ 05:38 0:00 grep sendmail
linux-nhwz:~ #

The log files that I found are just for postfix that is now off.

Bodyweb 07-18-2006 01:28 AM

That was the problem, incredible :confused: : http://forums.kerio.com/index.php?t=...mail#msg_16261

jeelliso 07-18-2006 08:05 AM

Quote:

linux-nhwz:~ # ps -aux | grep sendmail
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root 9134 0.0 0.0 1856 636 pts/1 S+ 05:38 0:00 grep sendmail
linux-nhwz:~ #
This says that sendmail is not running. The grep sendmail is the grep command that you are currently running. If sendmail was running you would see something similar to
Code:

Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root      1853  0.0  0.0  5692 1856 ?        Ss  Jul13  0:00 sendmail: accepting connections
smmsp    1861  0.0  0.0  5208 1692 ?        Ss  Jul13  0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 27423  0.0  0.0  4992  640 pts/0    S+  09:03  0:00 grep sendmail

Make sure sendmail is running.

I'm glad you found the answer to your problem.

~Justin

Bodyweb 07-18-2006 08:53 AM

Yes, thx for you interest ;), now it's working, I'm using that particular kerio sendamail.


All times are GMT -5. The time now is 10:06 AM.