Hi,
beware that you need to restart qpsmtpd everytime you update the
aliasdomains file. If thats not what you want you need to parse the
aliasdomains file everytime you reach the rcpt_hook.
Cheers,
Norman
2009/1/29 Matt Sergeant :
> On Wed, 28 Jan 2009 16:23:01 +0100, Julien wrote:
>> The config
On Wed, 28 Jan 2009 16:23:01 +0100, Julien wrote:
> The config file (/var/qmail/control/aliasdomains) contain one
> remplacment per line, each remplacment consist of 'olddomain' and
> 'newdomain' seperate by a ':' like :
>
> test.domain.com:domain.com
>
> So address jul...@test.domain.com sould b
Hello,
I finish to write the plugin so Qpsmtpd is compatible with Domain
aliasing patch for QMail. This plugin read the same config
file /var/qmail/control/aliasdomains. Here is a link to the patch :
http://www.qmail-ldap.org/wiki/index.php/Domain_aliasing
Thanks for your help !
Julien
My plug
It's working with the SVN version, recipient is rewrite when it came to
rcpt_ldap.
I have other problem with the upgrade (coying config is not enough,
maybe I have change something else) anyway I will correct this myself.
But I still have a request to the mailling list, my perl skill is not
alr
I'm running a qpsmtpd-0.40 from website
Le mercredi 28 janvier 2009 à 09:24 -0500, Matt Sergeant a écrit :
> On Wed, 28 Jan 2009 15:13:31 +0100, Julien wrote:
> > Without any success, I still got/get the original recipient.
>
> What version of qpsmtpd? I think changing these values was only adde
On Wed, 28 Jan 2009 15:13:31 +0100, Julien wrote:
> Without any success, I still got/get the original recipient.
What version of qpsmtpd? I think changing these values was only added
in SVN.
Matt.
Le mercredi 28 janvier 2009 à 14:00 +, Steve Kemp a écrit :
> On Wed Jan 28, 2009 at 14:57:31 +0100, Julien wrote:
>
> > I have read this topic, but it don't work for me ...
>
> (I'll assume you didn't forget to restart.)
I do a : svc -d /service/qpsmtpd ; svc -u /service/qpsmtpd
and logs
On Wed Jan 28, 2009 at 14:57:31 +0100, Julien wrote:
> I have read this topic, but it don't work for me ...
(I'll assume you didn't forget to restart.)
> --
> #aliasdomains
I hope this is in rcpt_rewrite.pm
> So the recipient should always be rewrite to
I have read this topic, but it don't work for me ...
I have create a file rcpt_rewrite with :
--
#aliasdomains
use Qpsmtpd::DSN;
sub hook_rcpt {
my ($self, $transaction) = (shift, shift);
# $_[0]->user("newuser");
$_[0]->host("domain.com");
return DEC
On Wed Jan 28, 2009 at 14:45:08 +0100, Julien wrote:
> But this don't work, the next plugins rcpt_ldap gets the old recipient
> (not rewrite) maybe it's not the right variable ? If somebody have an
> idea about the way to do this in qpsmtpd ...
You can do this rewriting as this:
sub hook_rcpt
Hello,
I have installed qmail-ldap with qpsmtpd. It works great. I then install
a patch for qmail :
http://www.qmail-ldap.org/wiki/index.php/Domain_aliasing
So I have "domain alias" working in qmail : any domain alias is rewrite
before looking to the ldap database. If I have a user julien in ld
11 matches
Mail list logo