Re: How to specify emailing a fax?
Bodo Meissner <[email protected]>
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Message-ID | <[email protected]> |
Am 26.01.2016 um 22:16 schrieb John Hudak: > I did this long time ago but cant seem to recall the way to have a > received fax emailed to someone. [...] > FILETYPE=tif; > SENDTO=FaxMaster; > FROMADDR=my_email_address; Hello John, this may work if you can send a mail to "FaxMaster" by calling "sendmail", see below. Does your MTA accept "FaxMaster" as a valid recipient? Or does msmtp translate it to a real email address? > I added the lines but I don't see how the connection is made to my MTA - > BTW I installed msmtp as my send only MTA and want to use that. See the faxrcvd script. I use HylaFAX 6.0.3 (hylafax-server 2:6.0.3-5.1ubuntu1) The script pipes the message into $SENDMAIL -f"$FROMADDR" -oi "$SENDTO" My setup.cache defines SENDMAIL='/usr/sbin/sendmail' msmtp is not an MTA, it is an SMTP client which connects to an MTA. Does msmtp translate "FaxMaster" to a real email address? Otherwise the MTA must be able to handle this alias. (I guess your ISP's MTA will not like this.) > So would changing : > > SENDTO=FaxMaster; to SENDTO= msmtp "mail message'|[email protected] <mailto:[email protected]> No, it would not do what you want. SENDTO must be an email address, not a command. Don't use "mailto:". I don't know if you can use a full name like "full name <[email protected]>". I only use simple email addresses like "[email protected]". Bodo ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe [email protected] < /dev/null *To learn about commercial HylaFAX(tm) support, mail [email protected].*