I'm new here, and late to the party, just received my first RPi a few days ago -
Model B rev 2
16GB Apacer Class 10 card
1 Amp PSU + good quality Micro SD USB cable
The installation of Raspbian has gone well, and I have installed and configured various software, from the very basic 'htop' through to Postfix and Apache (2).
I have a server running at home with Ubuntu/LAMP/Postfix/Dovecot that is working well, that I originally used Tasksel to set up, but later did a complete re-install and installed those packages individually using apt-get, and it has been running well for some time.
The trouble I am running into, is trying to get Dovecot installed...
I have tried Tasksel many times, with a complete reinstall of Raspbian in between tries - Tasksel just errors out with error 100, which I think many have encountered - has ANYONE actually got a mailserver installed successfully on the RPi with Tasksel?
Possibly related, is trying to install Dovecot using apt-get. Some packages install okay, but specifcally 'dovecot-imapd' and a few others give errors similar to below...
- Code: Select all
udo apt-get install dovecot-imapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dovecot-imapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 412 kB of archives.
After this operation, 569 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main dovecot-imapd armhf 1:2.1.7-2 [412 kB]
Fetched 412 kB in 2s (204 kB/s)
Selecting previously unselected package dovecot-imapd.
(Reading database ... 85185 files and directories currently installed.)
Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a2.1.7-2_armhf.deb) ...
Setting up dovecot-imapd (1:2.1.7-2) ...
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty
Restarting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-imapd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dovecot-imapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have edited /var/lib/dpkg/status to edit the file and remove references to problem packages like dovecot-managesieve and run apt-get -f install and apt-get clean, but I still have no luck trying to get some packages to install.
Is this likely a problem on my end? Or is it that the packages simply aren't working will with the RPi?
I've reinstalled Raspbian a lot, making sure I try on clean installs (but always using apt-get update and apt-get upgrade first), I'm using sudo.
I'm hoping to decommission my $4-per-month-in-power-costs-plus-its-noisy Ubuntu machine, and use the RPi in its place, but mail is where I'm getting tripped up.
Postfix installs and runs fine, and sends/recieves email no problem.
Firewalls make no difference (not that we expect them to), I normally use UFW as a front end to iptables, and the issues above occur with this running or not.
I also installed Citadel and that works just fine too, but I need to use Postfix and another IMAP server as I am teaching myself Linux system administration, as well as basic scripting and web programming, and interfacing web systems with Postfix is interesting enough that it keeps me learning. (I'm actually duplicating some functionality of Webmin, just for learnings sake, but completely from scratch).
Cheers,
Tony
(Hi from New Zealand)