![]() |
Hi Gregory: Thank you very much for your help. My real host is nova.red.3ilinux.com, and my supposed fax-related host name is mail0.red.3ilinux.com that also has an A record. The IP of the both host names is 209.184.180.135. After I changed your suggested rule (Ruleset 96 in the bottom half of ruleset 3), all mails to mail0.red.3ilinux.com go to nova.red.3ilinux.com. Even in my test case. Thank you very much for your help. Regards, George -----Original Message----- From: Gregory Neil Shapiro To: George Liu Cc: 'hyla '; 'sendmail-questions@sendmail.org' Sent: 6/11/00 7:11 PM Subject: [hylafax-users] Re: Mailfax Gateway, which Rewriting rule should be use? gliu> I want to use faxmail to deliver an email from the address like gliu> 1233@fax.myrealdomain to the fax number 1233 via george@1233.FAX. The gliu> pseudo-domain FAX is default in hylafax as MUA fax. I re-wrote the gliu> ruleset 3 in sendmail.cf with the following gliu> R$-@fax.myrealdomain < george @ $1 .FAX. > This doesn't look correct. Assuming you are using m4 to generate a sendmail.cf and *NOT* hand editing your .cf file, it should be: LOCAL_RULE_3 R$+ < @ fax.myrealdomain . > $: george < @ $1 . FAX . > gliu> That works in testing rule : sendmail -bt gliu> And also works for sending fax from the localhost : localhost# mail gliu> 1234 gliu> But it doesn't work for receiving emails outside the localhost. The gliu> destination goes to local delivery instead of fax delivery. Sounds like you didn't restart the running daemon so it is using an older configuration. Of course, you didn't give us real data so we can't check if DNS is setup properly. ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null