Re: KMail Error with IMAP Inbox folder?

From: Amnon Feiner (none_at_none.com)
Date: 10/31/05


Date: Mon, 31 Oct 2005 17:40:54 GMT

On Mon, 31 Oct 2005 16:30:45 +0100, David Wright wrote:

> Amnon Feiner wrote:
>
>> David Wright wrote:
>>
>>> Thanks for the clarification, your original post sounded like you weren't
>>> clear on the concepts of IMAP ;-)
>> The problem was isolated to the Windows Bases workgroup Mail server.
>> Will talk to their support today. I could not install my own Linux IMAP
>> server, since I simply did not get it (how it works).
>
> Posted a mini-HowTo for Cyrus last week, but here it is again...
>
> The easiest way to configure is through YaST, took me about 5 minutes to set
> it up to pull in e-mail from 5 separate ISP accounts and dump them in my
> Cyrus IMAP server.
>
> Cyrus took about 10 minutes to set-up and configure, use the
> System->Runlevel-Editor in Yast to make sure it is turned on.
>
> Use the Network Services->Mail Transfer Agent to configure fetchmail.
>
> ...
>
> Step 1. If you don't have the packages locally, set-up a software source
> under Software->Installation Source(? I use German language).
>
> Type: FTP
> Server: An FTP mirror such as ftp.gwdg.de
> Path: depends on mirror, but for the above it is
> "pub/linux/suse/ftp.suse.com/pub/suse/i386/9.3" for SuSE 9.3
>
> Step 2 in the Software section, select "Install or remove
> Software" (Software management?) and search for and check the following
> packages for install:
>
> amavisd-new, cyrus-imapd and fetchmail - fetchmail should be installed on
> your machine by now I guess.
>
> Yast should automatically take care of any dependencies.
>
> Step 3. Go to Network Services->Mail Transfer Agent
>
> select your connection type, if you have DSL, then it will be a Permanent
> connection, check the box at the bottom of the form to do virus checking
> with amavis if you want to check incoming e-mails.
>
> Click Next, here you must specify the outgoing SMTP mail server, give the
> server name in the box and click on Authentication and give the relevant
> user id and password here.
>
> Click Next, now we are setting up the receiving of the e-mail.
> Check the remote SMTP connections, this will allow Cyrus to talk to
> fetchmail. If you have the firewall running, check the open firewall port
> option.
>
> Next give the information for the main e-mail account to be received and at
> the bottom of that section, specify the local user to whom the mail should
> be sent.
>
> If you have more than one e-mail account, click on Details and add the rest.
> I currently have 5 separate accounts to download and it works fine. Once
> you have added all the accounts, click OK to return to the wizard.
>
> You can also choose to send "root" (i.e. symstem messages generated as
> e-mail) to another user, I have this set to my main user as well.
>
> The select the delivery mode or whatever it is called at the bottom and
> select "on Cyrus IMAP-Server"
>
> Click Finish. Fetchmail has now been set-up.
>
> Step 4. YaST->System->Runlevel Editor.
>
> Here you get a list services which can be turned on or off. You need to turn
> on amavis and cyrus to allow virus checking and IMAP e-mail (assuming you
> are using the Cyrus IMAP server as described in this post ;-) ).
>
> Also make sure sasld is running, Cyrus uses it to authenticate users.
>
> Click Finish once it is set-up.
>
> Step 5. Start up a root session in a terminal windows.
>
> Step 6. change the password of the "cyrus" account using "passwd cyrus" by
> default it doesn't have a password, so should be changed!
>
> Step 7. Check /etc/imapd.conf and make sure the option "sasl_mech_list:" is
> set to PLAIN to allow normal authentication - if you want to use encrypted
> authentication, I would still use PLAIN first, to get everything up and
> working; once it works, then you can play around with setting up
> encryption. There is no point in trying to work out why the mail isn't
> coming through, when it is the encrypted authentication which is causing
> the problem ;-)
>
> Step 8. Restart the server. Either stop-and-start it in the runlevel editor,
> or from the terminal window we are working with, issue a
> restart: /etc/init.d/cyrus restart
>
> Step 9. Now we need to configure Cyrus there is a web tool to do this, but
> from the command line:
>
> cyradm -u cyrus localhost (if you are configuring from another machine,
> replace localhost with the server name/IP address)
>
> Use the cm (createmailbox) command to create a user.
>
> cm user.<username>
>
> This creates a user with the username which should be the same local name
> that you forwarded the email to in the fetchmail configuration above! Rinse
> and repeat for all users that you want to create. This creates a basic user
> account with an "Inbox".
>
> Use lam user.<username> to list the rights of the mailbox. The rights are
> (l)ookup, (r)ead and (p)ost among others, see list below.
>
> The sam command can be used to set the appropriate rights for the mail box.
>
> You could, for example, create a public mailing list folder with
>
> cm pub.MailingLists
> sam pub.MailingLists anyone lrs
>
> This would create a public access folder with lookup, read and seen
> privileges.
>
> That's pretty much it... You can now configure your mail client to talk to
> the cyrus mail server via IMAP.
>
> If you want server side filtering you can use the Sieve addon, which should
> be in the main package. This allows moving e-mails to different folders or
> auto-forwarding I think, I haven't played with it.
>
> Mailbox rights list:
> lookup Can get a listing of mails in the folder.
> read Can read mails in the folder.
> seen Can mark messages as read
> write Can write (store) new messages in this folder
> insert Can copy/move mails to this folder
> post Users can send directly to the folder (e.g.
> <username>+folder@example.com)
> Create Can create sub-folders off of this folder.
> Delete Can delete mails from this folder (and the folder itself)
> Administer Can change the rights on the folder.
>
>
> I hope this helps.
>
> Dave

Dave

Thanks, I will try again tonight. It does take 5 to 10 minutes WHEN YOU
KNOW WHAT YOU ARE DOING :-)
I will give it a shot again, I do not give up that easily.
TIA

-- 
Amnon Feiner
http://www.woodcontour.com
Solid Wood and Stone PC Peripherals.


Relevant Pages

  • EXIM4 + courier-imap-ssl, how to enable starting a TLS session?
    ... What I wish to do is read my IMAP ... server, says TLS is supported and mail arrives in the IMAP folder. ... # A lot of the stuff here is documented in the manual page for couriertcpd. ...
    (Debian-User)
  • Re: IMAP not defaulting sent/drafts folder
    ... a rule to save sent items on an IMAP Server, ... Please refer to the following KB article to save Sent Items on an IMAP ... Click the folder from which you want to remove deleted messages. ... Microsoft is providing this information as a convenience to you. ...
    (microsoft.public.windows.server.sbs)
  • Re: Setting up my own mail server
    ... Cyrus IMAP server. ... Use the Network Services->Mail Transfer Agent to configure fetchmail. ... This would create a public access folder with lookup, ...
    (alt.os.linux.suse)
  • Re: Email enable doc lib
    ... navigate to the public folder and send some posts with attachments to the ... Microsoft CSS Online Newsgroup Support ... I have disabled forms base Athentication from the default V.Smtp server ...
    (microsoft.public.windows.server.sbs)
  • RE: Email receiving problems
    ... # when used with the couriertcpd server. ... # the standard IMAP port. ... # the server polls for changes to the folder, ... Not all IMAP clients use the IMAP's new mail ...
    (Debian-User)