At 01:09 PM 3/2/2001 -0500, you wrote:
>Agi Subagio <[EMAIL PROTECTED]> wrote:
>
> >/var/qmail/control/virtualdomains :
> >testing.com:myname
> >mail.testing.com:myname
> >
> >and i have a .procmailrc in /home/myname directory :
> >:0
> >/home/myname/testing.txt
> >
> >1. If i run TEST.deliver and send to [EMAIL PROTECTED] or [EMAIL PROTECTED],
> >qmail gave me a "Sorry_no_mailbox..." result, why?
>
>Because of the way that virtual domains work. For example, to accept
>mail for [EMAIL PROTECTED], you should have a .qmail-xyz or
>.qmail-default file (containing the procmail invocation).

i have /var/qmail/control/virtualdomains like this :
testing.com:agi
mail.testing.com:agi

i have /home/agi/.qmail-default like this :
|preline /usr/bin/procmail

and i have /home/agi/.procmailrc like this :
:0
/home/myname/testing.txt
:1
|"/usr/local/apache/cgi-bin/freemail/mail.cgi" $1     (<=== script cgi for 
Alias Mail (www.solutionscripts.com))

i used /var/qmail/rc like this :
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "./Mailbox"

If i run TEST.deliver and deliver locally to any users at domain 
'testing.com', still i have the same unsucessful result like this :
[root@mail agi]# echo to : [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
new msg 216
info msg 216: bytes 210 from <[EMAIL PROTECTED]> qp 1570 uid 0
starting delivery 17: msg 216 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 17: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 0/10 remote 0/40
[root@mail agi]# bounce msg 216 qp 1573
end msg 216
new msg 218
info msg 218: bytes 759 from <> qp 1573 uid 510
starting delivery 18: msg 218 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 18: success: did_1+0+0/
status: local 0/10 remote 0/40
end msg 218

[root@mail agi]# echo to : [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
new msg 216
info msg 216: bytes 212 from <[EMAIL PROTECTED]> qp 1585 uid 0
starting delivery 19: msg 216 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 19: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 0/10 remote 0/40
bounce msg 216 qp 1588
end msg 216
new msg 218
info msg 218: bytes 763 from <> qp 1588 uid 510
[root@mail agi]# starting delivery 20: msg 218 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 20: success: did_1+0+0/
status: local 0/10 remote 0/40
end msg 218

why ?
how to change an incoming message to [EMAIL PROTECTED] and rewritten to 
[EMAIL PROTECTED] ?
did someone has try alias mail with qmail?

Reply via email to