HylaFAX The world's most advanced open source fax server

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

Mailing from another system to hylafax server



 Hi. Thanks to all who help me lately.  Here's another problem I'd really apreciated help with.
 
 I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34
 
 I've edited sendmail.cf (using m4 macros!) and I can send faxes to predefined users in /etc/aliases and user@5551212.fax.


When I send mail from the local system to user@5551212.fax it works great.

But, how can I send mail to my fax server from another system?

If I try to mail to: user@5551212.crncare.org it bounces back with user unknown! Which makes sense!

Is the trick to setup another domain called fax.crncare.org ? 

here is a copy of sendmail.cf file


What's the trick ?


############## Start of sendmail.mc ###################
divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
define(`FAX_MAILER_ARGS', `faxmail -n -d $u@$h $f')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
MAILER(fax)
HACK(check_mail3,`hash -a@JUNK /etc/mail/deny')
HACK(use_ip,`/etc/mail/ip_allow')
HACK(use_names,`/etc/mail/name_allow')
HACK(use_relayto,`/etc/mail/relay_allow')
HACK(check_rcpt4)
HACK(check_relay3)
################ End of sendmail.mc ###################




Project hosted by iFAX Solutions