Subject: RE: What sendmail.cf?
To: 'current-users@NetBSD.org' <current-users@NetBSD.org>
From: Keenan, Greg John (Greg)** CTR ** <gjkeenan@lucent.com>
List: current-users
Date: 06/06/2005 09:25:43
ok - I run the following and sendmail is using /etc/mail/sendmail.cf:
$ sendmail -d0.10 | grep "Conf file"
Conf file: /etc/mail/submit.cf (default for MSP)
Conf file: /etc/mail/sendmail.cf (default for MTA)
Conf file: /etc/mail/submit.cf (selected)
Why is it when I run the following the mail is relayed via the
old_smart_host:
$ date | sendmail -v -t gjkeenan@lucent.com
gjkeenan@lucent.com... Connecting to localhost.anz.lucent.com. via relay...
And if I force it to use /etc/mail/sendmail.cf it delivers via the
new_smart_host?
$ date | sendmail -C/etc/mail/sendmail.cf -v -t gjkeenan@lucent.com
gjkeenan@lucent.com... Connecting to outbound-email.lucent.com via relay...
Both commands you have to assume are using the same sendmail.cf so what is
the difference when I force it with the -C option?
-----Original Message-----
From: current-users-owner@NetBSD.org
[mailto:current-users-owner@NetBSD.org]On Behalf Of Keenan, Greg John
(Greg)** CTR **
Sent: Friday, 3 June 2005 2:05 PM
To: 'current-users@NetBSD.org'
Subject: What sendmail.cf?
Hi,
NetBSD 2.0
Sendmail 8.12.11
Can't work out what config file sendmail is using. I changed SMART_HOST in
sendmail.mc compiled it and I have the new DS<new_smart_host.com> in
sendmail.cf as expected.
I restart sendmail but mail goes via the old_smart_host. When I start
sendmail and force it to use the new sendmail.cf file with the
-C/etc/mail/sendmail.cf option mail is ralayed through the new_smart_host.
There is no sendmail.cf or link in /etc
How can I find out what config file sendmail is using?
Appreciate your help.
Regards,
Greg
O Lucent Technologies
Level 1, 68 Waterloo Rd.
North Ryde NSW 2113
Australia
Tel: +61 (0)2 9491 6898
Mob: +61 (0)434 127 545