Re: Configuring Postfix to post to FUDforum [message #159463 is a reply to message #159459] |
Thu, 04 June 2009 10:12 |
Peter Vendike
Messages: 65 Registered: February 2009 Location: Denmark
Karma:
|
Member Translator |
|
|
So you got it to work.
Just I don't think its good to run any mail programs as root, its not neccessary for me, but my system is a standalone PC, running Opensuse.
The user 'list-bot' should be a alias user on your system, so he is kind of virtual. But 'real' virtual users are defined different. If your domain name is domain.net, his address is list-bot(at)domain(dot)net, and you subscribe him to the mailman list.
So mailman sends messages from the list to him then i think for procmail it should be
* ^TO_.*list-bot(at)domain(dot)net
|/usr/bin/php /home/some-user/forum/scripts/maillist.php 1
But you could also use
* ^Reply_To_.*list-name(at)another-domain(dot)net
|/usr/bin/php /home/some-user/forum/scripts/maillist.php 1 (x for different forums)
(not shure of that, did not try it)
the first solution needs i different user for every list subscribed to (my own solution), with the second, you could just subscribe the same (alias) user to different lists, and senders from other addresses are rejected.
[Updated on: Thu, 04 June 2009 10:36] Report message to a moderator
|
|
|