imapd 2.4.6 sendmail and rtcyrus v3
Mogens Melander
mogens at fumlersoft.dk
Wed Apr 13 10:17:09 EDT 2011
On Wed, April 13, 2011 14:52, Joseph Brennan wrote:
>
> Mogens Melander <mogens at fumlersoft.dk> wrote:
>
>> My virtusertable has these mappings:
>>
>> postmaster at example.com testuser at example.com
>> webmaster at example.com testuser at example.com
>> domain at example.com testuser at example.com
>> @example.com error:nouser 550 No such user at example.com
>
> Sendmail does recursive table lookups, so:
>
> webmaster at example.com resolves to testuser at example.com
> testuser at example.com 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 at trader-internet.dk
I can se that postmaster at example.com resolves to testuser at example.com when testing on localhost:
# echo '/map virtuser postmaster at example.com' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: virtuser (postmaster at example.com) returns testuser at example.com (0)
But receiving from at remote server fail???
remote server:
sendmail[2358]: p3DE7WB2002346: to=<postmaster at example.com>
, ctladdr=<mogens at domain.com> (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 at example.com>... 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.
More information about the Info-cyrus
mailing list