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:
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
Dave,
Thanks again for your advice. And it seems this SHOULD be
working correctly, however when the mail hits the server I recieve this
in the maillog:
Mar 4 13:26:56 hylafax sendmail[3757]: o24IQtlH003755:
to=<(faxnumber)@
fax.mydomain.com>,
delay=00:00:01, xdelay=00:00:00, mailer=fax, pri=237064,
relay=18776564330, dsn=5.3.4, stat=Service unavailable
Mar 4 13:26:56 hylafax sendmail[3757]: o24IQtlH003755: o24IQulH003757:
DSN: Service unavailable
I am bouncing mail off our primary mail
server into this server using qmail smtproutes. But the fax server
currently resides behind a firewall. So I opened port 25 to the fax
server and put in DNS
fax.mydomain.com
as the firewall static IP so mail gets delivered to it, and it does.
To make the fax server think IT is
fax.mydomain.com I added it to the host file with
the private IP of the fax server, which seems to work, I am not
certain however that this configuration is whats causing the problem,
however I don't see how it could since locally it believes it is
fax.mydomain.com
regardless of the DNS.
Any other suggestions?
Scott