Re: how to set interface specific options?

2005-03-11 Thread Jukka Salmi
Baltasar Cevc --> info-cyrus (2005-03-11 15:58:48 +0100):
[...]
> I don't think there is any configuration options for this; However:
> A simple workaround is to specify two services, bind them to the
> different interfaces.
[...]
> Then create two different config files containing the settings for the
> interfaces (/etc/imapd.conf and /etc/imapd-external.conf in my example).
> 
> Hope that helps,

It does, this works very well. Thanks!

Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: how to set interface specific options?

2005-03-11 Thread Baltasar Cevc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Jukka,
I don't think there is any configuration options for this; However:
A simple workaround is to specify two services, bind them to the
different interfaces.
SERVICES {
~  imap  cmd="/bin/imapd" listen="cyrus.juz-kirchheim.de:imap"
imapexterncmd="/bin/imapd -C /etc/imapd-external.conf"
listen="erde.extern.juz-kirchheim.de:imap" prefork=1 maxchildren=5
~  ...
}
Then create two different config files containing the settings for the
interfaces (/etc/imapd.conf and /etc/imapd-external.conf in my example).
Hope that helps,
Greetings from Regensburg,
Germany
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCMbIop2YsmzTbIwYRAuA6AKCd981qVAJ86wKKuDmyCxFoxdWrFACfX/+I
eLhTEcU0HHARJ/Yg86Q+iEA=
=snRg
-END PGP SIGNATURE-
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


how to set interface specific options?

2005-03-11 Thread Jukka Salmi
Hi,

I'm using Cyrus IMAP4 v2.2.12.

I'd like to allow plaintext passwords only for connections to localhost,
and to deny them otherwise. Is this possible? If yes, how?

Maybe I could use multiple imap services in cyrus.conf, each listening on
a different address, and each using a different config file (imapd -C).
Should this work (haven't tried so far)?

Hints are welcome!


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html