Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ingr!b11!aladdin!ryan From: ryan@aladdin.ingr.com (Ryan Waldron) Newsgroups: comp.mail.sendmail Subject: sendmail.cf woes Message-ID: <133@aladdin.ingr.com> Date: 11 Oct 90 21:53:52 GMT Reply-To: waldronr@ingr.com (Ryan Waldron) Organization: Intergraph Corp. Huntsville, AL Lines: 58 I am trying set up a sendmail.cf file which will intercept messages on their way to a specific host, and send the message off to a special program which I have defined as a mailer. My problem (one of them, anyway) is this: When I run sendmail in debug mode, as in sendmail -bt -d21.22 and do something like > 0 weirdhost!12345 , it goes trundling through the rules, until it properly resolves to $# handler $1 . The relevant rules lines are: # Here's the special mailer Mhandler, P=/usr/bin/handler, F=lsDFmUP, A=handler $u These are right under the definition for the local and prog mailers] and then the first lines in S0, # Check for special host R$=F!$- $# handler $2 R$-<@$=F.UUCP> $# handler $1 and, finally, class F is defined as # list of hostnames I wish to intercept CFweirdhost So, can anyone tell me why, then, when I send a message from my mailer that is going to weirdhost!12345, the message ends up being queued for uucp delivery (which is quite wrong). Why doesn't sendmail recognize the address when running For Real (tm), when it recognizes it most peachily when I am running in debug mode. What's the deal? Am I doing the debug mode improperly? I apologize if this is a really stupid question, but I have read what documentation that I know of (plus all the message in this group for some time - even the ones I didn't understand at all) for weeks, and I have no idea why this discrepancy occurs. BTW, I would be willing to make a phone call to practically anywhere in North America if it would make it easier for some helpful soul to bail me out of this mess. One more small note before I go: I will be gone for about a week-and-a-half after Friday (10/12), but this will still be a problem for me when I get back, so please feel free to email or post responses. I just wanted to make it clear that no response from me would NOT indicate that I was ignoring you, just that I am traveling (on a honeymoon, no less). Anyway, thanks for any help you can give me, and I hope that I have sufficiently described the problem.