After installation on all distros I tried, sendmail was not working.
During the Barracuda install process, I got this error on both Ubuntu 10.10, Ubuntu 11.04 and Debian 6.0
"postdrop: warning: unable to look up public/pickup: No such file or directory." These were all minimal installs but happened to already have sendmail installed.
Stopping sendmail, making the directory and restarting postfix resolves this, replace #### with the pid you want to kill. Not sure if you care to include checking if sendmail is installed and creating the dir, but I hope it helps someone else.
mkfifo /var/spool/postfix/public/pickup
ps aux | grep mail
kill ####
sudo /etc/init.d/postfix restart
After doing this, my inbox was flooded with emails :P
Comments
Comment #1
KrisBulman commentedsince this script is recommended to be run on a pure vanilla install, it obviously assumes sendmail is not installed.
Comment #2
omega8cc commentedThis should work anyway, since mailserver is (or at least should be) included in the minimal install. However, the popular choice these days is Exim, not Sendmail, and standard
apt-get install postfixhandles removing Exim just fine. It seems it must be something non-standard if Sendmail is not removed automatically on Postfix install. You could watch the behind-the-scenes install log while running Barracuda install to see more debug output:tail -f /opt/tmp/aegir-install.log.Comment #3
omega8cc commentedReported also in #1543118: Uninstall Sendmail if exists to avoid breaking Postfix install. We should fix this.
Comment #4
omega8cc commentedFixed in http://drupalcode.org/project/barracuda.git/commit/dbd7a25
Comment #5
attiks commentedI tried a fresh install using
boa in-head public sub.attiks.com attiks@xxx.com[Off-topic, nice work on the new installer] and I got the same problem:The result is that no site is created
If you want I can give you root access to the server in case you want to have a look.
Comment #6
omega8cc commentedPlease attach all required logs and more info on the initial status of the system used (services installed etc).
Comment #7
attiks commentedLogs attached
Comment #8
attiks commentedSome more info, if I try to run sendmail if get
sendmail: fatal: open /etc/postfix/main.cf: No such file or directorySo I ran sudo
dpkg-reconfigure postfixrm -rf hostmaster-HEAD/sites/sub.h011.attiks.com/drush hostmaster-install --root=/var/aegir/hostmaster-HEAD --http_service_type=nginx --debug sub.h011.attiks.comand entered the mysql root pwd and a valid email addressAnd everything is working ;p
Comment #9
omega8cc commentedCould you attach also the backend install log:
/var/backups/barracuda-install-120507-2009.log?Thanks.
Comment #10
attiks commentedComment #11
omega8cc commentedOK, so this is unrelated to this issue, as there was no sendmail or exim installed, according to this log, yet, Postfix install failed without any visible reason.
Could you confirm that there was no other mail server installed on the system before installing BOA?
Comment #12
omega8cc commentedThe problem is that I can't reproduce this on any Precise fresh install.
Comment #13
attiks commentedNo mail server was installed, only extra installed was sshd. I'll try to find more details on the used image.
Comment #14
omega8cc commentedClosing. Feel free to re-open when you will find reliable method to reproduce the issue.
Comment #14.0
omega8cc commentedadding additional note