LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using fetchmail to fetch messages for Citadel system (https://www.linuxquestions.org/questions/linux-software-2/using-fetchmail-to-fetch-messages-for-citadel-system-345779/)

trancephorm 07-22-2005 02:27 PM

using fetchmail to fetch messages for Citadel system
 
Please help, this is very urgent to me...

The situation is actually like this:
- I have an email server from which I would like to deliver all messages to the Citadel (citadel.org) system. It is actually one "master" POP3 account (Citadel should connect to it somehow), which is used to retrieve all the messages for all accounts, so Citadel should be acting as a "middle" point between "real" mail server and users, some kind of intermediate message store.

I think this is possible with fetchmail, but how... Also I have postfix and lmtp in mind, but I'm really not sure how to make it work... Please help with just a few advices, I can do much of the work by myself, I just need a little knowledge injection Smile

Thanks a lot!!

trancephorm 07-23-2005 05:00 AM

if understood correctly fetchmail forwards mails it receives to port 25 on the localhost (there is citaserver listening), and then i need some settings in citadel itself to accept those emails sent by fetchmail. how I should setup citadel and it's accounts to achieve this?

here is my .fetchmailrc created with fetchmailconf, please help me to set it up, I just want to receive mail for marko@promoplan.co.yu with fetchmail and forward it to appropriate citadel account

# Configuration created Sat Jul 23 04:05:45 2005 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
poll mail.promoplan.co.yu with proto POP3
user 'marko@promoplan.co.yu' there with password 'blablabla' is marko@promoplan.co.yu here options keep

YES, i know, I'm pain in the ass but this stuff is really urgent to me, besides, there is definitely a complete lack of the web documents describing what i want, i searched a lot, no one talks about fetchmail + citadel... and the current documentation about citadel should be more comprehensive may I notice...

Please help me hard :)
thanks....

trancephorm 07-24-2005 04:18 AM

I'm loosing my nerves these days like most people here :)...
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.6642.qmail@web52204.mail.yahoo.com>
Jul 24 05:04:02 mailserver postfix/qmgr[8110]: 1E94820B03: from=<domanovic@yahoo.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.57759.qmail@web52207.mail.yahoo.com>
Jul 24 05:04:02 mailserver postfix/qmgr[8110]: 52ABC20B04: from=<domanovic@yahoo.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@promoplan.co.yu>, relay=svrca.absolutok.com[80.93.224.10], delay=1, status=sent (250 Ok, message saved <Message-ID: <20050724090346.57759.qmail@web52207.mail.yahoo.com>>)
Jul 24 05:04:03 mailserver postfix/qmgr[8110]: 52ABC20B04: removed
Jul 24 05:04:03 mailserver postfix/smtp[8146]: 1E94820B03: to=<marko@promoplan.co.yu>, relay=svrca.absolutok.com[80.93.224.10], delay=1, status=sent (250 Ok, message saved <Message-ID: <20050724084406.6642.qmail@web52204.mail.yahoo.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@promoplan.co.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...


All times are GMT -5. The time now is 02:32 AM.