Multiple domains, Cyrus won't listen!

Ray Anderson rsa at i-deasatwork.com
Wed Sep 11 19:39:13 EDT 2002


> You need to specify for each domain wich ip to bind to, for example:
>
> SERVICES {
>   # tviund.is
>   imap          cmd="imapd -C /etc/imapd.conf"
> listen="194.144.146.145:imap"
> prefork=1
>   pop3          cmd="pop3d -C /etc/imapd.conf"
> listen="194.144.146.145:pop3"
> prefork=1
>   sieve         cmd="timsieved -C /etc/imapd.conf"
> listen="194.144.146.145:sieve" prefork=0
>   lmtpunix      cmd="lmtpd -C /etc/imapd.conf"
> listen="/var/imap/socket/lmtp" prefork=1
>
>
> etc. etc.
>
> --
> Veigar Freyr Jökulsson
> veigar at tviund.is
>

Thank you for your reply, however I've tried it with the hostname, the ip
address, and the bracketed ip address as shown below:

> > # UNIX sockets start with a slash and are put into /var/imap/socket
> > SERVICES
> > {
> >   # domain1
> >   imap-d1                cmd="imapd -C /etc/cyrus/domain1.conf"
listen="d1.localdomain.com:imap" prefork=1
> >   pop3-d1                cmd="pop3d -C /etc/cyrus/domain1.conf"
listen="d1.localdomain.com:pop3" prefork=1
> >   lmtpunix-d1            cmd="lmtpd -C /etc/cyrus/domain1.conf"
listen="/var/imap/domain1.com/socket/lmtp" prefork=1
> >
> >   # domain2
> >   imap-d2                cmd="imapd -C /etc/cyrus/domain2.conf"
listen="d2.localdomain.com:imap" prefork=1
> >   pop3-d2                cmd="pop3d -C /etc/cyrus/domain2.conf"
listen="d2.localdomain.com:pop3" prefork=1
> >   lmtpunix-d2            cmd="lmtpd -C /etc/cyrus/domain2.conf"
listen="/var/imap/domain2.com/socket/lmtp" prefork=1
> >
> >   # domain3
> >   imap-d3                cmd="imapd -C /etc/cyrus/domain3.conf"
listen="d3.localdomain.com:imap" prefork=1
> >   pop3-d3                cmd="pop3d -C /etc/cyrus/domain3.conf"
listen="d3.localdomain.com:pop3" prefork=1
> >   lmtpunix-d3            cmd="lmtpd -C /etc/cyrus/domain3.conf"
listen="/var/imap/domain3.com/socket/lmtp" prefork=1
> > }

also attempted like this:

> > # UNIX sockets start with a slash and are put into /var/imap/socket
> > SERVICES
> > {
> >   # domain1
> >   imap-d1                cmd="imapd -C /etc/cyrus/domain1.conf"
listen="1.1.1.1:imap" prefork=1
> >   pop3-d1                cmd="pop3d -C /etc/cyrus/domain1.conf"
listen="1.1.1.1:pop3" prefork=1
> >   lmtpunix-d1            cmd="lmtpd -C /etc/cyrus/domain1.conf"
listen="/var/imap/domain1.com/socket/lmtp" prefork=1
> >
> >   # domain2
> >   imap-d2                cmd="imapd -C /etc/cyrus/domain2.conf"
listen="1.1.1.2:imap" prefork=1
> >   pop3-d2                cmd="pop3d -C /etc/cyrus/domain2.conf"
listen="1.1.1.2:pop3" prefork=1
> >   lmtpunix-d2            cmd="lmtpd -C /etc/cyrus/domain2.conf"
listen="/var/imap/domain2.com/socket/lmtp" prefork=1
> >
> >   # domain3
> >   imap-d3                cmd="imapd -C /etc/cyrus/domain3.conf"
listen="1.1.1.3:imap" prefork=1
> >   pop3-d3                cmd="pop3d -C /etc/cyrus/domain3.conf"
listen="1.1.1.3:pop3" prefork=1
> >   lmtpunix-d3            cmd="lmtpd -C /etc/cyrus/domain3.conf"
listen="/var/imap/domain3.com/socket/lmtp" prefork=1
> > }

and attempted like this:

> > # UNIX sockets start with a slash and are put into /var/imap/socket
> > SERVICES
> > {
> >   # domain1
> >   imap-d1                cmd="imapd -C /etc/cyrus/domain1.conf"
listen="[1.1.1.1]:imap" prefork=1
> >   pop3-d1                cmd="pop3d -C /etc/cyrus/domain1.conf"
listen="[1.1.1.1]:pop3" prefork=1
> >   lmtpunix-d1            cmd="lmtpd -C /etc/cyrus/domain1.conf"
listen="/var/imap/domain1.com/socket/lmtp" prefork=1
> >
> >   # domain2
> >   imap-d2                cmd="imapd -C /etc/cyrus/domain2.conf"
listen="[1.1.1.2]:imap" prefork=1
> >   pop3-d2                cmd="pop3d -C /etc/cyrus/domain2.conf"
listen="[1.1.1.2]:pop3" prefork=1
> >   lmtpunix-d2            cmd="lmtpd -C /etc/cyrus/domain2.conf"
listen="/var/imap/domain2.com/socket/lmtp" prefork=1
> >
> >   # domain3
> >   imap-d3                cmd="imapd -C /etc/cyrus/domain3.conf"
listen="[1.1.1.3]:imap" prefork=1
> >   pop3-d3                cmd="pop3d -C /etc/cyrus/domain3.conf"
listen="[1.1.1.3]:pop3" prefork=1
> >   lmtpunix-d3            cmd="lmtpd -C /etc/cyrus/domain3.conf"
listen="/var/imap/domain3.com/socket/lmtp" prefork=1
> > }

Still no joy.

????


Thanks!

-=Ray
-----------------------------------------------
Ray Anderson
Senior Business Analyst
PRIDE Industries
Office: 916.788.2444
Cell: 916.798.9439
rsa at prideindustries.com
www.prideindustries.com
-----------------------------------------------

There is a peculiar gratification in receiving congratulations from one's
squadron for a victory in the air. It is worth more to a pilot than the
applause of the whole outside world. It means that one has won the
confidence of men who share the misgivings, the aspirations, the trials and
the dangers of aeroplane flying.
Captain Edward V. "Eddie" Rickenbacker, USAS, Leading US WWI Ace, 26
Victories




More information about the Info-cyrus mailing list