Re: [Exim] Newbie: Mail relay

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave C.
Datum:  
To: andrew mouawad
CC: exim-users
Betreff: Re: [Exim] Newbie: Mail relay
On Sun, 21 Jul 2002, andrew mouawad wrote:

> Hi,
>
>
>
> I would like to be able to have cgi scripts running on my web server and use
> FormMail.pl, however I don't know how to get my web server to forward or
> relay the mail to the mail server and the mail server to read that file and
> email it to the nominated address. I would prefer to do this instead of
> having to setup exim or sendmail on my web server.
>


You'd have to rewrite formmail then - afaik it only supports calling a
sendmail-type interface on the local machine. You might want to check
into nullmailer, which gives that interface but just makes an SMTP call.

Note that formmail has a SPAM security hole big enough to drive a truck
through, there is an update that adds a list of 'authorized recpients'
that is the only good solution to this.

Also note that cgi scripts dont call formmail.pl, it *is* a cgi script
itself.