|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: .qmail-default equivalent
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Fri Jun 10 2005 - 09:58:53 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
eddie - wrote:
>>>I need to run a email to fax program. The program recommends qmail.
>>>http://www.inter7.com/astfax/INSTALL
They don't understand anything else, which is why they're using
.qmail-default. qmail (unless patched) does not do recipient validation.
I think most of the qmails in the wild were built by following a HOWTO,
and the HOWTOs I've seen don't patch to do recipient validation.
The .qmail-default is somewhat equivalent to Postfix's luser_relay. I
say somewhat because that only works on local(8) domains ($mydestination
domains) and only if recipient validation is turned off.
You probably do NOT want to turn off recipient validation. At best it's
sloppy administration, at worst it makes you a spammer.
> I added this line to /etc/aliases
> ast_fax: "|/var/mail/ast_fax/ast_fax /var/mail/ast_fax/ast_fax.call"
First off, it's Morally Wrong to put binaries in /var. You should leave
/var as $DEITY intended and install software in /usr/local or /opt. :)
Second, what you have done is created a single ast_fax
$mydestination
alias. Apparently what this software wants is any telephone number as
the username, right?
There are many ways to do this. I would suggest a PCRE or regexp map for
virtual_alias_maps to forward the mail to the ast_fax alias you created
above. Example as regexp:
/[0-9]{7}[0-9]*
your\.domain\.tld/ ast_fax
localhost
Details of the expression depend on the telephone numbers you are
wanting to allow your users to send faxes to. Don't take my example
verbatim.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]