|
From: Robert M. <rg...@ht...> - 2006-06-15 21:46:38
|
Bit off topic, but I want to use Webmin to set up the procmail filter. I am ASSuMing I have procmail installed. There are some things in my M4 configuration for sendmail that seems to indicate this. Now I am setting up Asterfax. Asterfax wants incoming faxs to be deposited in a directory like: /var/spool/asterfax/inbox My host is sip.htt-consult.com. I want mail for fax.htt-consult.com to go into the asterfax inbox directory. first I set up a CNAME for fax.domain.com Then I add a local domain to sendmail of fax.htt-consult.com and a procmail entry of :0 * ^(To|Cc|Bcc).*@fax.htt-consult.com /var/spool/asterfax/inbox/ (created with Webmin add new filter action) I send an email to 74...@fa... and I see in /var/log/maillog that the to get rewritten to 74...@si... and there is no user 747. Message is rejected. Jun 15 17:16:51 sip sendmail[3172]: k5FLGpeM003172: <74...@si...>... User unknown Jun 15 17:16:51 sip sendmail[3172]: k5FLGpeM003172: from=<rg...@ht...>, size=974, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[65.84.78.211] So local domain is not the answer. Then I try domain routing (mailertable). I create the entry: fax.htt-consult.com procmail: and spam control (access) fax.htt-consult.com OK seems good. But maillog says: Jun 15 17:26:15 sip sendmail[3252]: k5FLQFXX003252: fro...@si..., size=431, class=0, nrcpts=1, msgid=<115...@si...>, relay=root@localhost Jun 15 17:26:15 sip sendmail[3252]: k5FLQFXX003252: to...@fa..., ctl...@si... (100/101), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30431, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Oh, since there is a user asterisk on this system, I am using Webmins user mail to send the test messages discussed above. I can't figure out what sendmail did with the message when it got the connection refused.... Oh, I switched to Thunderbird mail from Eudora and still shaking things out... |