免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2571 | 回复: 5
打印 上一主题 下一主题

[Mail] postfix java mail VERP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-12 23:23 |只看该作者 |倒序浏览
I have a java mail client which sends mails using postfix with VERP enabled.

In the client side, how to code (using java.mail.*) to make full use the postfix's VERP capability please?

Any help is greatly appreciated.

Please mail: ygzq@jdh-group.biz

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-06-13 11:39 |只看该作者

postfix java mail VERP

JavaMail很多命令都没有实现。

不过你可以用其它的类库。

给你介绍几个。
MMBase Sendmail interface using JavaMail
http://www.mmbase.org/archive/developers/msg03951.html

http://www.goodserver.com/smtp-ssdk/apidocs/overview-tree.html

论坛徽章:
0
3 [报告]
发表于 2003-06-13 22:36 |只看该作者

postfix java mail VERP

原帖由 "gadfly" 发表:
JavaMail很多命令都没有实现。

MMBase Sendmail interface using JavaMail
http://www.mmbase.org/archive/developers/msg03951.html
   


It said nothing about VERP either.


     
http://www.goodserver.co..........
   

The above link is broken.


However, thank you very much indeed.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2003-06-14 16:35 |只看该作者

postfix java mail VERP

It said nothing about VERP either.

???not the same page?
I pasted the metheod about VRFY.

  1.     public String verify(String name) {
  2.         String anwser="";

  3.         /** Connect to mail-host **/
  4.         if (!connect(smtphost,25)) return "Error";

  5.         try {
  6.             out.writeBytes("VRFY "+name+"\r\n");
  7.             out.flush();
  8.             anwser = in.readLine();
  9.             if(anwser.indexOf("250")!=0)  return "Error";

  10.         } catch (Exception e) {
  11.             log.error("Sendmail verify error on: "+name+". "+e);
  12.             return "Error";
  13.         }
  14.         anwser=anwser.substring(4);
  15.         return anwser;
  16.     }

复制代码


http://www.mmbase.org/archive/developers/msg03951.html

论坛徽章:
0
5 [报告]
发表于 2003-06-14 18:15 |只看该作者

postfix java mail VERP

VERP not VRFY

It is now resolved.

For detail, please visit my forum.

Thank you again.

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
6 [报告]
发表于 2003-06-14 23:10 |只看该作者

postfix java mail VERP

啊,确实是我的问题。没看清楚。

你需要在客户端支持VERP功能?通过设置from不行么?

给你收集了一些关于VERP的资料,你看看有没有作用?

http://www.ultraviolet.org/archive/djb-ezmlm.2000/1436.html
http://java.sun.com/products/javamail/FAQ.html
http://cr.yp.to/proto/verp.txt

http://ccm.redhat.com/bboard-archive/acs_design/0003hb.html
http://www.ietf.org/rfc/rfc1211.txt

The fundamental problem in managing a large mailing list is matching
   bounce messages to subscription addresses.

   Often a bounce message refers to a failing address that does not
   appear on the mailing list. One of the mailing list subscribers is
   forwarding messages to that address. Which subscriber? As the list
   grows, this question becomes more and more difficult to answer.

   Sometimes a bounce message doesn't identify the address that failed.
   On occasion it doesn't even include a copy of the original message.
   See RFC 1211 for an extensive collection of horror stories.

上面是从VERP的draft中摘下来的,说明以前的缺陷,由此引出VERP
上面的意思似乎说mail list中有可能有错误地址,某个subscriber发信的时候出现bounce,需要知道这个subcriber(发信人)的地址,但是不太好解。
我在想,list一定要将信bounce到原发信者么?似乎没有必要亚,发给list-admin应该就可以了。
谁帮我解解惑?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP