Gre7g Luterman wrote:
>
> It would be nice to have a from-domains filter source that
> would check *@=<domain> for every <domain> in a specified file.

[...]

> I was able to create a /var/qmail/alias/.tmda/lists/rcpthosts file 
> with *@=<domain> versions, so I am up and running, but if I add a new 
> domain later on to my /var/qmail/control/rcpthosts, I run the risk of 
> forgetting to add it to my /var/qmail/alias/.tmda/lists/rcpthosts, 

root@host# cat >/usr/local/bin/edit_rcpthosts
#!/bin/sh
#
# edit_rcpthosts.sh

$EDITOR /var/qmail/control/rcpthosts

awk '{print "*@="$1}' /var/qmail/control/rcpthosts > \
      /var/qmail/alias/.tmda/lists/rcpthosts
root@host# chmod 744 /usr/local/bin/edit_rcpthosts

-Drew
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to