Hi Paul,
I got up this morning and for some reason dbmail had stopped working. I
was receiving messages from thunderbird that it could not connect to the
server. I messed around in the configure files and never could get
things going. I had learned that FC6, which I am running on my desktop,
has a rpm package for dbmail. I originally had installed dbmail with a
./configure --with-pgsql; gmake; and gmake install.
I uninstalled everything including postfix and then installed everything
again using the [Add/Remove] menu option in FC6. FC6 makes it easy to
install postfix and dbmail and set everything up as a service that
automatically starts when the system is booted.
I now have everything working locally, again, but still no luck with
email coming in from the WAN/Internet over port 25. I have a router on
my network that forwards ports 143 and port beginning with 24 and ending
with 25 to my desktop computer where dbmail is listing.
Paul J Stevens wrote:
Leland F. Jackson wrote:
I have dbmail kind of working on localhost, where all the localhost
users can send emails back and forth between themselves. I suspect
there is no problem with everything working on localhost, because;
all local users utilize dbmail-lmtp over port 24. I'm using postfix
as my MTA, dbmail-imapd for imap, and dbmail-lmtp as my transfer
protocol on localhost.
All remote mail comes in over port 25 as near as I can tell. The
remote mail coming in never shows up in the thunderbird mailbox or
the PostgreSQL dbmail database for the specified recipient.
then your transport setup is (most likely) incorrect. Did you specify
a mailbox_transport = ... in main.cf?
Yes, I have the following lines towards the bottom of main.cf:
# dbmail for lmtp
mailbox_transport = dbmail-lmtp:192.168.1.78:24
# dbmail for lmtp
local_recipient_maps =
The following error is very prevalent in my /var/log/dbmail.err log:
Sep 17 22:48:21 leland dbmail/imap4d[3849]: Error:[imap]
imap4.c,IMAPClientHandler(+139): [Illegal seek] on read-stream
That's a totally different issue. A level 4 log would be useful since
that will contain the IMAP command that precedes the error.
How do I set a level 4 log to run?
That error went away after I reinstalled and configured everything
again. The only entry to hit /var/log/dbmail.err was a problem with
adding the local ip address to pg_hba.conf (e.g. 192.168.1.78) and a
problem about dbmail not being able to authenticate the dbmain user to
the PostgreSQL dbmail database. After I corrected these errors and
restarted everything, nothing else has hit /var/log/dbmail.err log, and
I can use dbmail locally to send email. Still I get the following
message in thunderbird, even when sending mail locally:
#-----------------------------------
An error occurred when sending mail. The mail server responded: Recipient
<[EMAIL PROTECTED]> OK Please check the message and try again.
#-------------------------------------
When I click the OK button in the alert window, the email is delivered.
Any ideas about how to configure dbmail or postfix to delivery mail
coming in from the WAN/Internet or how to debug for this problem?
Regards,
LelandJ
Any ideas about how to proceed would be greatly appreciated.
Since delivery for [EMAIL PROTECTED] works, you setup is basically
functional. Hooking up the MTA correctly is what is missing.
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail