fetchmail-friends
[Top] [All Lists]

[fetchmail]fetchmail + postfix + dbmail-lmtpd + mysql

2005-07-24 02:33:37
Trying to make this combination work:
fetchmail + postfix + dbmail-lmtpd + mysql... I want all message from POP3
account to be fetched by fetchmail (those are the messages from special
account, which serves all messages for all users on some domain), and then
import them by postfix and dbmail-lmtp transport into mysql database...

Don't know where to start now, i used install and install.postfix,
looked into fetchmail man, etc etc, tried different configurations, but
I think the problem is that postfix can't deliver messages to dbmail-lmtpd

Here are the important lines in the main.cf file:
mailbox_transport = dbmail-lmtp:127.0.0.1:24
local_recipient_maps =

master.cf:
dbmail-lmtp     unix    -       -       n       -       -       lmtp -v
#tried this also.... but not so hard...
#dbmail unix - n n - - pipe flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient}

I think the problems is that postfix smtp daemon never contacts dbmail-lmtpd,
here is the exception from /var/log/mail:

Jul 24 05:04:02 mailserver postfix/smtpd[8143]: connect from localhost[127.0.0.1] Jul 24 05:04:02 mailserver postfix/smtpd[8143]: 1E94820B03: client=localhost[127.0.0.1] Jul 24 05:04:02 mailserver postfix/cleanup[8145]: 1E94820B03: message-id=<20050724084406(_dot_)6642(_dot_)qmail(_at_)web52204(_dot_)mail(_dot_)yahoo(_dot_)com> Jul 24 05:04:02 mailserver postfix/qmgr[8110]: 1E94820B03: from=<domanovic(_at_)yahoo(_dot_)com>, size=2865, nrcpt=1 (queue active) Jul 24 05:04:02 mailserver postfix/smtpd[8143]: 52ABC20B04: client=localhost[127.0.0.1] Jul 24 05:04:02 mailserver postfix/cleanup[8145]: 52ABC20B04: message-id=<20050724090346(_dot_)57759(_dot_)qmail(_at_)web52207(_dot_)mail(_dot_)yahoo(_dot_)com> Jul 24 05:04:02 mailserver postfix/qmgr[8110]: 52ABC20B04: from=<domanovic(_at_)yahoo(_dot_)com>, size=2115, nrcpt=1 (queue active) Jul 24 05:04:02 mailserver postfix/smtpd[8143]: disconnect from localhost[127.0.0.1] Jul 24 05:04:03 mailserver postfix/smtp[8147]: 52ABC20B04: to=<marko(_at_)promoplan(_dot_)co(_dot_)yu>, relay=svrca.absolutok.com[80.93.224.10], delay=1, status=sent (250 Ok, message saved <Message-ID: <20050724090346(_dot_)57759(_dot_)qmail(_at_)web52207(_dot_)mail(_dot_)yahoo(_dot_)com>>)
Jul 24 05:04:03 mailserver postfix/qmgr[8110]: 52ABC20B04: removed
Jul 24 05:04:03 mailserver postfix/smtp[8146]: 1E94820B03: to=<marko(_at_)promoplan(_dot_)co(_dot_)yu>, relay=svrca.absolutok.com[80.93.224.10], delay=1, status=sent (250 Ok, message saved <Message-ID: <20050724084406(_dot_)6642(_dot_)qmail(_at_)web52204(_dot_)mail(_dot_)yahoo(_dot_)com>>)
Jul 24 05:04:03 mailserver postfix/qmgr[8110]: 1E94820B03: removed

fetchmail -v output seems like okay...
here is .fetchmailrc:
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
poll mail.promoplan.co.yu localdomains promoplan.co.yu no envelope protocol pop3:
username marko(_at_)promoplan(_dot_)co(_dot_)yu password blahblablah to * here


What about dbmail-smtp, can i transfer messages with it?

I never thought this will be this hard to setup... btw, i tried fetchmail + citadel/ux combination, and i succeded, but I've given up because I concluded Citadel's web interface is pretty buggy,
maybe the Citadel itself too...

Thanks a lot for your attention...

Greetings,
Marko


_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends

<Prev in Thread] Current Thread [Next in Thread>