Hi i was using the version that comes with the ports 1.2.3 and i was having
the problem that the /etc/dbmail.conf did not get recognized. so i got 1.2.6
stable
and i had to rename the list_reverse to dblistlist_reverse, i am running
mysql4.1 and read on the list about this bug.
i have a few promblems now. i able to login but i can get the messages to
download in squirrel i get
ERROR : Connection dropped by imap-server.
Query: FETCH 1 (FLAGS UID RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date To Cc From
Subject X-Priority Content-Type)])
in outlook i get
Header download for the 'Inbox' folder did not complete. Could not download
new messages from the IMAP server. Account: '10.0.1.3', Server: '10.0.1.3',
Protocol: IMAP, Server Response: 'The server did not respond to this IMAP
command before the connection was terminated.', Port: 143, Secure(SSL): No,
Error Number: 0x800CCC0F
i tested the config by doing
cat 000350.msg |dbmail-smtp -f /etc/dbmail.conf -d jcharth
and i get
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): searching value for
config item [host]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): found value [127.0.0.1]
bash-2.04# Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): searching
value for config item [db]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): found value [dbmail]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): searching value for
config item [user]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): found value [dbmail]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): searching value for
config item [pass]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: GetConfigValue(): found value [dbmail]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): readheader start
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): mem current: [1042]
reallocated to [2048]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): readheader done
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): found header
[Return-Path: <[EMAIL PROTECTED]>^M Received: from moto2.micapeak.com
(moto.micapeak.com [67.106.14.130] (may be forged)) by cedar.he.net
(8.8.6p2003-03-31/8.8.2) with ESMTP id XAA00311 for <[EMAIL PROTECTED]>; Thu, 1
Apr
2004 23:14:38 -0800^M Received: from moto2.micapeak.com (localhost.localdomain
[127.0.0.1])^M by moto2.micapeak.com (8.12.8/8.12.8) with SMTP id
i327E9bG025584;^M Thu, 1 Apr 2004 23:14:09 -0800^M Date: Thu, 1 Apr 2004
23:14:09 -0800^M Message-Id: <[EMAIL PROTECTED]>^M
Errors-To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]
Originator: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED]
Precedence: first-class^M From: "Mike Kampman" <[EMAIL PROTECTED]>^M To:
Yamaha XJ owners discussion <[EMAIL PROTECTED]>^M Subject: Insurance^M
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas^M
X-Comment: Yamaha XJ owners discussion^M X-UIDL: fol"!>6_!!*$'#!f
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): header size [1746]
Apr 8 18:18:34 bsd dbmail/smtp[1146]: read_header(): function successfull
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mime_readheader(): entering mime loop
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mime_readheader(): mimeloop finished
Apr 8 18:18:34 bsd dbmail/smtp[1146]: *** mime_readheader() done ***
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mail_adr_list(): mimelist currently has
[30] nodes
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mail_adr_list(): mail address parser
starting
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mail_adr_list(): total fields in header
30
Apr 8 18:18:34 bsd dbmail/smtp[1146]: mail_adr_list(): scanning for Return-Path
the message then goes into the database.
i will be using dbmail with fetchmail my fetchmailrc looks something like this
poll c.e.net protocol pop3
user "mw.com/jc" pass "test"
keep
fetchall
mda "dbmail-smtp -f /etc/dbmail.conf -d jc"
my last question is how can i fetch a message to a directory with fetchmail
to make sure that it is passing the messages to dbmail-smtp?
should i try another version may be the one before 1.2.6. thanks.