Sendmail and Virtual Domains

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

 



Hello.

I've been using Cyrus IMAP for years, but I'n now struggling with 
virtual domains for the first time.
This is a new server, so there are no compatibility issues and I don't 
need a default domain.
I've got most of it working, but I still have two questions...



First, how to configure sendmail?
Forgive me for my limited understanding, but the docs only briefly state:
> You'll have to use the Cyrus mailer in LMTP mode, and you'll have to change the mailer flags so that it provides the full domain while communicating via LMTP. Specifically these changes:
>
> S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP

I tried with "define(`CYRUSV2_MAILER_FLAGS',`S=EnvFromSMTP/HdrFromSMTP, 
R=EnvToSMTP')", but this does not work.
Does this mean I need to modify cyrusv2.m4 (which I'd need to redo after 
every upgrade)?
Right now I copied its content into my sendmail config file and modified 
it, but I don't feel this is a good solution...
Any other way?



Second question: access to "Other Users" does not seem to work properly.
I'm used to give any user access to any other user mailbox through 
cyradm's "sam" command, but in this case it seems this is not enough.

I have:
> lam user.xxx@xxxxxxxxxxx
> xxx@xxxxxxxxxxx lrswipkxtecdan
> myuser lrted

However, logging in as "myuser" does not show xxx@xxxxxxxxxxx:
> # telnet localhost imap
> Trying ::1...
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=SCRAM-SHA-1 AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=NTLM AUTH=LOGIN AUTH=PLAIN SASL-IR] wilbur.aviozzano-guglielmozamboni.it Cyrus IMAP 2.5.4 server ready
> . login myuser XXXXXXXXXXX
> . OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<wilbur.aviozzano-guglielmozamboni.it-14807-1437466138-1-2176882649663833723>
> . LIST "Other Users" *
> . OK Completed (0.000 secs)

Why? How do I solve?



  bye & Thanks
	av.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/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