FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Qmail Piping to mailing list does not work.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Qmail Piping to mailing list does not work. [message #21756 is a reply to message #21753] Tue, 14 December 2004 20:51 Go to previous messageGo to previous message
srchild is currently offline  srchild   United Kingdom
Messages: 88
Registered: December 2003
Location: UK
Karma:
Member
sirroot wrote on Tue, 14 December 2004 18:46


i have vpopmail...where do u put .procmailrc?..what line did u put in .qmail-fudlist1


in .qmail-fudlist1 I have:

|/var/qmail/bin/preline /usr/local/bin/procmail -t

This tells qmail to pass the message to procmail.

The code I posted earlier tells procmail to pass it to maillist.php

Exitcode is 99 there since I don't want any more processing after maillist.php has finished with it.

If that was exitcode 0 then, as well as maillist.php doing its work, procmail would also put a copy in the default mailbox (unless any later rules said to do something different).

Be careful if you don't know procmail - you can lose mail if you set it up incorrectly.

Having said all that, I wonder now if another way is not to use procmail at all. Perhaps it could all be done in .qmail-fudlist1, something like (untested):

| /path/to/scripts/maillist.php 8 || exit 99

So if you leave your .qmail-mylist without any maillist.php line, and subscribe fudlist1 to your mailing list, .qmail-fudlist1 will send the message to the forum (maybe Smile ).



Simon Child
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error Deleting Forums
Next Topic: Show all users email address by default in registration?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:47:27 GMT 2024

Total time taken to generate the page: 0.04570 seconds