Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac,att!emory!wuarchive!udel!rochester!uhura.cc.rochester.edu!ee.rochester.edu!msirota From: msirota@ee.rochester.edu (Mark Sirota) Newsgroups: comp.mail.sendmail Subject: Help! Sendmail debugging problem Message-ID: <1991Mar18.230044.6450@ee.rochester.edu> Date: 18 Mar 91 23:00:44 GMT Reply-To: Mark Sirota Organization: University of Rochester Department of Electrical Engineering Lines: 52 Okay, so I've written this slick new sendmail.cf that I really like and that does everything I want and is really short and easy to read and low maintenance and all kinds of other wonderful things. It only has one problem - it doesn't work. I've gone through a number of tests and used a number of sendmail test suites that have been passed by this forum before, and everything looks peachy-keen. I expected it to just work when I installed it. The problem is that mail to any local address just gets lost. What appears to be happening, from the messages logged via syslog, is that they are dying with "User unknown". Then when they try to bounce, the return letter also gets lost with "User unknown", and so when it tries to get to Postmaster, it also gets lost with "User unknown". When I try to test a local address with sendmail -bt, it resolves just fine to the local mailer: > ADDRESS TEST MODE > Enter
> > 0 msirota > rewrite: ruleset 3 input: "msirota" > rewrite: ruleset 5 input: "msirota" > rewrite: ruleset 5 returns: "msirota" > rewrite: ruleset 3 returns: "msirota" > rewrite: ruleset 0 input: "msirota" > rewrite: ruleset 14 input: "msirota" > rewrite: ruleset 14 returns: "msirota" > rewrite: ruleset 0 returns: $# "local" $: "msirota" But mail to msirota, gets lost and the following shows up in syslog (simplified somewhat for readability): > Mar 18 17:03:21 sendmail: AA07244: from=msirota, size=88, class=0 > Mar 18 17:03:29 sendmail: AA07244: to=msirota, delay=00:00:20, stat=User unknown > Mar 18 17:03:29 sendmail: AA07247: from=MAILER-DAEMON, size=0, class=0 I suspect that something is happening with the local-mailer rewriting rulesets, which fully qualify the names, changing "msirota" to "msirota@ee.rochester.edu". Now, I don't see why that should cause a problem. I mean, it has already resolved to the local mailer, and $u should be "msirota" rather than "msirota@ee.rochester.edu", right? Or is $u then passed through the mailer-specific ruleset before final delivery or something? I thought that only happened to the header addresses, not the envelope addresses. What on earth could be going on here? Please help me out. I'm at a loss... -- Mark Sirota - Department of Electrical Engineering University of Rochester, Rochester NY Internet: msirota@ee.rochester.edu UUCP: {decvax,garp,harvard,hombre,rutgers}!rochester!ur-valhalla!msirota