Ticket #725 (closed defect: fixed)

Opened 16 months ago

Last modified 5 months ago

Problem with autoresponder and amavis

Reported by: Cube Owned by:
Priority: major Milestone: ispCP ω 1.0.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.

Attachments

Change History

  Changed 15 months ago by rats

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

in reply to: ↑ description   Changed 14 months 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

follow-up: ↓ 4   Changed 14 months ago by anonymous

Did anybody solved this bug?

in reply to: ↑ 3   Changed 14 months 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;

follow-up: ↓ 6   Changed 14 months ago by anonymous

On Debian “etch” not working :(

in reply to: ↑ 5   Changed 14 months 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?

  Changed 14 months 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"

  Changed 14 months 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_')

  Changed 14 months 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 )

follow-up: ↓ 11   Changed 13 months 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)

in reply to: ↑ 10   Changed 13 months 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)

  Changed 12 months ago by anonymous

  Changed 12 months 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.

  Changed 11 months 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).

  Changed 10 months ago by anonymous

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

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

  Changed 8 months 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

  Changed 7 months 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カテゴリ登録サイトです。

  Changed 7 months 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.

  Changed 7 months ago by lxizjqad

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

  Changed 7 months ago by resultant

  Changed 7 months ago by reductil

  Changed 7 months ago by prevacid

http://www.eis2win.co.uk/gen/z_sys_recipeOfWeek.aspx?id=60 prevacid macrodefinition arsphenamine http://www.resalh.com/news/newsDetails.asp?newsid=358 purchase viagra wader diaminuria http://www.eis2win.co.uk/gen/z_sys_recipeOfWeek.aspx?id=34 order diazepam shooping misemploy http://www.resalh.com/news/newsDetails.asp?newsid=352 hydrocodone online admiration bradsot

  Changed 7 months ago by buy phentermine

  Changed 7 months ago by buy fioricet

  Changed 7 months ago by generic wellbutrin

  Changed 7 months ago by order vicodin online matching inarch

  Changed 7 months 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

  Changed 7 months ago by wellbutrin online

  Changed 7 months ago by generic zyrtec

http://www.mima.org/events/past.asp?eventID=153 generic zyrtec fulfilment zealotry http://www.knhs.nl/mg-ruiter.asp?newsID=32313&mg=kader&des=yes generic lexapro numismatic untroubled http://www.mima.org/events/past.asp?eventID=155 escitalopram undoing interleaved http://www.johnforceracing.com/news_show.cfm?id=1004 meridia misspend bespectacled

  Changed 7 months 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

  Changed 7 months ago by generic viagra

  Changed 7 months ago by generic sildenafil

  Changed 7 months 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

  Changed 7 months 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

  Changed 7 months ago by esomeprazole

  Changed 7 months ago by nexium seductress infection

  Changed 7 months 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

  Changed 7 months 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

  Changed 7 months 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

  Changed 7 months ago by norvasc

  Changed 7 months 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

  Changed 7 months ago by aleve

  Changed 7 months ago by cheap propecia

  Changed 7 months ago by order tramadol

  Changed 7 months 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

  Changed 7 months ago by zithromax

  Changed 7 months ago by forced

<Text>

  Changed 7 months ago by forced

<Text>

  Changed 7 months ago by stories

<Text>

  Changed 6 months ago by stories

<Text>

  Changed 6 months ago by forced

<Text>

  Changed 6 months ago by teens

<Text>

  Changed 6 months ago by stories

<Text>