I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
Thanks,
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on my 6.3 install. And I am happy for that.
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz rgm@htt-consult.comwrote:
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on my 6.3 install. And I am happy for that.
Doesn't really matter, though...Sendmail logs via syslog, and syslog usually defaults, on a RH/CentOS system, to /var/log/maillog.
Double check /etc/rsyslog.log to be sure.
Yes it logs via syslog, however if it isn't told to log data to sm-mta and sm-msp, no amount of syslog directive is going to do that. It's something with the CentOS sendmail package that's disabling that.
When I do a stock Fedora install, I get three separate log files: /var/log/maillog /var/log/sm-mta /var/log/sm-msp
The same thing happens if I download the tarball from sendmail.org and install that. Three separate log files.
However, with CentOS, for some reason, it never logs anything to those sm-* files nor are they ever created.
I guess I'll have to break the yum dependency, remove the package and install sendmail manually to get those log files. Seems rather dumb.
On Tue, Jan 15, 2013 at 2:05 PM, Mike Burger mburger@bubbanfriends.orgwrote:
Doesn't really matter, though...Sendmail logs via syslog, and syslog usually defaults, on a RH/CentOS system, to /var/log/maillog.
Double check /etc/rsyslog.log to be sure.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz rgm@htt-consult.comwrote:
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on my 6.3 install. And I am happy for that.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
/var/log/maillog
On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz rgm@htt-consult.comwrote:
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on my 6.3 install. And I am happy for that.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What I meant was, it's the packages that comes with the installation. As in, they are not manually downloaded from sendmail.org or done after the installation.
On Tue, Jan 15, 2013 at 2:12 PM, Robert Moskowitz rgm@htt-consult.comwrote:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
/var/log/maillog
On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz <rgm@htt-consult.com
wrote:
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log
files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on my
6.3 install. And I am happy for that.
______________________________**_________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/**mailman/listinfo/centoshttp://lists.centos.org/mailman/listinfo/centos
Adding -X /var/log/sm-mta and -X /var/log/sm-msp to the appropriate startup lines in /etc/init.d/sendmail fixes this problem.
On Tue, Jan 15, 2013 at 2:15 PM, Ashley M. Kirchner ashley@pcraft.comwrote:
What I meant was, it's the packages that comes with the installation. As in, they are not manually downloaded from sendmail.org or done after the installation.
On Tue, Jan 15, 2013 at 2:12 PM, Robert Moskowitz rgm@htt-consult.comwrote:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
/var/log/maillog
On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz <rgm@htt-consult.com
wrote:
On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its
log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
My understanding is that Postfix has replaced Sendmail. At least on
my 6.3 install. And I am happy for that.
______________________________**_________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/**mailman/listinfo/centoshttp://lists.centos.org/mailman/listinfo/centos
On 1/15/2013 1:29 PM, Ashley M. Kirchner wrote:
Adding -X /var/log/sm-mta and -X /var/log/sm-msp to the appropriate startup lines in /etc/init.d/sendmail fixes this problem.
don't modify /etc/init.d scripts from managed packages or you can expect grief from updates.
instead, put your modifications in /etc/sysconfig/sendmail like...
SENDMAIL_OPTARG= -X /var/log/sm-mta and -X /var/log/sm-msp
How would it know which one goes to which line?
daemon /usr/sbin/sendmail -L sm-mta $([ "x$DAEMON" = xyes ] && echo -bd) \ $([ -n "$QUEUE" ] && echo -q$QUEUE) $SENDMAIL_OPTARG -X /var/log/sm-mta
versus
daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \ -q$SMQUEUE $SENDMAIL_OPTARG -X /var/log/sm-msp
If I stick those in SENDMAIL_OPTARG, how does it know which option applies to which?
On Tue, Jan 15, 2013 at 2:58 PM, John R Pierce pierce@hogranch.com wrote:
On 1/15/2013 1:29 PM, Ashley M. Kirchner wrote:
Adding -X /var/log/sm-mta and -X /var/log/sm-msp to the appropriate
startup
lines in /etc/init.d/sendmail fixes this problem.
don't modify /etc/init.d scripts from managed packages or you can expect grief from updates.
instead, put your modifications in /etc/sysconfig/sendmail like...
SENDMAIL_OPTARG= -X /var/log/sm-mta and -X /var/log/sm-msp
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Am 15.01.2013 22:12, schrieb Robert Moskowitz:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
Do you mean to say that CentOS does not support using Sendmail as an MTA anymore? That would be highly unfortunate.
Choice is good.
Am 15.01.2013 22:12, schrieb Robert Moskowitz:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
Do you mean to say that CentOS does not support using Sendmail as an MTA anymore? That would be highly unfortunate.
Choice is good.
What he's saying is that the upstream now installs Postfix as the default MTA install, rather than Sendmail. As a result, it's likely that CentOS does the same.
One can install an alternate MTA if they like, but the "stock install" of CentOS drops Postfix on the system as the MTA. Sendmail is no longer the default MTA installed by upstream or CentOS.
On Fri, Jan 18, 2013 at 2:56 AM, Tilman Schmidt t.schmidt@phoenixsoftware.de wrote:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we run Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
Do you mean to say that CentOS does not support using Sendmail as an MTA anymore? That would be highly unfortunate.
Choice is good.
It is still available. Try 'yum info sendmail'.
I didn't say choice was bad. And I'm perfectly ok with the default mailer being anything other than sendmail. However, I do use sendmail, and I did select it during the installation process. My issue is that the sendmail package does not log anything to the two log files mentioned above. it used to, and it still does under Fedora (only tested up to FC17).
I figured out how to re-enable it though, so as far as my issue is concerned, it's resolved.
On Fri, Jan 18, 2013 at 8:31 AM, Les Mikesell lesmikesell@gmail.com wrote:
On Fri, Jan 18, 2013 at 2:56 AM, Tilman Schmidt t.schmidt@phoenixsoftware.de wrote:
On 01/15/2013 01:00 PM, Ashley M. Kirchner wrote:
Sure, for those who want to run Postfix that's great. In my case, we
run
Sendmail. Simple package selection during installation.
You said 'stock install'. Selecting a non-default package is no longer 'stock'. In My Highly Biased Opinion.
Do you mean to say that CentOS does not support using Sendmail as an MTA anymore? That would be highly unfortunate.
Choice is good.
It is still available. Try 'yum info sendmail'.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Try var/log
My maillog is stored there..
john
On 1/15/2013 3:43 PM, Ashley M. Kirchner wrote:
I'm baffled ... on a stock 6.3 install, where does sendmail dump its log files sm-mta and sm-msp respectively? Al I can find is the statistics file and maillog.
Thanks, _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2890 / Virus Database: 2637/6024 - Release Date: 01/10/13