Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!bunyip!metro!usage.csd.unsw.oz.au!syacus!grants From: grants@syacus.acus.oz (Grant Sayer) Newsgroups: comp.mail.sendmail Subject: Sendmail -v mode address testing problems Keywords: sendmail, address parsing, mailer resolution Message-ID: <923@syacus.acus.oz> Date: 3 Aug 90 06:10:19 GMT Organization: Australian Centre for Unisys Software, Sydney Lines: 33 When performing some testing on sendmail handling of addresses the following error message occurs: "buildaddr: no user" Sendmail has been invoked as /usr/lib/sendmail -v /dev/null {address} This problem only occurs when the address matches one particular rewrite rule in S0. The address is something like grants@mhs.donald and matches a rule: R$*<@$=C>$* $#bmailer$@$2:$1 The F macro defines a class of hosts in the file /etc/bhosts, which contains the name 'mhs' (from address above). When the rules are tested in address test mode (sendmail -bt) the address resolves to the correct mailer as shown by the output below: ADDRESS TEST MODE Enter
0 grants@mhs.donald rewrite: ruleset 3 input: "grants" "@" "mhs" "." "donald" rewrite: ruleset 3 returns: "grants" "<" "@" "mhs" "." "donald" ">" rewrite: ruleset 0 input: "grants" "<" "@" "mhs" "." "donald" ">" rewrite: ruleset 3 input: "grants" "@" "mhs" "." "donald" rewrite: ruleset 3 returns: "grants" "<" "@" "mhs" "." "donald" ">" rewrite: ruleset 0 returns: "^V" "btos" "^W" "mhs" "^X" "grants" Can anyone offer any suggestions as to why the error 'buildaddr: no user' occurs ? Thanks In Advance Grant Sayer ACSnet : grants@syacus.acus.oz Internet : grants@syacus.acus.OZ.AU UUCP : uunet!munnari!syacus.acus.oz.au!grants