View Single Post
  #2  
Old 16th February 2009, 04:06
bl4ckb1rd bl4ckb1rd is offline
Member
 
Join Date: Feb 2009
Posts: 36
Thanks: 2
Thanked 6 Times in 4 Posts
Default ok...

ok i was searching the web how to test this thing... and i found out this:

Quote:
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=alen.krmelj@xxx.net, home=/var/vmail, mail=/var/vmail/xxx.net/alen.krmelj
maildrop: Changing to /var/vmail
Message start at 0 bytes, envelope sender=alen.krmelj@xxx.net
maildrop: Attempting .mailfilter
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized string: "LOGNAME"
Tokenized =
Tokenized tolower
Tokenized (
Tokenized string: "$LOGNAME"
Tokenized )
Tokenized ;
Tokenized string: "EXTENSION"
Tokenized =
Tokenized string: "$1"
Tokenized ;
Tokenized string: "RECIPIENT"
Tokenized =
Tokenized tolower
Tokenized (
Tokenized string: "$2"
Tokenized )
Tokenized ;
Tokenized string: "USER"
Tokenized =
Tokenized string: "$3"
Tokenized ;
Tokenized string: "HOST"
Tokenized =
Tokenized string: "$4"
Tokenized ;
Tokenized string: "SENDER"
Tokenized =
Tokenized string: "$5"
Tokenized ;
Tokenized string: "DEFAULT"
Tokenized =
Tokenized string: "/var/vmail/$HOST/$USER/."
Tokenized ;
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$EXTENSION"
Tokenized ne
Tokenized string: ""
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized string: "DELIMITER"
Tokenized =
Tokenized string: "+"
Tokenized ;
Tokenized }
Tokenized ;
Tokenized ;
Tokenized if
Tokenized (
Tokenized !
Tokenized string: "$SENDER"
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized string: "SENDER"
Tokenized =
Tokenized string: "<>"
Tokenized ;
Tokenized }
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized string: `test -e /var/vmail/$HOST`
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$RETURNCODE"
Tokenized !=
Tokenized string: "0"
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized string: `mkdir /var/vmail/$HOST`
Tokenized ;
Tokenized }
Tokenized ;
Tokenized ;
Tokenized string: `test -e /var/vmail/$HOST/$USER`
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$RETURNCODE"
Tokenized !=
Tokenized string: "0"
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized string: `maildirmake /var/vmail/$HOST/$USER`
Tokenized ;
Tokenized string: `chmod -R 0700 /var/vmail/$HOST`
Tokenized ;
Tokenized }
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized string: `test -f /var/vmail/mailfilters/$HOST/$USER/.autoresponder`
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$RETURNCODE"
Tokenized ==
Tokenized string: "0"
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized include
Tokenized string: "/var/vmail/mailfilters/$HOST/$USER/.autoresponder"
Tokenized ;
Tokenized }
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized string: `echo $SIZE >> /var/vmail/$HOST/$USER/.ispconfig_mailsize`
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized string: `test -f /var/vmail/mailfilters/$HOST/$USER/.mailfilter`
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$RETURNCODE"
Tokenized ==
Tokenized string: "0"
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized include
Tokenized string: "/var/vmail/mailfilters/$HOST/$USER/.mailfilter"
Tokenized ;
Tokenized }
Tokenized ;
Tokenized else
Tokenized ;
Tokenized {
Tokenized ;
Tokenized if
Tokenized (
Tokenized string: "$DEFAULT"
Tokenized ne
Tokenized string: ""
Tokenized )
Tokenized ;
Tokenized {
Tokenized ;
Tokenized to
Tokenized string: "$DEFAULT"
Tokenized ;
Tokenized }
Tokenized ;
Tokenized else
Tokenized ;
Tokenized {
Tokenized ;
Tokenized string: "EXITCODE"
Tokenized =
Tokenized string: "75"
Tokenized ;
Tokenized exit
Tokenized ;
Tokenized }
Tokenized ;
Tokenized }
Tokenized ;
Tokenized eof
.mailfilter(5): LOGNAME="alen.krmelj@xxx.net"
.mailfilter(6): EXTENSION=""
.mailfilter(7): RECIPIENT=""
.mailfilter(8): USER=""
.mailfilter(9): HOST=""
.mailfilter(10): SENDER=""
.mailfilter(11): DEFAULT="/var/vmail///."
.mailfilter(13): Evaluating IF condition.
.mailfilter(13): Operation on: and - string not equal, result is 0
.mailfilter(13): IF evaluated, result=0
.mailfilter(18): Evaluating IF condition.
.mailfilter(18): Operation on: - logical not.
.mailfilter(18): Operation: logical not=1
.mailfilter(18): IF evaluated, result=1
.mailfilter(20): SENDER="<>"
maildrop: Filtering through `test -e /var/vmail/$HOST`
.mailfilter(28): Evaluating IF condition.
.mailfilter(28): Operation on: 0 and 0 - not equal, result is 0
.mailfilter(28): IF evaluated, result=0
maildrop: Filtering through `test -e /var/vmail/$HOST/$USER`
.mailfilter(34): Evaluating IF condition.
.mailfilter(34): Operation on: 0 and 0 - not equal, result is 0
.mailfilter(34): IF evaluated, result=0
maildrop: Filtering through `test -f /var/vmail/mailfilters/$HOST/$USER/.autoresponder`
.mailfilter(43): Evaluating IF condition.
.mailfilter(43): Operation on: 1 and 0 - equal, result is 0
.mailfilter(43): IF evaluated, result=0
maildrop: Filtering through `echo $SIZE >> /var/vmail/$HOST/$USER/.ispconfig_mailsize`
maildrop: Filtering through `test -f /var/vmail/mailfilters/$HOST/$USER/.mailfilter`
.mailfilter(60): Evaluating IF condition.
.mailfilter(60): Operation on: 1 and 0 - equal, result is 0
.mailfilter(60): IF evaluated, result=0
.mailfilter(66): Evaluating IF condition.
.mailfilter(66): Operation on: /var/vmail///. and - string not equal, result is 1
.mailfilter(66): IF evaluated, result=1
maildrop: Delivering to /var/vmail///.
maildrop: Unable to open mailbox.
It seems this default installation of .mailfilter is broken. Any update on it would be very nice...

oh yea and sorry for the long post.
Reply With Quote