On Wed, 29 Apr 1998, Kitty Smith wrote:
> I need to work with sendmail and was wondering if it is possible to have
> majordomo use sendmail (or some other transfer agent) residing on
> another server on our lan while I am upgrading and testing the local
> version. I am skeptical that this setup would work, but I have to ask.
Hmm.
What I would do is write a small smtp forwarder in perl using some
of the Mail:: packages. Basically, it would be something that took
things from stdin and sent them out via SMTP to your other host. Once
that command was working, just replace the sendmail command in the
majordomo config to use your new command.
The only thing that you would have to watch out for is that your
new command respected the -f option (or something like it) and that
your real smtphost is willing to do the relaying from this.
It shouldn't be more than a couple lines of perl to do it. But
it is not something that I could do off the top of my head.
-j
--
Jeffrey Goldberg +44 (0)1234 750 111 x 2826
Cranfield Computer Centre FAX 751 814
J.Goldberg@Cranfield.ac.uk http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.
Follow-Ups:
References:
|
|