Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: Mail Server

  1. #21
    Join Date
    Nov 2009
    Location
    Munich, Germany
    Beans
    12
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mail Server

    Hi,

    just came back to this forum after a long time.
    Looking at initial posts of this thread I wonder whether the solution might just be two lines away.
    You say dovecot is working - fine (though not sure how you proved it)
    Now dovecot has on imagination where inbox lies what what format to use. Postfix has one too. Just need to get both in sync.
    In my case this:
    /etc/postfix/main.cf:home_mailbox = Maildir/
    /etc/dovecot/conf.d/10-mail.conf:mail_location = maildir:~/Maildir
    This should give you basic operation. SSL etc. is for further work after this

    Thomas

  2. #22
    Join Date
    Oct 2012
    Location
    Geekland
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Mail Server

    Quote Originally Posted by nerdtron View Post
    You installed iredmail on a *fresh* installation of Ubuntu server 12.04 right?
    You should have any problems. Anyway, go over to the iredmail forums, the developer is very active answering support questions.
    Goodluck!
    Yes, I had a fresh install of Ubuntu 12.04. Rather than exporting an IMG from the Rackspace server I just backed up /home /etc/apache2 /etc/passwd /etc/shadow /etc/group /etc/gshadow and a few others then did a MySQL dump.


    Here is what I did:
    1. Installed Ubuntu 12.04 on my Linode
    2. Downloaded and installed iRedMail
    3. Followed their wiki tutorial on disabling spam/virus scanning but removed rather than disabled Amavisd, ClamAV, and spamassassin, then tested it some but came up with errors:
      • iredadmin
        1. "internal server error" - fixed (vmail database had no tables)
        2. login page --> username, password, enter --> "internal server error" - fixed (forgot to add myself to vmail tables)
        3. then login page --> username, password, enter --> (Admin|Preferences --> Save) --> "Error: (1054, "Unknown column 'language' in 'field list'")" - not fixed and haven't found anything useful

      • roundcube
        1. "DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator." - not fixed but haven't had a chance to search


    4. Imported my MySQL dump
    5. Merged:
      • Apache configs (modifying a few things to use mail.twprogrammers.com instead of any domain)
      • /etc/passwd
      • /etc/shadow
      • /etc/group
      • /etc/gshadow

    6. Installed sks, reprepro, ect.

    So I don't know if anything is working on the mail system...
    Attaching Too big (~3.3MB) so I am uploading to my site: here is the link all configs/logs/dumps related to the mailing system.
    Quote Originally Posted by pft42 View Post
    Hi,

    just came back to this forum after a long time.
    Looking at initial posts of this thread I wonder whether the solution might just be two lines away.
    You say dovecot is working - fine (though not sure how you proved it)
    Now dovecot has on imagination where inbox lies what what format to use. Postfix has one too. Just need to get both in sync.
    In my case this:
    /etc/postfix/main.cf:home_mailbox = Maildir/
    /etc/dovecot/conf.d/10-mail.conf:mail_location = maildir:~/Maildir
    This should give you basic operation. SSL etc. is for further work after this

    Thomas
    You kinda lost me there...
    Last edited by wolfgentleman; January 5th, 2014 at 07:29 PM. Reason: fixed grammar, added link

    Sincerely,
    Patrick Thomas (Timberwolf)


  3. #23
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Mail Server

    If you installed iredmail on a clean VPS, it should have worked fine. Did you test it before importing the password and shadow files?

    That will screw with user/group IDs, which can be a mess to fix.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #24
    Join Date
    Oct 2012
    Location
    Geekland
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Mail Server

    Quote Originally Posted by CharlesA View Post
    If you installed iredmail on a clean VPS, it should have worked fine. Did you test it before importing the password and shadow files?

    That will screw with user/group IDs, which can be a mess to fix.
    Yes

    I also merged php.ini because I increased the upload limit to 25M and some of the error display settings.
    Last edited by wolfgentleman; January 5th, 2014 at 07:36 PM. Reason: added extra info

    Sincerely,
    Patrick Thomas (Timberwolf)


  5. #25
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Mail Server

    Huh. The last time I installed iRedMail was on a Debian Squeeze box, but it should work fine on 12.04.

    If you want to do it on your own terms, check this out (Linode ftw):
    https://library.linode.com/email/pos...ot2.0.19-mysql
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #26
    Join Date
    Oct 2012
    Location
    Geekland
    Beans
    Hidden!
    Distro
    Kubuntu

    Thumbs up Re: Mail Server

    YES! HAHAHAHAHA!
    I finally got it working! Thank you CharlesA! That link fixed everything! Just used Thunderbird to add folders and perfecto! And thank you SeijiSensei for suggesting Linode. It is MUCH better than Rackspace, for $3 more I get 2x the ram and more than 2x the storage and a much more manageable control panel (although the theme is horrendous). I appreciate all of the time y'all took to help me and I am very grateful.

    Sincerely,
    Patrick Thomas (Timberwolf)


Page 3 of 3 FirstFirst 123

Tags for this Thread

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
  •