[Mailman-Users] is it possible to set up mailman on a hostwithout a MTA?
Tomasz Chmielewski
mangoo at wpkg.org
Thu Nov 8 00:14:57 CET 2007
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 user at mail.server:
1 message for user at mail.server.
reading message user at mail.server: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
More information about the Mailman-Users
mailing list