Now because all outgoing email is scanned by multiple scanners this can be
quite a performance hit when this php script starts running, so what Id like
to do is install the sendmail binary in two locations, one
/usr/sbin/sendmail for everyone, and another elsewhere which uses a
different sendmail.cf that wont have the virus scanner configured because
the only user who will have access to it we can trust the mail is virus
free.
So my question is how to I configure it so that a sendmail.cf is used from a
different location other than /etc/mail
Am I going about this the right way?
Cheers,
Rob
read in the source tree cf/README section FILE LOCATIONS (MAIL_SETTINGS_DIR)
watchout for double used ports
-Rogger.
"Rob" <razzar...@hotmail.com> schrieb im Newsbeitrag news:3eae...@news.nz.asiaonline.net...
Rob
"Rogger" <Rog...@gmx.de> wrote in message
news:b8l96c$anfh2$1...@ID-190239.news.dfncis.de...
Yes, the path to sendmail.cf is compiled-in, for obvious reasons - it
has to start somewhere, and then all locations of auxiliary files can be
given via sendmail.cf. So you could build two binaries with different
compiled-in paths for sendmail.cf, but in most cases you can probably
manage with using the -C option for one of the instances, or even just
some options via -O.
You can generally *not* do this when sendmail is invoked directly by a
user though, since it will then in most cases relinquish its privileges
for security reasons. But if the "trusted" user uses a MUA that speaks
SMTP to sendmail, you could have one daemon listenting on a different
port (and/or IP address) for him to use. You might want to require
authentication (SMTP AUTH) for any use this "trusting" daemon.
--Per Hedeland
p...@hedeland.org
sorry, I didn't know about the compiled-in fixed path
(I didn't try what is documented) but Per gave already
the answer.
-By
"Rob" <razzar...@hotmail.com> schrieb im Newsbeitrag news:3eae6b11$1...@news.nz.asiaonline.net...
You don't see sendmail.cf in the list in cf/README of the files affected
by MAIL_SETTINGS_DIR - i.e. the documentation is correct. And obviously
(as I implied) sendmail can't find sendmail.cf based on something that
is *in* sendmail.cf (which is what cf/README deals with).
--Per Hedeland
p...@hedeland.org