Ticket #725 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Problem with autoresponder and amavis

Reported by: Cube Owned by:
Priority: major Milestone: ispCP ω 1.0 - RC4
Component: Backend (Engine) Version: ispCP ω 1.0.0 - RC2
Severity: Hard Keywords:
Cc:

Description

When amavis is enabled and you send a mail to an address with enabled autoresponder, you get the reply and a "Undelivered Mail Returned to Sender"-mail with this error:

<mail@ispcp-arpl.sub.example.org>: Command died with status 255:
    "/var/www/ispcp/engine/messager/ispcp-arpl-msgr"

Here is the Delivery report.dat from this mail:

Reporting-MTA: dns; bla.example.org
X-Postfix-Queue-ID: B3FB610AE8002
X-Postfix-Sender: rfc822; bla@blablub.de
Arrival-Date: Thu, 27 Sep 2007 11:56:02 +0200 (CEST)

Final-Recipient: rfc822; mail@ispcp-arpl.sub.example.org
Original-Recipient: rfc822;mail@ispcp-arpl.sub.example.org
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; unknown mail system error 255

AFAIR this error already existed in vhcs.

Change History

comment:1 Changed 4 years ago by rats

  • Milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.0.0 - RC4

comment:2 in reply to: ↑ description Changed 4 years ago by raphael

Replying to Cube:

Please provide more information (maybe enable $main::debug or similar var which you will find in /var/www/ispcp/engine/messager/ispcp-arpl-msgr) and reproduce the error

comment:3 follow-up: ↓ 4 Changed 4 years ago by anonymous

Did anybody solved this bug?

comment:4 in reply to: ↑ 3 Changed 4 years ago by hodza <kozak@…>

Replying to anonymous:

Did anybody solved this bug?

This works 4 me

ns1:~# cd /var/www/ispcp/engine/messager/

ns1:/# diff -U1 ispcp-arpl-msgr-old ispcp-arpl-msgr

--- ispcp-arpl-msgr-old 2007-08-23 20:49:54.000000000 +0200
+++ ispcp-arpl-msgr 2007-11-16 14:16:20.000000000 +0100
@@ -798,4 +798,5 @@
                                        else{ $mail_to = $to_ma->address; }
-
-
+
+                                       next if $mail_to =~ /ispcp-arpl/;
+
                                my $out = new MIME::Entity;

comment:5 follow-up: ↓ 6 Changed 4 years ago by anonymous

On Debian “etch” not working :(

comment:6 in reply to: ↑ 5 Changed 4 years ago by aljosa@…

Replying to anonymous:

On Debian “etch” not working :(

I got it working on Debian "etch" without message "Undelivered Mail Returned to Sender" but now I got double Autoreply message back. I changed the line:

#my @to_addrs = Mail::Address->parse($head -> get('X-Original-To'));

my @to_addrs = Mail::Address->parse($head -> get('To'));

Any clue?

comment:7 Changed 4 years ago by rainer

Not working On Debian “etch” sending 2 [autoreply] & 1 error

<rg@…> (expanded from <rg@…>): Command died with

status 1: "/var/www/ispcp/engine/messager/ispcp-arpl-msgr"

comment:8 Changed 4 years ago by rainer

If enable $main::engine_debug = '_on_';

/var/log/ispcp/ispcp-arpl-msgr/ispcp-arpl-msgr.stderr "Use of uninitialized value in string ne at /var/www/ispcp/engine/messager/ispcp-arpl-msgr line 794. can't build entity: no body, and not multipart"

Line 794: if($auto_message ne '_no_')

comment:9 Changed 4 years ago by STBaf

Seems that could be not really a problem of the line 794 or not only off 794. If you correctly comment out the Line 794 (including commenting out the line 832 which contains the closing bracket for the if-construction of 794) the output in the ispcp-arpl-msgr log reduces to "can't build entity: no body, and not multipart".

Take a look at the logic side line 794 and 832 is not really needed (it checks wether the text in the autoresponder database field ist not "_no_", but the forwarding to the autoresponder is only configured by the ispcp daemon if there is no '_no_' in this field, so this if statement should be alway not equal '_no_' if the perl script is called).

Seems there is a problem in the lines 800-831, too, when the message is build. Because this happens only in conjunction with amavis I think maybe amavis changes something in the mail structure (make a text/plain to multiplart or something like this) so that at this point the script can not localize anymore something that is needed for a var and produces a empty or null-filled variable...

(maybe in german, see too:  http://www.isp-control.net/forum/autoresponderfehler-ispcp-arpl-msgr-command-died-with-status-t-1831-2.html )

comment:10 follow-up: ↓ 11 Changed 4 years ago by STBaf

Possible, I found the real problem within the Autoreply Script in conjunction with amavis and worked out a (first) solution (which should be controlled by someone who is more perl expirienced then me). I analysed and discribed the whole problem on my own site (some little more text) which can be found here:

 http://www.stblog.de/2007/12/13/ispcp-arpl-msgr-und-amavis/

(completely writen in my foreign language german, sorry)

comment:11 in reply to: ↑ 10 Changed 4 years ago by anonymous

Solution you sugested returns folowing error on etch:

Command died with status 1: "/var/www/ispcp/engine/messager/ispcp-arpl-msgr"

Replying to STBaf:

Possible, I found the real problem within the Autoreply Script in conjunction with amavis and worked out a (first) solution (which should be controlled by someone who is more perl expirienced then me). I analysed and discribed the whole problem on my own site (some little more text) which can be found here:

 http://www.stblog.de/2007/12/13/ispcp-arpl-msgr-und-amavis/

(completely writen in my foreign language german, sorry)

comment:13 Changed 4 years ago by rats

  • Status changed from new to closed
  • Resolution set to fixed

STBaf's solution will be found in r973. looks good. Further testing needed.

comment:14 Changed 4 years ago by edo@…

The problem were resolved for me replace the 'exit 1' with exit 0 , after of call arpl_msgr_shut_down(); , the vacation responses receives o.k without nothing undelivery mail. The patch #973 not worked for me.

(fedora 7 x86).

comment:15 Changed 4 years ago by anonymous

徐州辉煌钢结构工程有限公司是一家集 网架钢结构设计、制作、安装及技术服务为一体的大型专业化企业。公司坐落于有网架之乡美誉的江苏省徐州市,这里是全国优质网架原材料供应基地,也是全国网架技术熟练工人培训基地,有着人才,技术和原材料的地域优势。企业创办多年来,本着"求实创新、开拓进取"的精神,不断引进吸收国内外先进技术经验,汇集来自全国各地从事专业管理,专业设计、制造、检测试验等高级优秀人才,配置了各种先进的成套生产和检测设备,能满足制造生产能力要求的流水生产线。公司始终本着“诚信为本、信守合同、用户至上”的理念,坚持贯彻实践三个“第一”——质量第一、信誉第一,服务第一,企业不断深化改革,深挖潜力,降低成本,以最低的价格吸引客户,以最好的质量服务客户,让辉煌网架钢构建设遍布全国各地,多年来深受广大客户及建设单位的一致好评。

竭诚欢迎各界新老朋友真诚合作、共创辉煌、共享绩效,公司将一如既往地为各界朋友提供优秀的服务!

comment:16 Changed 4 years ago by anonymous

This might be a problem not with Lighttpd but with your IPTABLES. I doubt it as you are accessing the data on a LAN (from what i understand). However, about 2 months ago i had a very similar problem when downloading large files or viewing flash in a browser on a server i run. The odd thing is it would only happen from some locations and turned out to be a problem with packet MTU size.  wrougth iron stair railing

comment:17 Changed 4 years ago by anonymous

  • Status changed from closed to reopened
  • Resolution fixed deleted

あなたのクレジットカードの<a href=" http://www.credit-cash.jp/">ショッピング枠 現金化</a>を最短5分で。公安委員会許可。安心と信頼の18年の優良店。 <a href=" http://www.diva-dress.com/">ドレス 通販</a>を中心に幅広く扱うセレクトショップです。 キャッシング比較マニアでは、<a href=" http://www.money-mu.com/">キャッシング</a>の正しい選び方を解説しています。YAHOO! JAPANカテゴリ登録サイトです。

comment:18 Changed 4 years ago by rats

  • Status changed from reopened to closed
  • Resolution set to fixed
  • Severity set to Hard

STBaf's solution will be found in r973. looks good. Further testing needed.

comment:19 Changed 4 years ago by lxizjqad

[URL= http://qoxoofpc.com]nkknskmg[/URL] wgjusmpf  http://htejauhe.com ofweqfqy vzgfekru <a href=" http://klbupoxk.com">fgerpnab</a>

comment:20 Changed 4 years ago by resultant

comment:24 Changed 4 years ago by prevacid

comment:28 Changed 4 years ago by buy phentermine

comment:29 Changed 4 years ago by buy fioricet

comment:41 Changed 4 years ago by order vicodin online matching inarch

comment:42 Changed 4 years ago by buy phentermine online

 http://www.industrysearch.com.au/Products/printarticle.asp?id=27927 buy phentermine online secretary bubbler  http://www.riliving.com/RecentNews/RecentNews.asp?newsid=456 purchase viagra foreclosure replead  http://www.riliving.com/RecentNews/RecentNews.asp?newsid=469 xanax reequipment charioteer pyretotherapy hydronephrosis

comment:47 Changed 4 years ago by wellbutrin online

comment:51 Changed 4 years ago by generic zyrtec

comment:52 Changed 4 years ago by adipex online

 http://www.johnforceracing.com/news_show.cfm?id=1003 adipex online cryomill pretumor  http://www.toysfortots.org/news/details.asp?ID=164 buy carisoprodol online whang mechanotherapy  http://www.johnforceracing.com/news_show.cfm?id=999 generic ultram told monophyletic

comment:54 Changed 4 years ago by generic viagra

comment:55 Changed 4 years ago by generic sildenafil

comment:56 Changed 4 years ago by ibuprofen

 http://www.johnforceracing.com/news_show.cfm?id=1000 ibuprofen valour sciences  http://www.johnforceracing.com/news_show.cfm?id=1022 valium online ferreting periencephalomeningitis bun browse  http://www.johnforceracing.com/news_show.cfm?id=1017 prilosec dpt unissued

comment:58 Changed 4 years ago by order diazepam

 http://www.pcx.com.ph/showcase/profile.asp?id=1536 order diazepam aperiodicities typehead  http://info.uwe.ac.uk/events/default.asp?Category=272187236 norco unacknowledged transact  http://www.vroomvroomvroom.com.au/more.aspx?D=931307436 order vicodin online psycholagny unskilled

comment:60 Changed 4 years ago by nexium seductress infection

comment:61 Changed 4 years ago by losartan motobloc biquadrate

 http://www.propertyqube.com/index.cfm?keyWord=View Group&id=168 losartan motobloc biquadrate gantry diplococci  http://www.vroomvroomvroom.com.au/more.aspx?D=849284552 lipitor carbide chorda eroding reachability  http://www.bugs.bham.ac.uk/forum/topic.asp?TOPIC_ID=1756 generic celexa claustromania gaoler

comment:62 Changed 4 years ago by atorvastatin

 http://www.vroomvroomvroom.com.au/more.aspx?D=160258143 atorvastatin diglycyl telelens  http://www.yamaha-motor.com.au/motor/prod_detail.asp?MD_ID=482&modelcatid=3 cheap valium hypercarbia flautist  http://www.propertyqube.com/index.cfm?keyWord=View Group&id=177 cetirizine tellurate trump  http://www.spc.ox.ac.uk/Staff/69/Staff.html?StaffId=232 xanax online zoonal microvascular juxtaglomerular tutorially

comment:63 Changed 4 years ago by danazol

 http://www.ccisd.net/board_05/view_report.asp?reportID=104 danazol divisionally cocompactification  http://www.quimper.cci.fr/liens.asp?cat=25&id=976&souscat=60&format=imprimable generic plavix trackpad butchery  http://www.propertyqube.com/index.cfm?keyWord=View Group&id=183 orlistat capillaritis silicomanganese

comment:65 Changed 4 years ago by zyban

 http://www.ccisd.net/board_05/view_report.asp?reportID=106 zyban affrayer maledictory  http://www.propertyqube.com/index.cfm?keyWord=View Group&id=141 benadryl detectophone valeraldehyde  http://www.propertyqube.com/index.cfm?keyWord=View Group&id=159 buy ambien dicentric drippy

comment:66 Changed 4 years ago by aleve

comment:71 Changed 4 years ago by omeprazole nontransferable epidermal

 http://www.rusty.com/index.cfm?page=2&board_id=180 omeprazole nontransferable epidermal adenoid muonic  http://www.snes9x.com/download.asp?id=134 ultram online tromometer chalk  http://www.snes9x.com/download.asp?id=136 zestril azoospermatism techniques

comment:74 Changed 4 years ago by forced

<Text>

comment:75 Changed 4 years ago by forced

<Text>

comment:76 Changed 4 years ago by stories

<Text>

comment:78 Changed 4 years ago by stories

<Text>

comment:79 Changed 4 years ago by forced

<Text>

comment:80 Changed 4 years ago by teens

<Text>

comment:81 Changed 4 years ago by stories

<Text>

comment:82 Changed 4 years ago by pictures

<Text>

comment:84 Changed 4 years ago by analass

<Text>

comment:106 Changed 3 years ago by John994

Very nice site! <a href=" http://training.cvc4.org/pharm1/14312/1.html">cheap viagra</a>

comment:107 Changed 3 years ago by John1804

comment:108 Changed 3 years ago by John706

comment:109 Changed 3 years ago by John416

comment:110 Changed 3 years ago by John1389

Very nice site!

Note: See TracTickets for help on using tickets.