imapd 2.4.6 sendmail and rtcyrus v3

Mogens Melander mogens at
Wed Apr 13 10:17:09 EDT 2011

On Wed, April 13, 2011 14:52, Joseph Brennan wrote:
> Mogens Melander <mogens at> wrote:
>> My virtusertable has these mappings:
>> postmaster at	testuser at
>> webmaster at	        testuser at
>> domain at		testuser at
>>			error:nouser 550 No such user at
> Sendmail does recursive table lookups, so:
> webmaster at resolves to testuser at
> testuser at resolves to error:nouser
> Use the aliases file, e.g.
> postmaster: testuser
> webmaster: testuser
> domain: testuser
> Joseph Brennan
> Columbia University Information Technology

Hmmm, i would think, as there is only virtual users on the system, that they would be resolved in

I do have mappings in aliases like:

MAILER-DAEMON:	postmaster
postmaster:	root
root:		mogens
mogens:		mogens at

I can se that postmaster at resolves to testuser at when testing on localhost:

# echo '/map virtuser postmaster at' | sendmail -bt

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: virtuser (postmaster at returns testuser at (0)

But receiving from at remote server fail???

remote server:

sendmail[2358]: p3DE7WB2002346: to=<postmaster at>
, ctladdr=<mogens at> (1000/100)
, delay=00:00:06, xdelay=00:00:05, mailer=esmtp, pri=120750
, [111.222.333.444], dsn=5.0.0, stat=User unknown

local server:

sendmail[3779]: p3DE7cRO003779: <postmaster at>... No such user at

I'm lost???


Mogens Melander
+66 8701 33224

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the Info-cyrus mailing list