Author Topic: bounce cgi setup and QMail  (Read 1637 times)

jac

  • Posts: 26
    • View Profile
bounce cgi setup and QMail
« on: September 07, 2006, 04:07:07 am »
The setup info states the following for Qmail:
----
Quote
Create a .qmail-bounce (bounce being the mailbox name ie. bounce@site.com) file in your HOME directory containing the following single line.

|$HOME/cgi-bin/bounce.cgi

Change the path if necessary, with the full path to your home dir and file. (ie. |/usr/account/www/domain.com/cgi-bin/bounce.cgi)

----
Can someone confirm the following:

1.  Would this be a correct filename .qmail-listmail-bounce@mydomain.com (if my bounce email address is listmail-bounce@mydomain.com)
2.  What sort of file the .qmail-listmail-bounce@mydomain.com should be.
3.   What HOME directory is.  Is in the root of the site, the server, the directory holding the ListMail installation?

Thank you
---
John

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
bounce cgi setup and QMail
« Reply #1 on: September 07, 2006, 02:33:09 pm »
Hi John,
Quote
Can someone confirm the following:
1. Would this be a correct filename .qmail-listmail-bounce@mydomain.com (if my bounce email address is listmail-bounce@mydomain.com)

"dot-qmail" files are set up in your virtualhost's mail folder, such as /var/qmail/mailnames/example.com

To create the address listmail-bounce@example.com you would browse to the above folder and enter a file ".qmail-listmail-bounce"
Quote
2. What sort of file the .qmail-listmail-bounce@mydomain.com should be.

A simple text file.  If you are doing this from an SSH shell (admin access is probably required) you could use echo, ie:

echo "|/path/to/bounce.cgi" > /var/qmail/mailnames/example.com/.qmail-bounce

Quote
3. What HOME directory is. Is in the root of the site, the server, the directory holding the ListMail installation?

What we're entering is the full path to bounce.cgi.  If the alias doesn't work as recommended, you might try preceding it with Perl:

echo "|/usr/bin/perl /path/to/bounce.cgi" > /var/qmail/mailnames/example.com/.qmail-bounce

Another thing to check is that all folders leading to bounce.cgi are CHMOD to 755 to be readable by the qmail system user.

Please let me know if I can be of further assistance.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting