- 论坛徽章:
- 0
|
--------------如果使用perl的话 可以使用perl的这个module
--------------Net::SMTP - Simple Mail Transfer Protocol Client
#!/usr/bin/perl
use Net::SMTP;
我使用Net::SMTP发邮件,发现最后它还是由smtpd来接受邮件,我想是不是只有一个postfix是不是无法实现我所需要的功能呢?
还是说我钻牛角尖了,实在弄不明白了?
或者说应该研究Spamassassin之类的过滤机制
Apr 13 16:18:35 localhost postfix/smtpd[27598]: connect from localhost.localdomain[127.0.0.1]
Apr 13 16:18:35 localhost postfix/smtpd[27598]: 3CA14F45FF: client=localhost.localdomain[127.0.0.1]
Apr 13 16:18:35 localhost postfix/cleanup[27606]: 3CA14F45FF: message-id=<20070413081835.3CA14F45FF@mail.test.com>
Apr 13 16:18:35 localhost postfix/qmgr[26976]: 3CA14F45FF: from=<test@test.com>, size=365, nrcpt=1 (queue active)
Apr 13 16:18:35 localhost postfix/smtpd[27598]: 6B20AF4601: client=localhost.localdomain[127.0.0.1]
Apr 13 16:18:35 localhost postfix/virtual[27609]: 3CA14F45FF: to=<test@test.com>, relay=virtual, delay=0.25, delays=0.19/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)
Apr 13 16:18:35 localhost postfix/qmgr[26976]: 3CA14F45FF: removed |
|