HylaFAX The world's most advanced open source fax server |
I'm not familiar with that setup. You may want to try the following in order to setup HylaFAX's faxmail with sendmail: - Install the sendmail cf package yum -y install sendmail-cf - Comment out the "Port=smtp,Addr=127" line in /etc/mail/sendmail.mc - Add the following settings to the end of /etc/mail/sendmail.mc DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl define(`FAX_MAILER_ARGS',`faxmail -NT $u@$h $f')dnl MAILER(`fax')dnl - On the shell, run the following: FAXDOMAIN=fax.mycompany.com echo $FAXDOMAIN >> /etc/mail/local-host-names echo -e "@${FAXDOMAIN}\tfax@%1.fax" >> /etc/mail/virtusertable make -C /etc/mail /sbin/service sendmail restart cat > /etc/hylafax/faxmail.conf << EOF AutoCoverPage: false TextFont: Verdana TextPointSize: 12pt Headers: Message-id Date Subject From MailUser: faxmail EOF That should get you up and running. This configuration allows you to send faxes to FAXNUMBER@xxxxxxxxxxxxxxxxx. If there are any problems, check /var/log/maillog for details. It's important that the DNS for "fax.mycompany.com" resolves to the fax server, but the fax server's local hostname must not be "fax." If it is, all local email (ie. to root or another user) will be treated by Sendmail as email destined for HylaFAX's faxmail. To avoid this, simply make sure that the server's hostname is something other than "fax." Dave |