Brad Knowles schrieb:
> On 11/7/07, Tomasz Chmielewski wrote:
> 
>>  So, considering no MTA is running on a machine which runs mailman - how
>>  do I go through this part:
> 
> The way fetchmail works, you download e-mail from the remote server and 
> pass it on to the local MTA.  Therefore, you have to have a local MTA on 
> the recipient machine.  For Mailman, you need something to read those 
> aliases and do the right thing with the messages being processed.

No, fetchmail can also work without a local MTA.
It can pass fetched emails to a local programs or scripts, like:

# cat /tmp/deliver.sh
#!/bin/bash

cat >> /tmp/text



# fetchmail -u user -m /tmp/deliver.sh mail.server
Enter password for [EMAIL PROTECTED]:
1 message for user at mail.server.
reading message [EMAIL PROTECTED]:1 of 1 (1631 header octets). (5 body 
octets) flushed


And we have a mail written to /tmp/text.


> This local MTA doesn't have to be listening to any external ports or 
> anything, but you do need something on that system to fill that role of 
> taking the mail handed to it by fetchmail and then feeding that to the 
> right program with the right command-line options.  The easiest way to 
> do that is to run a real MTA on that server.

But I don't want or need any MTA here ;)

So I guess it's just a matter of simple scripting: fetching correct 
email using fetchmail, and passing it to mail/mailman program in a 
correct way. Anyone has it documented?


-- 
Tomasz Chmielewski
http://wpkg.org
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to