Re: Debian Newbie: Postfix & cyrus-imapd question HELP PLEASE
- To: James Marcinek <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: Re: Debian Newbie: Postfix & cyrus-imapd question HELP PLEASE
- From: Roberto Sanchez <email@example.com>
- Date: Fri, 21 Jan 2005 17:51:43 -0500
- Message-id: <firstname.lastname@example.org:443>
- In-reply-to: <20050121220353.6733522800A@srv01.jemconsult.biz>
- References: <20050121220353.6733522800A@srv01.jemconsult.biz>
Taking this back on list. Please note, that is not useful to anyone else if
you don't keep the replies on the list. Any additional information or
solutions will not be archived at all. Additionally, it is considered
impolite to reply off-list with what amounts to an invloved tech support
request without prior coordination of some sort.
Quoting James Marcinek <email@example.com>:
> Roberto Sanchez <firstname.lastname@example.org> wrote:
> > Quoting James Marcinek <email@example.com>:
> > It would be very helpful if you were to specify which release of Debian
> > and/or what versions of cyrus, postfix, and opengroupware you are using.
> I believe it's Debian Sarge. I did not do the build on this. Here's the
> -a: (I've changed the hostname)
> Linux debian.domain.name 2.6.8-1-386 #1 Thu Nov 11 12:18:43 EST 2004 i686
You find your Debian release version with 'cat /etc/debian_version'
Though, judging from your kernel, you are running Sarge or Sid.
> As far as versions of the software:
> ii cyrus21-admin 2.1.17-3 Cyrus mail system
> (administration tool)
> ii cyrus21-clients 2.1.17-3 Cyrus mail system
> ii cyrus21-common 2.1.17-3 Cyrus mail system
> ii cyrus21-dev 2.1.17-3 Cyrus mail system
> (developer files)
> ii cyrus21-doc 2.1.17-3 Cyrus mail system
> (documentation files)
> un cyrus21-docs <none> (no description
> ii cyrus21-imapd 2.1.17-3 Cyrus mail system
> ii cyrus21-murder 2.1.17-3 Cyrus mail system
> and aggregator)
> ii cyrus21-pop3d 2.1.17-3 Cyrus mail system
> un cyrus22-common <none> (no description
> pn libauthen-sasl-cyrus-per <none> (no description
> un libcyrus-imap-perl <none> (no description
> ii libcyrus-imap-perl21 2.1.17-3 Interface to Cyrus
> client imclient library
> pn bld-postfix <none> (no description
> pn gforge-mta-postfix <none> (no description
> ii postfix 2.1.5-4 A high-performance
> transport agent
> pn postfix-dev <none> (no description
> pn postfix-doc <none> (no description
> pn postfix-gld <none> (no description
> pn postfix-ldap <none> (no description
> pn postfix-mysql <none> (no description
> pn postfix-pcre <none> (no description
> pn postfix-pgsql <none> (no description
> un postfix-snap <none> (no description
> un postfix-snap-tls <none> (no description
> pn postfix-tls <none> (no description
> un sourceforge-mta-postfix <none> (no description
> pn webmin-postfix <none> (no description
> BTW- I'm not familiar with the output, as such I don't know what 'pn' means
> (pending???). If there are better package information commands to get a
> description, let me know.
> This is version 1.0a...
> > > Now I'm neither a Debian Postfix or cyrus expert to start, but I do
> > > this
> > > running on my RHEL 3 system and I haven't really had any issues. I have
> > > autoquotacreate set to -1 which will allow the addition of mailboxes
> > > automatically, so I've never had to manually add mailboxes.
> > >
> > You have autoquotacreate set to -1 on RHEL, Debian or both? Also, on
> > systems does it function as expected?
> On both. I've done this per instructions on the OGo site and it works on my
> system. I've never had to add a user with the cyradmin utility. I basically
> it up and running and never had to really worry about it...
> > > One of the problems I've had is I can't access cyradm with the cyrus
> > > account? Per some of the system doc's I added the cyrus user with the:
> > > saslpasswd2 -c cyrus
> > Was the cyrus user not added to the system for you by the install
> Yes, I did a passwd and changed the password and tried to get into the
> using it to no avail...
> > > command and verified this with the: sasldblistusers2. When I try to use
> > > cyradmin
> > > this still doesn't allow connection. I know that those commands are part
> > > cyrus-sasl but at this point I'm reaching because I've compared settings
> > > my
> > > working configuration of Postfix and cyrus... I've tried starting the
> > > saslauthd
> > > directory but no processes are running after I issue the command, and
> > > exit
> > > code I get is 0 with no errors.
> > >
> > Check your saslauth configuration and /etc/inetd/conf. If it is set to
> > run as a deamon, you will alwyas see the process running. If it is set
> > run from inetd, then you will see a process when a connection is active.
> > Also check your /etc/hosts.allow to make sure that the connections are
> > allowed.
> There is no entry for the saslauth service in /etc/inetd.conf (nor for imap
> pop3) could someone show me an examples so that I might add these to the
> service? The imap and pop3 information is somewhat confusing about having
> inetd in starting these... Does the cyrmaster control these or should I also
> them in?
> > > Can someone help me out here? In addition to the above:
> > >
> > > - How do I get into the cyradmin with the cyrus account? I've set a
> > > up
> > > for the user ID but I can't login?
> > >
> > Try this (as root):
> > # su - cyrus -c "cyradm -user cyrus localhost"
> > It should prompt you for the password.
> I get the login prompt but I always fail??? I try the cyrus account (as
> in the imapd.conf but I always fail? I use the new password I've created but
> does not allow me in.
> If the autocreatequota feature does not work properly I would still like to
> how to add the mailboxes using cyradmin but I can't get into it.
> One thing, I do not see any imap services running on the Debian system.
> my RHEL system does:
> cyrus 1249 1 0 2004 ? 00:00:03
> /usr/lib/cyrus-imapd/cyrus-master -d
> cyrus 1285 1249 0 2004 ? 00:00:00 imapd -s
> There are more than one active; however I see is that the PPID is owned by
> cyrus-master process. The RHEL system has the following in /etc/rc.d/init.d
> However the Debian distro has the following in /etc/init.d/cyrus21
> as the imap service file and it's running:
> ps -ef |grep cyrus
> cyrus 4489 1 0 Jan18 ? 00:00:00 notifyd
> cyrus 12975 1 0 Jan20 ? 00:00:00 /usr/sbin/cyrmaster -d
> cyrus 12980 12975 0 Jan20 ? 00:00:00 notifyd
> root 16726 16664 0 17:07 pts/0 00:00:00 grep cyrus
> I started this manually but the question is do I still have to add the lines
> > > - Do I still have to add the imap and pop3 lines to /etc/inet.d or is
> > > controlled by cyrmaster? I seen docs indicating to put the lines in and
> > > ones
> > > stating to remove (from inetd.conf)
> > >
> > On my system, they are in inetd.conf
> > > - Do I have to use saslauthd?
> > >
> > Depends on what for. There are a number of different ways to
> > users.
> I know it's required if I was going to use LDAP. The question is when I try
> login to cyradmin what's it authenticating it against (/etc/passwd), PAM, I
> don't know how it is built with Debian?
> > > - Is there a way I can verify if postfix is not running chrooted?
> > >
> > Check /etc/postfix/master.cf. If the line for smtp has a y in the chroot
> > column, then yes it is, otherwise not.
> The changes were in place, I just wanted to know if there was a way to
> this or not...
> > > I've been all of the place reviewing docs and what not. Any help would
> > > relieve
> > > my growing headache!
> > If you tell us which docs you have tried, we might be able to give you
> > better alternatives.
> I can't list all, both in email threads, cyrus docs. BTW - there's cyrus
> cyrus21 as far as packages go, do the docs on Cyrus cover both? or are
> specific docs on both?
Read this HOWTO by Steve Block:
If you have questions after that, then feel free to ask.
This message was sent using IMP, the Internet Messaging Program.