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

Re: Debian Newbie: Postfix & cyrus-imapd question HELP PLEASE



My bad, my reply didn't send to the list, but to you. Just wanted to let you
know that document really did the trick!

Thanks,

James

Roberto Sanchez <roberto@familiasanchez.net> wrote: 
> 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 <jmarc1@jemconsult.biz>:
> 
> > Roberto Sanchez &lt;roberto@familiasanchez.net&gt; wrote: 
> > > Quoting James Marcinek <jmarc1@jemconsult.biz>:
> [SNIP]
> > > 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
> > uname
> > -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
> > GNU/Linux
> > 
> 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:
> > 
> > CYRUS:
> > 
> > ii  cyrus21-admin            2.1.17-3                 Cyrus mail system
> > (administration tool)
> > ii  cyrus21-clients          2.1.17-3                 Cyrus mail system
> > (test
> > clients)
> > ii  cyrus21-common           2.1.17-3                 Cyrus mail system
> > (common
> > files)
> > 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
> > available)
> > ii  cyrus21-imapd            2.1.17-3                 Cyrus mail system
> > (IMAP
> > support)
> > ii  cyrus21-murder           2.1.17-3                 Cyrus mail system
> > (proxies
> > and aggregator)
> > ii  cyrus21-pop3d            2.1.17-3                 Cyrus mail system
> > (POP3
> > support)
> > un  cyrus22-common           <none>                   (no description
> > available)
> > pn  libauthen-sasl-cyrus-per <none>                   (no description
> > available)
> > un  libcyrus-imap-perl       <none>                   (no description
> > available)
> > ii  libcyrus-imap-perl21     2.1.17-3                 Interface to Cyrus
> > imap
> > client imclient library
> > 
> > 
> > Postfix:
> > 
> > pn  bld-postfix              <none>                   (no description
> > available)
> > pn  gforge-mta-postfix       <none>                   (no description
> > available)
> > ii  postfix                  2.1.5-4                  A high-performance
> > mail
> > transport agent
> > pn  postfix-dev              <none>                   (no description
> > available)
> > pn  postfix-doc              <none>                   (no description
> > available)
> > pn  postfix-gld              <none>                   (no description
> > available)
> > pn  postfix-ldap             <none>                   (no description
> > available)
> > pn  postfix-mysql            <none>                   (no description
> > available)
> > pn  postfix-pcre             <none>                   (no description
> > available)
> > pn  postfix-pgsql            <none>                   (no description
> > available)
> > un  postfix-snap             <none>                   (no description
> > available)
> > un  postfix-snap-tls         <none>                   (no description
> > available)
> > pn  postfix-tls              <none>                   (no description
> > available)
> > un  sourceforge-mta-postfix  <none>                   (no description
> > available)
> > pn  webmin-postfix           <none>                   (no description
> > available)
> > 
> > 
> > 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
> > better
> > description, let me know.
> > 
> > OPENGROUPWARE:
> > 
> > This is version 1.0a...
> > 
> > > > Now I'm neither a Debian Postfix or cyrus expert to start, but I do
> > have
> > > > this
> > > > running on my RHEL 3 system and I haven't really had any issues. I have
> > the
> > > > 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
> > which
> > > systems does it function as expected?
> > On both. I've done this per instructions on the OGo site and it works on my
> > RHEL
> > system. I've never had to add a user with the cyradmin utility. I basically
> > got
> > 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
> > user
> > > > 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
> > scripts?
> > Yes, I did a passwd and changed the password and tried to get into the
> > cyradmin
> > 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
> > of
> > > > cyrus-sasl but at this point I'm reaching because I've compared settings
> > to
> > > > 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
> > the
> > > > 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
> > to
> > > 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
> > and
> > 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
> > the
> > inetd in starting these... Does the cyrmaster control these or should I also
> > put
> > 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
> > password
> > > > 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
> > defined
> > in the imapd.conf but I always fail? I use the new password I've created but
> > it
> > does not allow me in. 
> > 
> > If the autocreatequota feature does not work properly I would still like to
> > know
> > 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.
> > However
> > 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
> > the
> > cyrus-master process. The RHEL system has the following in /etc/rc.d/init.d
> > 
> > cyrus-imapd
> > 
> > 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
> > to
> > /etc/inetd.conf?
> > 
> >  
> > > 
> > > > - Do I still have to add the imap and pop3 lines to /etc/inet.d or is
> > this
> > > > 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
> > authenticate
> > > users.
> > I know it's required if I was going to use LDAP. The question is when I try
> > to
> > 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
> > verify
> > 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
> > and
> > cyrus21 as far as packages go, do the docs on Cyrus cover both? or are
> > there
> > specific docs on both?
> > 
> > james
> > 
> > 
> > 
> 
> Read this HOWTO by Steve Block:
> 
> http://www.steveblock.com/2004/12/01/debian-sarge-mail-system/
> 
> If you have questions after that, then feel free to ask.
> 
> -Roberto
> 
> -- 
> Roberto Sanchez
> http://familiasanchez.net/~sanchezr
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 




Reply to: