Re: imapd 2.4.6 sendmail and rtcyrus v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, April 13, 2011 14:52, Joseph Brennan wrote:
>
> Mogens Melander <mogens@xxxxxxxxxxxxx> wrote:
>
>> My virtusertable has these mappings:
>>
>> postmaster@xxxxxxxxxxx	testuser@xxxxxxxxxxx
>> webmaster@xxxxxxxxxxx	        testuser@xxxxxxxxxxx
>> domain@xxxxxxxxxxx		testuser@xxxxxxxxxxx
>> @example.com			error:nouser 550 No such user at example.com
>
> Sendmail does recursive table lookups, so:
>
> webmaster@xxxxxxxxxxx resolves to testuser@xxxxxxxxxxx
> testuser@xxxxxxxxxxx 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
virtusertable.

I do have mappings in aliases like:

MAILER-DAEMON:	postmaster
postmaster:	root
root:		mogens
mogens:		mogens@xxxxxxxxxxxxxxxxxx

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

# echo '/map virtuser postmaster@xxxxxxxxxxx' | sendmail -bt

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

But receiving from at remote server fail???

remote server:

sendmail[2358]: p3DE7WB2002346: to=<postmaster@xxxxxxxxxxx>
, ctladdr=<mogens@xxxxxxxxxx> (1000/100)
, delay=00:00:06, xdelay=00:00:05, mailer=esmtp, pri=120750
, relay=mail.example.com. [111.222.333.444], dsn=5.0.0, stat=User unknown

local server:

sendmail[3779]: p3DE7cRO003779: <postmaster@xxxxxxxxxxx>... No such user at example.com

I'm lost???

-- 
Later

Mogens Melander
+66 8701 33224


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

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux