The .qmail files under a users directory only support forwarding
email. It doesn't support the | /program commands.
You could put a .qmail-sms file in the base domain directory
~vpopmail/domains/domain.com/.qmail-sms
Ken Jones
Flavio Curti wrote:
>
> hi
>
> i have a little problem with the processing of a user specific .qmail.
> i have the user sms
> now i want all mail for sms-$bla delivered to it. this works fine.
> now i add a .qmail file in /domain/sms with the line
> | /usr/local/bin/qmail-pager.pl
> in it. now the delivery loops forever:
>
> 2000-07-26 16:28:23.218238500 starting delivery 7790: msg 655266 to local
> domain-sms-123456@domain
> 2000-07-26 16:28:23.218247500 status: local 2/10 remote 0/20
> 2000-07-26 16:28:23.218250500 delivery 7789: success: did_0+0+1/
> 2000-07-26 16:28:23.218253500 status: local 1/10 remote 0/20
> 2000-07-26 16:28:23.218257500 end msg 655267
> 2000-07-26 16:28:23.322424500 new msg 655267
> 2000-07-26 16:28:23.322431500 info msg 655267: bytes 60274 from <root@domain> qp
>29002
> uid 1008
> 2000-07-26 16:28:23.359191500 starting delivery 7791: msg 655267 to local
> domain-sms-123456@domain
> 2000-07-26 16:28:23.359200500 status: local 2/10 remote 0/20
> 2000-07-26 16:28:23.359203500 delivery 7790: success: did_0+0+1/
> 2000-07-26 16:28:23.359206500 status: local 1/10 remote 0/20
> 2000-07-26 16:28:23.359210500 end msg 655266
> 2000-07-26 16:28:23.470336500 new msg 655266
> 2000-07-26 16:28:23.470342500 info msg 655266: bytes 60387 from <root@domain> qp
>29009
> uid 1008
> 2000-07-26 16:28:23.505828500 starting delivery 7792: msg 655266 to local
> domain-sms-123456@domain
> 2000-07-26 16:28:23.505837500 status: local 2/10 remote 0/20
> 2000-07-26 16:28:23.505841500 delivery 7791: success: did_0+0+1/
> 2000-07-26 16:28:23.505844500 status: local 1/10 remote 0/20
> 2000-07-26 16:28:23.505847500 end msg 655267
> 2000-07-26 16:28:23.610022500 new msg 655267
> 2000-07-26 16:28:23.610028500 info msg 655267: bytes 60500 from <root@domain> qp
>29016
> uid 1008
>
> and so on. the source of the perl script (for now, it's just a test):
>
> #!/usr/bin/perl
>
> while (<STDIN>){
> print $_;
> }
>
> exit(0);
>
> hope anyone can help me, thanks
>
> Flavio
>
> --
> -=: http://frame-eleven.com :=-.