Allen Ziegenfus wrote:
Hello,
Yesterday I decided to try out dbmail. I've gotten it working with
postgresql, fetchmail, exim and sylpheed in order to retrieve and read
my email. But I had some problems and some questions.
First of all, I'm using this on gentoo. I saw the contributed startup
scripts in the dbmail tarball so I figure there must be other gentoo
users too. Does anyone have a good ebuild for this?
The only ones I know about are the ones published in Gentoo bugzilla.
I saw the ebuild in
the following bug report, but it didn't work at all (it wasn't even
doing a make install).
They work for me, I have uploaded newer ones but they have no
substantial changes.
I played around with that enough to get it to
work but it's definitely not perfect, and I really don't know much about
ebuilds so I'd be excited to see one from someone who knows what they're
doing.
http://bugs.gentoo.org/show_bug.cgi?id=22331
I've also had trouble with the provided startup scripts. If I try to
stop dbmail-lmtpd or dbmail-imapd, I get an error like, "can't find a
process with that pid". So I edited scripts to stop the processes by
name instead. That seems to work,
Can you upload your modified scripts to the gentoo bugzilla?
but I still have other problems. I
just rebooted and the script did not know to wait until after
postgressql to start.
I decided not to make the dbmail init scripts dependent on postgresql
service since both the dbmail-pop3d and the dbmail-imapd have the
ability to stay alive while the database is dead and reconnect when the
database server is running again. This gives me the ability to restart
postgresql whihout the chained need to restart dbmail servers. Other
reason to avoid the service dependency is to use the same init scripts
for USE=postgresql or USE=mysql.
That's a simple fix, but what troubled me was that
the startup script thought everything was ok when it wasn't. Then the
system was in this state where I couldn't restart dbmail because it
already thought it was started.
I would like to see your modified init scripts; perhaps I will change my
mind.
Also, everything was working fine last night, but when I
woke up this morning, I found my dbmail was dead! No lmtp or imap
process at all. I didn't have the trace logging turned up very high
(level 1) but there were no logs at all saying dbmail was shutting down
or why. Any ideas?
I haven't tried 2.0RC in production, but 1.2 series is absolutely stable
for me; The only need I have to restart the services is with a version
update.
Allen
------------------------------------------------------------------------
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
Sandino Araico Sánchez
-- ... there's no spoon ...