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 16:30, Joseph Brennan wrote:
>
>
> --On Wednesday, April 13, 2011 16:14 +0200 Mogens Melander
> <mogens@xxxxxxxxxxxxx> wrote:
>
>> I can se that postmaster@xxxxxxxxxxx resolves to testuser@xxxxxxxxxxx
>> when testing on localhost:
>>
>># echo '/map virtuser postmaster@xxxxxxxxxxx' | sendmail -bt
>>
>
>
> Sure, but then resolve:-
>
> echo '/map virtuser testuser@xxxxxxxxxxx' | sendmail -bt
>
> because that's what sendmail does. For this to work you'll need to
> define testuser@xxxxxxxxxxx going to some address not @example.com.
>
> Joseph Brennan
> Columbia University Information Technology

Ok, testuser@xxxxxxxxxxx is a virtual user in imap's world, and i
would expect sendmail to resolve using SMMAP_SOCKET

# echo '/map cyrus testuser@xxxxxxxxxxx' | sendmail -bt

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

I have a feeling this might be a problem in my sendmail.mc file:

divert(0)dnl
VERSIONID(`$Id: trader-internet.mc,v 2.0 (rtcyrus3) 2011/04/11 19:30 mogens melander Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
#
FEATURE(`access_db')dnl
FEATURE(`virtusertable')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(nocanonify)dnl
FEATURE(always_add_domain)dnl
#
dnl ## Cyrus imap config
#
LOCAL_CONFIG
dnl ## list of virtual cyrus domains
dnl ## C{VCyrusDomains} example.com example.net
F{VCyrusDomains}/etc/mail/cyrus-virtual-domains
dnl # socket map socket location serviced by cyrus
define(`SMMAP_SOCKET',`/var/imap/socket/smmapd')dnl
dnl # lmtp socket location serviced by cyrus
define(`CYRUS_LMTP_SOCKET',`/var/imap/socket/lmtp')dnl
#
FEATURE(`anfi/vcyrus')dnl
#
MAILER(`anfi/cyrusv3')dnl
MAILER(smtp)dnl
MAILER(local)dnl

-- 
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