vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBouncer : Change thread subscribtion options for members with bouncing emails (https://vborg.vbsupport.ru/showthread.php?t=61303)

Pseudomizer 04-22-2004 04:39 PM

Ok. Looks not too heavy. But how should i configure your script in terms of the email account ? I have created now an account with your given name and i have defined that all bouncing emails should go there. In your script i have to give the path to his maildirectory. Which is the right one ?

With vpopmail and qmail i have the following structure:

/home/vpopmail/domains/domainname/subscriber_notify/Maildir

In this directory i have 3 subdirectories:
- cur
- new
- tmp

Which directory should i put into your script please ?

Cheers,

tamarian 04-22-2004 04:50 PM

Quote:

Originally Posted by Pseudomizer
Which directory should i put into your script please ?

I have not used any of those mail software, so I'm not sure. Hopefully someone reading this who uses vpopmail/qmail can answer this.

I use postfix, and the bounced emails go to /var/spool/mail/boxname

Pseudomizer 04-22-2004 04:58 PM

I have found the following in a forum:

__________________________________________________ _____________________
Set up a .qmail file for bounces (e.g. .qmail-bounces) and put a pipe to a program inside it, like this:

| /usr/bin/process_bounce.pl


Now when bounces@yourhostname.com receives an email, the script /usr/bin/process_bounce.pl will receive a copy of this email on standard input, so you can extract the relevant parts of it (e.g. the "To" field)
__________________________________________________ ____________________

If i would do this then your script would get the data via standard input and the use of your filedefinition would not be necessary any more. But i guess that your script does not accept any input from standard in yet ?

Cheers,

tamarian 04-22-2004 05:11 PM

I'm not sure how this would work, due to my lack of knowledge with qmail.

Does qmail use spool files? Check what's there in your /var/spool/mail.

If not, does qmail allow .forward files? If so, have the .forward create a spool file

example of .forward contents
~/home/myuser/mail/bounces

With this, you create your own spool file, and use it in the script. (warning: make sure you regularly clean this file, as bounce spools can get very large, very quickly with many forum users)

These are just off the top of my head, as I don't know how qmail works, I'm a postfix user.

influence 04-22-2004 07:27 PM

let me be the first to say that this hack dont work.

Hopefully someone can work on an alternative that will work. Not to be rude or anythign but this script dont do nothing. It dont even stop bounce mail. I still get them daily.. the same amount

Pseudomizer 04-23-2004 10:50 AM

Any comment on this last post from the hack developer ?

Cheers,

tamarian 04-23-2004 11:01 AM

Quote:

Originally Posted by Pseudomizer
Any comment on this last post from the hack developer ?

Cheers,

Not really, as there were no specifics, just a statement that it does not work. It's working here for me, and for those who said so in this thread. :)

Pseudomizer 04-23-2004 11:08 AM

Ok. One more unhappy person because it is not working for him.

Regardless of his problem i can tell you that it did not work for me either but this is due to qmail. I have no idea to set it up to work with qmail and due to this i have to cancel this.

I tried to set up a .qmail file in the mailbox dir of the subriber_notify account to run a specific script but this did never start any script after receiving an email. This is clearly a qmail problem and not related to your hack. If i find out someday how i can run a script on an email receive i will try again to pass the info to your script. Until then i have to wait.

Cheers,

Pseudomizer 04-23-2004 12:15 PM

Hi,

now i received help from qmail gurus. Now i set up qmail to run a specific script every time an email is received. The problem i have now is the following:

Let's assume a member of our community sends out an email. So for every email one user sends out our database will be queried if an user with this emailadress exists and if this user is in usergroupid 3.

Can you image how many queries this will produce just by sending out an email ?

This is too heavy.

Cheers,

tamarian 04-23-2004 02:02 PM

Quote:

Originally Posted by Pseudomizer
Hi,

now i received help from qmail gurus. Now i set up qmail to run a specific script every time an email is received. The problem i have now is the following:

Let's assume a member of our community sends out an email. So for every email one user sends out our database will be queried if an user with this emailadress exists and if this user is in usergroupid 3.

Can you image how many queries this will produce just by sending out an email ?

This is too heavy.

Cheers,

Well, how does your qmail script (which you run on every email) being heavy relate to this hack?

Their are ways to accomplish what you want, the best of which is using the vB cron scripts, to accomplish this pruning of unconfirmed registrations.

But in any case, none of this functionality relates to the vBouncer and what it was designed for (thread unsubscription of members who bounce emails).

So my recommendation is to start a new thread in the hack request forum.


All times are GMT. The time now is 09:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01244 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete