[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-27 Thread ChristianEhrhardt
Thank you both, let us know if there is any response.

Lets say if nothing at all comes back we unfortunately need to consider
patching with a Delta in Ubuntu/Debian, but giving upstream ~4 weeks or
so seems fair.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-25 Thread Serge
I see this as upstream bug too.

So I posted description of it on amavis-users list:

https://lists.amavis.org/pipermail/amavis-
users/2017-November/005115.html

and have no response.

It does not contain all information as required by amavisd-new
developers in

https://www.ijs.si/software/amavisd/#faq-trouble

but I think that this is not need as this bug is a simple logical error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-25 Thread sles
Serge, thank you!

Just because I run avamisd-new in production only really available time is 
January 1st.
Thank you!

ChristianEhrhardt, sure, if Serge's patch will work for me I'll post
confirmation to amavisd-new developers mail list and ask fo inclusion.

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-24 Thread ChristianEhrhardt
Hi sles,
as with your other bug (so mostly the same answer) I appreciate taking the time 
to report this bug and helping to make Ubuntu better. I like the pre-debug and 
change suggestions and I'm sure it'll be helpful to others experiencing the 
same issue.

On this one you should as with the other (bug 1733834) engage with upstream on 
this as in [1].
I can only encourage to go on with that path or one will end up with an 
un-maintainable delta.

This sounds like an upstream bug to me. If this is confirmed as an
upstream bug, the best route to getting it fixed in Ubuntu in this case
would be to pull and backport fixes once available there. Otherwise, I'm
not sure what we can do directly in Ubuntu to fix the problem without
the high risk of getting incompatible.

If you do end up filing an upstream bug, please link to it from here. Although 
as I find in [1] there isn't a real bug tracker - so the ML links you had are 
likely all we get.
You might update here once one of them resolve.

You might also want to report to Debian as well to make them aware and
link that bug here - but they very likely would have the same position
on this.

[1]: https://www.ijs.si/software/amavisd/#faq-trouble

** Tags added: need-upstream-report

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-24 Thread ChristianEhrhardt
Note: I just meregd 2.11.0 for the next Ubuntu release, so patches
against that are fine to get things started - but should have some sort
of upstream backing to not end up as maintenance dept.

I know how this feels with my german chars äöü sometimes causing such
things and you feel nobody case about you (cyrillic in your case), but
without an upstream-ack on this I'd consider the risk to high to cause
more regressions later on (especially as I have to admit to not use
amavis a lot, so my risk assesment would be guessing at best).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-23 Thread Serge
Sure it is correct.
Sorry, the patch is for the current latest stable amavisd-new-2.11.0.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-22 Thread sles
Serge, in this procedure I have
 $s = safe_encode_utf8($s)  if $n eq 'log_templ' || 'log_recip_templ';
i.e. not safe_encode_utf8_inplace
is it correct to change it to
safe_encode_utf8($s) if $n eq 'log_templ' || $n eq 'log_recip_templ';

?
Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: amavisd-new (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-11-22 Thread Serge
Try this patch:
https://lists.amavis.org/pipermail/amavis-users/2017-November/005115.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1676805] Re: 16.04, problem with cyrillic alerts from amavis

2017-03-28 Thread sles
OK, this is not real fix, but it fixes things for me, because I use
utf8...


 diff -ur amavisd-new-dist amavisd-new
--- amavisd-new-dist2017-03-29 09:13:53.716398825 +0400
+++ amavisd-new 2017-03-29 09:40:45.796746725 +0400
@@ -10556,14 +10556,14 @@
 }
   }
   $m_hdr  = safe_encode_utf8($m_hdr)  if defined $m_hdr;
-  $m_body = safe_encode(c('bdy_encoding'), $m_body)  if defined $m_body;
+  #$m_body = safe_encode(c('bdy_encoding'), $m_body)  if defined $m_body;
   # make sure _our_ source line number is reported in case of failure
   my $multipart_cnt = 0;
   $mime_type = 'multipart/mixed'  if !defined $mime_type;
   eval {
 # RFC 6522: 7bit should always be adequate for multipart/report encoding
 $entity = MIME::Entity->build(
-  Type => $mime_type, Encoding => '8bit',
+  Type => $mime_type, Encoding => '7bit',
   'X-Mailer' => undef);
 1;
   } or do {

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676805

Title:
  16.04, problem with cyrillic alerts from amavis

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1676805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs