Fred Ho | 29 Dec 2011 16:25
Favicon

mailbot error

Hi,

I am running the following Courier suite on RedHat Enterprise Linux 4.6:

courier-maildrop-0.64.0-1.4ES
courier-authlib-userdb-0.63.0-1.rh4ES
courier-authlib-devel-0.63.0-1.rh4ES
courier-maildrop-wrapper-0.64.0-1.4ES
courier-0.64.0-1.4ES
courier-pop3d-0.64.0-1.4ES
courier-authlib-0.63.0-1.rh4ES
courier-imapd-0.64.0-1.4ES

When I tried to use mailbot to do autoresponse and it failed with the following error:

$ mailbot -n -t away.msg.3 -s'Autoreply test' -c 'UTF-8' cat < orig.msg 
Precedence: junk
Auto-Submitted: auto-replied
To: Fred Ho <fkho <at> fredho.net>
References: <1325166170222329500 <at> fredho.net>
In-Reply-To: <1325166170222329500 <at> fredho.net>
Subject: Autoreply test
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Fred Ho writes:

> Regards,Fred‚Äã
   
您好,
李林清已离职,相关业务咨询请联系标克公司Doris Li或廖生,谢谢!
         Doris Li:widny <at> buildup-sz.com
¬†¬†¬†¬†¬†¬†¬†¬† ªñÁîüÔºöliaoyl <at> buildup-sz.com  
   
   
*** glibc detected *** free(): invalid pointer: 0xbff17b4a ***

Attached are the orig.msg and away.msg.3 files. The autoreply message file contains Chinese characters in UTF-8 codeset.

Please advise on how to solve the problem.
Thanks.



Regards,
Fred
Attachment (away.msg.3): application/octet-stream, 199 bytes
Attachment (orig.msg): application/octet-stream, 2387 bytes
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Sam Varshavchik | 30 Dec 2011 01:07
Gravatar

Re: mailbot error

Fred Ho writes:

> *** glibc detected *** free(): invalid pointer: 0xbff17b4a ***
>
>
> Attached are the orig.msg and away.msg.3 files. The autoreply message file  
> contains Chinese characters in UTF-8 codeset.
>
>
> Please advise on how to solve the problem.

Try updating to the current version of Courier. This works for me, and there  
have been a lot of changes to this code in the last two years. In  
particular, all the internal unicode translation code has been removed, and  
replaced with the system libiconv library.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Fred Ho | 30 Dec 2011 07:09
Favicon

Re: mailbot error

Hi Sam,

Thanks for the recommendation.

I tried to compile courier-0.67 and it failed in rpmbuild:

RPMbuild errors:
File must begin with "/":%{_unitdir}/courier.service

I am using RHEL 4 Nahant Update 6, 32-bit kernel, and I don't seem to find where the macro _unitdir is expanded from. Can you advise? Thanks.


Regards,
Fred

On Fri, 12/30/2011 08:07 AM, Sam Varshavchik <mrsam <at> courier-mta.com> wrote:
Fred Ho writes:

> *** glibc detected *** free(): invalid pointer: 0xbff17b4a ***
>
>
> Attached are the orig.msg and away.msg.3 files. The autoreply message file
> contains Chinese characters in UTF-8 codeset.
>
>
> Please advise on how to solve the problem.

Try updating to the current version of Courier. This works for me, and there
have been a lot of changes to this code in the last two years. In
particular, all the internal unicode translation code has been removed, and
replaced with the system libiconv library.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Sam Varshavchik | 30 Dec 2011 14:36
Gravatar

Re: mailbot error

Fred Ho writes:

> « HTML content follows »
> Hi Sam,
>
>
> Thanks for the recommendation.
>
>
> I tried to compile courier-0.67 and it failed in rpmbuild:
>
>
> RPMbuild errors:
> File must begin with "/":%{_unitdir}/courier.service
>
>
> I am using RHEL 4 Nahant Update 6, 32-bit kernel, and I don't seem to find  
> where the macro _unitdir is expanded from. Can you advise? Thanks.

The RPM scripts get built on Fedora, which switched to systemd. This is  
systemd-related stuff.

A new build, dated 20111229, will be available shortly, that will probably  
build with initscripts, but I have no effective means of testing it. You can  
try to build it, but try to test it first on a non-live system, before  
installing it for real.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Fred Ho | 3 Jan 2012 15:28
Favicon

Re: mailbot error

Hi Sam,

I compiled the new build 20120102 successfully on RHEL 4.6 and tested the mailbot with success.
Thanks.


Regards,
Fred

On Fri, 12/30/2011 09:36 PM, Sam Varshavchik <mrsam <at> courier-mta.com> wrote:
Fred Ho writes:

> « HTML content follows »
> Hi Sam,
>
>
> Thanks for the recommendation.
>
>
> I tried to compile courier-0.67 and it failed in rpmbuild:
>
>
> RPMbuild errors:
> File must begin with "/":%{_unitdir}/courier.service
>
>
> I am using RHEL 4 Nahant Update 6, 32-bit kernel, and I don't seem to find
> where the macro _unitdir is expanded from. Can you advise? Thanks.

The RPM scripts get built on Fedora, which switched to systemd. This is
systemd-related stuff.

A new build, dated 20111229, will be available shortly, that will probably
build with initscripts, but I have no effective means of testing it. You can
try to build it, but try to test it first on a non-live system, before
installing it for real.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

Gmane