[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hylafax
Subject:    Re: [hylafax-users] Email notification using external SMTP server
From:       Bodo Meissner <bodo () bodo-m ! de>
Date:       2005-04-27 9:42:46
Message-ID: 1114594966l.10189l.0l () natira
[Download RAW message or body]

Am 2005.04.27 10:21 schrieb(en) KY Lui:

> Can hylafax using external SMTP server for the email notification? If
> yes, how to configure?

What program do you use for sending mail to a remote SMTP server?

sendmail is called as
$SENDMAIL -f$FROMADDR -oi $TOADDR
$SENDMAIL -f$FROMADDR -oi $SENDTO
$SENDMAIL -f$FROMADDR -oi -t
$SENDMAIL -ffax -oi $TOADDR
$SENDMAIL -ffax -oi $MAILADDR
in faxrcvd, notify, pollrcvd and wedged scripts.

You could write a shell script which accepts these options and reads  
the mail message fron stdin and uses your favourite command line  
program for sending mail to your remote SMTP server. This shell script  
can be specified as variable SENDMAIL in setup.cache.

> For security reason, sendmail / SMTP service is not allowed in the
> server

Maybe you can configure your MTA to accept incoming mails from  
localhost only or even from a specified user only and to forward  
everything to your external SMTP server.


Bodo


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@ifax.com.*

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic