When add edelleenlähetys like test@test.com to
own@address.fi it add to mysql vpopmail -> valias ->
valias_line = &own@address.fi and then not working
forwarding.
but if in shell add ./valias -i own@address.fi
test@test.com if add that ok to database.
Logged In: YES
user_id=117662
I don't think the problem is with qmailadmin including the '&', it sounds
like the problem is in vdelivermail not properly handling it.
I just checked the most recent vpopmail source, and it will ignore the &
when passing the address to qmail-inject.
Where or how do you see qmailadmin/vpopmail failing when the aliasline
starts with '&'?
Logged In: NO
just when (manually fix up) alias.c -> line 587:
orginal:
snprintf (TmpBuf2, sizeof(TmpBuf2), "&%s", dest);
edited:
snprintf (TmpBuf2, sizeof(TmpBuf2), "%s", dest);
then it work ok.
I use Gentoo linux and qmail 1.03 / vpopmail 5.4.6
just see/fails when looks in mysql database or try send
message that alias (won't work).
Logged In: YES
user_id=117662
I just did a test, and it works fine.
The ampersand (&) prefix is standard for forwarding addresses in .qmail
files (and, as such, for the valias table).
Are you sure you weren't experiencing some other problem? What do
your qmail logs show?
Here's the result of my test:
@40000000420cf1b820dc8b54 new msg 20246
@40000000420cf1b820dc9edc info msg 20246: bytes 249 from
<root@marjan.installco.com> qp 6873 uid 0
@40000000420cf1b8238884fc starting delivery 88: msg 20246 to local
dummy7.com-bobjoe@dummy7.com
@40000000420cf1b82388a43c status: local 1/10 remote 0/50
@40000000420cf1b8280746bc new msg 20248
@40000000420cf1b828075e2c info msg 20248: bytes 351 from
<root@marjan.installco.com> qp 6878 uid 507
@40000000420cf1b82b0f4ae4 starting delivery 89: msg 20248 to remote
tom@example.com
@40000000420cf1b82b0f663c status: local 1/10 remote 1/50
@40000000420cf1b82b0f6e0c delivery 88: success: vdelivermail:
_valiases_processed/did_0+0+1/
@40000000420cf1b82b0f79c4 status: local 0/10 remote 1/50
@40000000420cf1b82b0f8194 end msg 20246
@40000000420cf1bb2e834b94 delivery 89: success:
204.11.33.3_accepted_message./Remote_host_said:
_250_ok_1108144561_qp_21289/
@40000000420cf1bb2e8366ec status: local 0/10 remote 0/50
@40000000420cf1bb2e836ebc end msg 20248