Subject: RE: What sendmail.cf?
To: 'current-users@NetBSD.org' <current-users@NetBSD.org>
From: Keenan, Greg John (Greg)** CTR ** <firstname.lastname@example.org>
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
$ date | sendmail -v -t email@example.com
firstname.lastname@example.org... Connecting to localhost.anz.lucent.com. via relay...
And if I force it to use /etc/mail/sendmail.cf it delivers via the
$ date | sendmail -C/etc/mail/sendmail.cf -v -t email@example.com
firstname.lastname@example.org... 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?
[mailto:current-users-owner@NetBSD.org]On Behalf Of Keenan, Greg John
(Greg)** CTR **
Sent: Friday, 3 June 2005 2:05 PM
Subject: What sendmail.cf?
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.
O Lucent Technologies
Level 1, 68 Waterloo Rd.
North Ryde NSW 2113
Tel: +61 (0)2 9491 6898
Mob: +61 (0)434 127 545