推荐设备MORE

拼团微信小程序怎么开发—微

拼团微信小程序怎么开发—微

公司新闻

remove抠图网站-构建反病毒反垃圾短信系统(八)

日期:2021-04-14
我要分享
--------

remove抠图网站

------- 把客户加上到电子邮件目录里检测一些,建一个文字文档,例如members.txt,一行一个电子邮件详细地址,随后实行以下指令便可以了:

# /usr/local/mailman/bin/add_members -n members.txt mailman

3、postfix有关配备

还需要改动postfix的配备文档才可以使mailman工作中一切正常,改动main.cf,加上:

owner_request_special = no
recipient_delimiter = +
unknown_local_recipient_reject_code = 550

改动alias_ma凡科抠图和virtual_ma凡科抠图为:

alias_ma凡科抠图 = hash:/usr/local/mailman/data/aliases,
mysql:/etc/postfix/mysql-aliases.cf
virtual_ma凡科抠图 = hash:/usr/local/mailman/data/virtual-mailman,
mysql:/etc/postfix/mysql-virtual.cf

单是这样還是不好的,我检测还需要把main.cf里myorigin改成:

myorigin =

随后在transport表中加上一个纪录:

insert into transport set domain='',destination='local:';

重新启动postfix和mailman,如今能够试试给mailman这个电子邮件目录发电子邮件是不是都一切正常了?

4、python解决汉语的难题

假如电子邮件都是汉语gb2312编号的就有难题,查询/usr/local/mailman/logs/error会发现以下的不正确:

Jul 16 2003 (392) Uncaught runner exception: unknown encoding
Jul 16 2003 (392) Traceback (most recent call last):
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
self._onefile(msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/ingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/local/mailman/Mailman/ingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Handlers/CookHeaders.py", line 75, in process
prefix_subject(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Handlers/CookHeaders.py", line 262, in prefix_subject
h.append(s, c)
File "/usr/local/mailman/pythonlib/email/Header.py", line 285, in append
s = s.encode(outcodec, errors)
LookupError: unknown encoding

Jul 16 2003 (392) SHUNTING: .89d44c4477c6393b0b8b991

?Cat= Board=python Number=
427317 page=0 view=colla凡科抠图ed sb=5 o= fpart=

我就用了作者出示的file/gb2312.rar,实际上它也是从projects/python-codecs/来的。把gb2312文件目录的gb2312.py文档复制到/usr/lib/python2.1/encodings/文件目录下,文件目录也复制到该文件目录下,随后改动/usr/lib/python2.1/encodings/aliases.py文档,在最终的}前加上:

# codec
'gb2312': 'gb2312',

---------

remove抠图网站

------------