我有一个包含如下随机域的文件:
host-name estkowjf.tradicebk.cz
domain-key smtp,*,/home/pmta/keys/dkim.pem
</virtual-mta>
host-name itaquearuem.tradicebk.cz
domain-key smtp,*,/home/pmta/keys/dkim.pem
</virtual-mta>
host-name inventorecnjof.tradicebk.cz
domain-key smtp,*,/home/pmta/keys/dkim.pem
我需要用一个简单的域名替换 xxxx.tradicebk.cz,如下所示:
host-name mydomain.com
domain-key smtp,*,/home/pmta/keys/dkim.pem
</virtual-mta>
host-name mydomain.com
domain-key smtp,*,/home/pmta/keys/dkim.pem
</virtual-mta>
host-name mydomain.com
domain-key smtp,*,/home/pmta/keys/dkim.pem
我怎样才能做到这一点?