I'm upgrading some servers from rh7.3 -> CentOS 3 and have several scripts that use "mail" to relay messages to my mail server.
Am I correct on the assumption that you now have to have sendmail running to use mail, where as previously you did not? Or am I missing something?
It's been driving me crazy for couple days trying to figure out why "mail" works on 7.3 without sendmail running and will only work with sendmail running on CentOS 3.
I'm guessing as part of a "secure install" you now need to use "client queue ruuner" part of sendmail?
Sure liked the old way, anyway to revert?
Just don't like to run an additional process for just a couple of emails a day, or I guess I could use a cron job to process emails.
On Thu, Aug 25, 2005 at 10:53:00AM -0700, Ken Godee wrote:
I'm upgrading some servers from rh7.3 -> CentOS 3 and have several scripts that use "mail" to relay messages to my mail server.
Am I correct on the assumption that you now have to have sendmail running to use mail, where as previously you did not? Or am I missing something?
You're missing something. mail has always injected to the local MTA to handle.
from my experience on centos4 with postfix mail doesn't work but the php-pear mail interface works normally - so I've been using that.
On Thu, 25 Aug 2005, Alan Hodgson wrote:
On Thu, Aug 25, 2005 at 10:53:00AM -0700, Ken Godee wrote:
I'm upgrading some servers from rh7.3 -> CentOS 3 and have several scripts that use "mail" to relay messages to my mail server.
Am I correct on the assumption that you now have to have sendmail running to use mail, where as previously you did not? Or am I missing something?
You're missing something. mail has always injected to the local MTA to handle.
I'm upgrading some servers from rh7.3 -> CentOS 3 and have several scripts that use "mail" to relay messages to my mail server.
Am I correct on the assumption that you now have to have sendmail running to use mail, where as previously you did not? Or am I missing something?
You're missing something. mail has always injected to the local MTA to handle.
Ok, I'm no mail[x]/sendmail expert, But the "DEFAULT" installation of mail[x]/sendmail WILL NOT work unless you start sendmail. It used to work without starting sendmail, but not anymore.
Somewhere between sendmail 8.11 and 8.12 things have changed, local mail sent, now gets put into the "/var/spool/clientmqueue" and will remain there until sendmail's "Client Queue Runner" comes around to process it.
[root@cpq380-2 spool]# ps -A -fw | grep sendmail
root 3822 1 0 13:26 ? 00:00:00 sendmail: accepting connections
smmsp 3831 1 0 13:26 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
Now if there's a way to change the "default" behavior back, through a config change or sendmail param, I'm all ears?
On Thu, Aug 25, 2005 at 02:14:45PM -0700, Ken Godee wrote:
Ok, I'm no mail[x]/sendmail expert, But the "DEFAULT" installation of mail[x]/sendmail WILL NOT work unless you start sendmail. It used to work without starting sendmail, but not anymore.
Possibly it had "send immediately" turned on and is now defaulting to queue-only? In any event, with no queue runners, it never would have worked "right", in that any mail with delivery problems would never get retried without a queue runner.