Log in

View Full Version : Bouncing emails on QMail and Exim, for vBouncer 3.5


tamarian
06-20-2005, 12:04 AM
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, 01: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, 01:51 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.

I don't do much with IM/IRC, I get lost quickly :) Let's start with PM.

merk
06-23-2005, 01: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, 02:06 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 :)

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, 02: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, 12:04 PM
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, 01:43 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

I will test it out this afternoon.

tamarian
06-24-2005, 02: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, 05: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.

tamarian
06-24-2005, 12:04 PM
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.

Cool. Do you feel like testing the vBouncer with it? :)

I have update the how-to instructions with your findings:

https://vborg.vbsupport.ru/showpost.php?p=670150&postcount=3

Let me know if I got it wrong :)

merk
06-25-2005, 08:21 AM
Cool. Do you feel like testing the vBouncer with it? :)

I have update the how-to instructions with your findings:

https://vborg.vbsupport.ru/showpost.php?p=670150&postcount=3

Let me know if I got it wrong :)

Awsome. Unfortunatly I am unable to run vBouncer at this point in time because I will be upgrading when 3.5.0 goes final and I have finished porting my private hacks (and god knows how long that will take ;)).

I might try out the 3.0.7 version (if there is one?) in a few days if I get time and get sick of all the email spam :)

tamarian
06-25-2005, 11:06 AM
I might try out the 3.0.7 version (if there is one?) in a few days if I get time and get sick of all the email spam :)


There is one, written in Perl :)

merk
06-25-2005, 01:35 PM
yuk perl :p

tamarian
06-25-2005, 01:43 PM
You know, I might actually port it to 3.0.7 shouldn't be too hard.