Great Circle Associates Majordomo-Users
(April 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: sendmail on remote server
From: Jeffrey Goldberg <J . Goldberg @ Cranfield . ac . uk>
Organization: Cranfield University Computer Centre
Date: Thu, 30 Apr 1998 11:02:41 +0100 (BST)
To: Kitty Smith <smith @ twsuvm . uc . twsu . edu>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <354773BF.9CDB8E5A@twsuvm.uc.twsu.edu>
Reply-to: Jeffrey Goldberg <J . Goldberg @ Cranfield . ac . uk>

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:
Indexed By Date Previous: Re: Bodyless messages...headers only
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: How to add digests
From: "Scott Wittenberg" <scott@stonehenge.wwide.com>
Indexed By Thread Previous: Re: sendmail on remote server
From: Norbert Bollow <nb@thinkcoach.com>
Next: How to add digests
From: "Scott Wittenberg" <scott@stonehenge.wwide.com>

Google
 
Search Internet Search www.greatcircle.com