vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bouncing emails on QMail and Exim, for vBouncer 3.5 (https://vborg.vbsupport.ru/showthread.php?t=83407)

tamarian 06-19-2005 11:04 PM

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 :)

merk 06-23-2005 12:45 AM

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.

tamarian 06-23-2005 12:51 AM

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.

merk 06-23-2005 12:57 AM

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 :)

tamarian 06-23-2005 01:06 AM

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

merk 06-23-2005 01:08 AM

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 :)

tamarian 06-23-2005 11:04 AM

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

merk 06-24-2005 12:43 AM

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.

tamarian 06-24-2005 01:51 AM

Great. If that works, you're all set to run vBouncer. Just need to chmod the file to 666.

merk 06-24-2005 04:42 AM

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.


All times are GMT. The time now is 11:20 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.01797 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)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