HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Email notification using external SMTP server



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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions