Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Squirrelmail+mail-fetchmail Plugin for POP+Cyrus-imapd+Sendmail
Results 1 to 6 of 6

Thread: Squirrelmail+mail-fetchmail Plugin for POP+Cyrus-imapd+Sendmail

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Squirrelmail+mail-fetchmail Plugin for POP+Cyrus-imapd+Sendmail

    Hello!

    I am working on FC2 and cyrus-imapd, sendmail, squirrelmail are installed with it.I have created a system user "ali" with whom i try to login.

    I have added only this line to "imapd.conf" file:

    Code:
    sasl_passwd_check=shadow
    I made no change to sendmail and in squirrelmail "config.php" file i have changed imap server to "cyrus" and added a plugin mail_fetchmail to enable POP.

    I am facing the following problem:

    By default i have the following settings in "config.php" for squirrelmail:

    Code:
    $imap_server_type       = 'cyrus';
    $invert_time            = false;
    $optional_delimiter     = '.';
    
    $default_folder_prefix          = '';
    $trash_folder                   = 'INBOX.Trash';
    $sent_folder                    = 'INBOX.Sent';
    $draft_folder                   = 'INBOX.Drafts';
    and when i try to login i get these errors:

    Code:
    ERROR : Could not complete request.
    Query: CREATE "INBOX.Sent"
    Reason Given: Permission denied
    and

    Code:
    ERROR : Could not complete request.
    Query: SELECT "INBOX"
    Reason Given: Mailbox does not exist
    and if change the settings to:
    and when i tried the settings:

    Code:
    $imap_server_type       = 'cyrus';
    $invert_time            = false;
    $optional_delimiter     = '.';
    
    $default_folder_prefix          = '';
    $trash_folder                   = 'INBOX/Trash';
    $sent_folder                    = 'INBOX/Sent';
    $draft_folder                   = 'INBOX/Drafts';
    I get this error:

    Code:
    ERROR:
    ERROR : Could not complete request.
    Query: CREATE "INBOX/Sent"
    Reason Given: Invalid mailbox name
    and another error:

    Code:
    ERROR:
    ERROR : Could not complete request.
    Query: SELECT "INBOX"
    Reason Given: Mailbox does not exist
    I have tried to find a solution but nothing worked.May be i missed something in the other files which was to be added or enabled or disabled.

    Plz help me with it.

  2. #2
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Smile

    Hello!

    I have changed my imap service to dovecot and facing no problem in logging in now.That's the best solution i found.

  3. #3

    Help Plz

    hey can u tell how to do that i m also getting the same problem with sendmail..

    And i m new to this so plz explain in detail..how change to "dovecot"

    is there any configuration we have to do ??? and wr ???

    -Arun
    arun.mahendran@kumaran.com

  4. #4
    Just make sure to make the mailboxes (with the proper permission) before trying to login with the user. Might be your issue, or at least that's what the errors seem to be saying.
    arrogance breeds ignorance


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  5. #5
    Thanks

  6. #6

    Thumbs up Solution

    honey bee, you may try this:

    Code:
    $imap_server_type       = 'cyrus';
    $invert_time            = false;
    $optional_delimiter     = '/';
    
    $default_folder_prefix          = '';
    $trash_folder                   = 'Trash';
    $sent_folder                    = 'Sent';
    $draft_folder                   = 'Drafts';
    It works fine for me. I used to get the same error which I corrected by making these changes. It's an issue with cyrus.

    I hope this sorts it out for you.

Similar Threads

  1. Squirrelmail, Multiple Imaps and vlogin plugin!
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 06-26-2007, 11:13 AM
  2. Squirrelmail+Dovecot and Sendmail!
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 03-26-2007, 06:38 AM
  3. Squirrelmail+Sendmail+POP ???
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 04-25-2006, 01:11 PM
  4. cyrus + sendmail -=-=> problem !
    By shumer in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 01-23-2006, 10:57 AM
  5. fetchmail's not forwarding mail
    By in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 04-21-2002, 02:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •