Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2005, 12:04 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Bouncing emails on QMail and Exim, for vBouncer 3.5

Hi folks,

I'm porting vBouncer to 3.5 with significant overhaul in functionality.

Some new features:

Uses vB's cron scheduled tasks (no more perl scripts)
Admin panel interface
Bouncing emails stats
Option for manual or automatic processing (demoting subscriptions options, etc)
Optional PM warning to bouncing members

It currently works for SendMail and Postfix, because I've used those and know a bit about them.

What I really need help with is the experience from those who use QMail or Exim on their dedicated servers. I need:

1. Format of the mail spool for QMail or Exim
2. If the spool is not a file, do you have an option to spool to a file?
3. A sample of spool data, preferably large, to benchmark and ensure decent extraction rate.

What's in it for you? You'll be able to use vBouncer on your server
Reply With Quote
  #2  
Old 06-23-2005, 01:45 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im not a qmail guru unfortunatly, but I do use it on my server.

Whats the best way to get into contact with you? MSN? IRC?

edit: It should be noted that I also use vpopmail and qmailadmin to control vpopmail. I _think_ that vpopmail uses Maildir for email delivery.

Will do some research when I have some free time.
Reply With Quote
  #3  
Old 06-23-2005, 01:51 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk
Im not a qmail guru unfortunatly, but I do use it on my server.

Whats the best way to get into contact with you? MSN? IRC?

edit: It should be noted that I also use vpopmail and qmailadmin to control vpopmail. I _think_ that vpopmail uses Maildir for email delivery.

Will do some research when I have some free time.
I don't do much with IM/IRC, I get lost quickly Let's start with PM.
Reply With Quote
  #4  
Old 06-23-2005, 01:57 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds fair

Ive done a bit of digging and vpopmail definatly uses Maildir.

Under maildir there are 3 directories:
  • cur
  • new
  • tmp
There are heaps of files in cur/new and none in tmp.

I have a users directory with megabytes of spam still in there if you want it
Reply With Quote
  #5  
Old 06-23-2005, 02:06 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk
Sounds fair

Ive done a bit of digging and vpopmail definatly uses Maildir.

Under maildir there are 3 directories:
  • cur
  • new
  • tmp
There are heaps of files in cur/new and none in tmp.

I have a users directory with megabytes of spam still in there if you want it
Sure , it would be nice to see some real data. Does that user have bounced email notices? Please email to webmaster @ lowcarber.org
Reply With Quote
  #6  
Old 06-23-2005, 02:08 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there seems to be a couple, ill check another addr for heaps.

I dont have a program that can email from the server, I will send a url to that address where you can get a tar of the maildir.

There seems to be insane amounts of spam, and a couple of bounces (as far as fgrep told me).

Hope it helps
Reply With Quote
  #7  
Old 06-23-2005, 12:04 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good Merk. Now the next step is to test spooling to a file, instead of maildir.

According to QMail docs, this is an easy step. It would be nice if you can test it, and let us know if it worked:

In the home directory of a test user account, create a file called .qmail the content of that file should be a single line indicating the spool file:

/var/spool/subscriber_notify

Or any path you choose. The file needs to exist, so we can first create by touch

touch /var/spool/subscriber_notify

Now send a test email to that account, and see if is directed into that file

I found the info here, from the Amail site:

http://www.qmail.org/man/man5/dot-qmail.html
Reply With Quote
  #8  
Old 06-24-2005, 01:43 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
Looks good Merk. Now the next step is to test spooling to a file, instead of maildir.

According to QMail docs, this is an easy step. It would be nice if you can test it, and let us know if it worked:

In the home directory of a test user account, create a file called .qmail the content of that file should be a single line indicating the spool file:

/var/spool/subscriber_notify

Or any path you choose. The file needs to exist, so we can first create by touch

touch /var/spool/subscriber_notify

Now send a test email to that account, and see if is directed into that file

I found the info here, from the Amail site:

http://www.qmail.org/man/man5/dot-qmail.html
I will test it out this afternoon.
Reply With Quote
  #9  
Old 06-24-2005, 02:51 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. If that works, you're all set to run vBouncer. Just need to chmod the file to 666.
Reply With Quote
  #10  
Old 06-24-2005, 05:42 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, finally got it working. There was a small catch with dot-qmail files in vpopmail

For a normal qmail installation, you need to use a .qmail file in the users home directory (as far as i can tell).

for vpopmail, a user doesnt have a home directory, and it dosent go into the users virtual mail directory either, it sits just below that in the domain's "root" directory. /home/vpopmail may be different for some users.

/home/vpopmail/domains/domain.com/.qmail-bounce for bounce@domain.com (contents as above)

The contents of the file are still the same.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08218 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete