Path: utzoo!attcan!uunet!ingr!b11!ryan From: ryan@b11.ingr.com (Ryan Waldron) Newsgroups: comp.mail.sendmail Subject: Sendmail.cf woes Message-ID: <9208@b11.ingr.com> Date: 25 Oct 90 20:19:13 GMT Reply-To: waldronr@ingr.com (Ryan Waldron) Organization: Intergraph Corp. Huntsville, AL Lines: 63 [ I tried to post this earlier, but I don't think it made it out alive. Sorry if you see this twice. ] 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. Anyway, thanks for any help you can give me, and I hope that I have sufficiently described the problem. -- Ryan Waldron X4150 | "With glory and passion, waldronr@ingr.com | no longer in fashion, ...!uunet!ingr!aladdin!ryan | the hero breaks his blade." - Kansas -- Ryan Waldron X4150 | "With glory and passion, waldronr@ingr.com | no longer in fashion, ...!uunet!ingr!aladdin!ryan | the hero breaks his blade." - Kansas