[fetchmail]MySQL Interaction?

Tobias Meyer tobias@apeiron.de
Tue, 01 Nov 2005 13:28:13 +0100


Please always reply to the list. That way others can participate in the 
discussion.

Back to the topic:
I'm not sure what exactly you want to do....
Fetchmail is for fetching mail from server A (pop3, imap) and delivering 
it to server B.
I assume you are on (or near) server B.

Of course that assumes that you have the username and password (or some 
other way of authentication) for the mail account on server A.
Server B usually does not need authentication to deliver email TO some user.

If I assume that you want fetchmail to get the mails from server B for 
ALL your local users (stored in mysql some way or another), I regret to 
tell you that there is no configuration option known to me to do so. ( I 
would further assume, that the password is stored as MD5 or SHA1 hash in 
your database, whereas fetchmail obviuosly needs a plaintext password - 
what password is it supposed to use? ).

Maybe you can describe a little better what you want to do?

Cheers,
Tobias


Maginot Junior wrote:

>But when I make a POP3 or IMAP connections it doesnt searchs for the
>requesting user to authenticate??
>
>
>On 11/1/05, Tobias Meyer <tobias@apeiron.de> wrote:
>  
>
>>Maginot Junior wrote:
>>
>>    
>>
>>>Hi everyone... Im new in the list so Helo!
>>>
>>>I was searching for some pop3 (imap?) fetcher and found by
>>>recommendation fetchmail the problem is that after reading inthe site
>>>what it is capable to do I didnt found anything about interaction with
>>>mysql.
>>>
>>>Im using Postfix+PopBeforeSMTP and wanted to use Fetchmail as my POP3
>>>fetcher... but Im using mysql to take care of the accounts and putting
>>>the files in /var/server/postifx/.../.../...
>>>
>>>So the questions is: FetchMail supports MySQL? Where I found some how-to?
>>>
>>>Thanks in advance
>>>[ ]'s
>>>
>>>
>>>      
>>>
>>Fetchmail delivers to postfix, so it does not need to know anything
>>about where postfix get's its users from.
>>If you can send email to your postfix users, fetchmail will be able to
>>do so as well.
>>Fetchmail will not ever directly modify any of your mail servers files -
>>that is always a task for your MDA (postfix in your case)
>>
>>Hth,
>>Tobias
>>
>>
>>    
>>
>
>
>--
>Maginot Jśnior
>Florianópolis/SC - BR
>LPIC-1 Certified since 28/10/05
>Linux Professional Institute Certified - https://www.lpi.org/en/verify.html
>id: LPI000095352 ver: juswaj4mct
>http://linux.maginot.com.br (under development)
>  
>