Bug#1018007: spamass-milter: X-Spam headers are appended, not prepended

2022-08-23 Thread Osric Wilkinson
Package: spamass-milter
Version: 0.4.0-2
Severity: normal
Tags: upstream

Dear Maintainer,

spamass-milter should add its headers to the top of the existing
headers, not the bottom.

Upstream know about the problem, 
https://savannah.nongnu.org/bugs/?58234 has a patch attached but I don't
know if it's been tested/merged.

Thanks,
   Osric.

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-17-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spamass-milter depends on:
ii  adduser 3.118
ii  libc6   2.31-13+deb11u3
ii  libgcc-s1   10.2.1-6
ii  libmilter1.0.1  8.15.2-22
ii  libstdc++6  10.2.1-6
ii  spamc   3.4.6-1

Versions of packages spamass-milter recommends:
ii  postfix   3.5.13-0+deb11u1
ii  spamassassin  3.4.6-1

spamass-milter suggests no packages.

-- Configuration Files:
/etc/default/spamass-milter changed:
OPTIONS="-u spamass-milter -e fluffypeople -I -i 127.0.0.1 -m -u -x"
SOCKET="/var/spool/postfix/spamass/spamass.sock"
SOCKETOWNER="postfix:vmail"
SOCKETMODE="0660"


-- no debconf information



Bug#454595: spamassassin: create preferences for virtual users doesn't work by default

2019-09-01 Thread Osric Wilkinson
Package: spamassassin
Version: 3.4.2-1
Followup-For: Bug #454595

Dear Maintainer,

   * What led up to the situation?
Testing a new install of SpamAssassing
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
Submtted mail to a user without a config folder

   * What was the outcome of this action?
No new folder, and an error in the log:

 spamd[18039]: config: mkdir /home/vmail/mail/osric/sa failed: Insecure
 dependency in mkdir while running with -T switch at
 /usr/share/perl/5.28/File/Path.pm line 198,  line 2

My perl-fu is not strong, but I tried basic untainting, replacing

  mkpath($fname, 0, 0700);

with

  my $clean = $fname ~= /^(*.)$/;
  mkpath($clean, 0, 0700);

(around line 1925 in /usr/share/perl5/Mail/SpamAssassin.pm)

but there was no change (no new folder)
  
   * What outcome did you expect instead?
The folder specified in --virtual-config-dir to be created per
the manpage for spamd.


-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spamassassin depends on:
ii  adduser3.118
ii  init-system-helpers1.56+nmu1
pn  libarchive-tar-perl
ii  libhtml-parser-perl3.72-3+b3
ii  libhttp-date-perl  6.02-1
ii  libmail-dkim-perl  0.54-1
ii  libnet-dns-perl1.19-1
ii  libnetaddr-ip-perl 4.079+dfsg-1+b3
ii  libsocket6-perl0.29-1+b1
ii  libsys-hostname-long-perl  1.5-1
ii  libwww-perl6.36-2
ii  lsb-base   10.2019051400
ii  perl   5.28.1-6

Versions of packages spamassassin recommends:
ii  gnupg2.2.12-1
ii  libio-socket-inet6-perl  2.72-2
ii  libmail-spf-perl 2.9.0-4
pn  libsys-syslog-perl   
ii  sa-compile   3.4.2-1
ii  spamc3.4.2-1

Versions of packages spamassassin suggests:
pn  libcompress-zlib-perl  
pn  libdbi-perl
pn  libencode-detect-perl  
pn  libgeo-ip-perl 
ii  libio-socket-ssl-perl  2.060-3
pn  libnet-patricia-perl   
pn  pyzor  
pn  razor  

-- Configuration Files:
/etc/default/spamassassin changed:
OPTIONS="--allow-tell --create-prefs --nouser-config 
--virtual-config-dir=/home/vmail/mail/%l/sa --username=vmail --groupname=vmail 
--listen=127.0.0.1 --max-spare=2 -D"
PIDFILE="/var/run/spamd.pid"
CRON=1

/etc/spamassassin/local.cf changed:
report_safe 0
trusted_networks 127. 
required_score 10.0
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
shortcircuit USER_IN_WHITELIST   on
shortcircuit USER_IN_DEF_WHITELIST   on
shortcircuit USER_IN_ALL_SPAM_TO on
shortcircuit SUBJECT_IN_WHITELISTon
shortcircuit USER_IN_BLACKLIST   on
shortcircuit USER_IN_BLACKLIST_TOon
shortcircuit SUBJECT_IN_BLACKLISTon
shortcircuit ALL_TRUSTED on
endif # Mail::SpamAssassin::Plugin::Shortcircuit


-- no debconf information



Bug#709592: dovecot-managesieve: checkpassword Temporary authentication failure/TRYLATER protocol error

2013-05-24 Thread Osric Wilkinson
Package: dovecot-managesieved
Version: 1:2.1.7-7
Severity: important
File: dovecot-managesieve
Tags: upstream

Dear Maintainer,

I'm using checkpassword (http://wiki.dovecot.org/AuthDatabase/CheckPassword)
as an authentication method for managesieve, however when the checkpassword
script exits with code 111 (Temporary authentication failure) managesieved
outputs a message that is wrong per rfc5804:

$ nc localhost 4190
S: IMPLEMENTATION Dovecot Pigeonhole
S: SIEVE fileinto reject envelope encoded-character vacation subaddress
S: comparator-i;ascii-numeric relational regex imap4flags copy include
S: variables body enotify environment mailbox date ihave
S: NOTIFY mailto
S: SASL PLAIN
S: STARTTLS
S: VERSION 1.0
S: OK Dovecot ready.

C: AUTHENTICATE PLAIN AHRlc3QAdGVzdA==

S: NO [TRYLATER] Temporary authentication failure. [hathor:2013-05-24
S: 07:56:09]

That last server line should be NO (TRYLATER) (that is, round brackets
rather than square brakets).


Example checkpassword script:

#!/usr/bin/perl -w

exit(111)



-- Package-specific info:

dovecot configuration
-
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-486 i686 Debian 7.0 ext3
auth_debug = yes
auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@*
first_valid_uid = 116
last_valid_uid = 116
lda_mailbox_autocreate = yes
mail_gid = vmail
mail_location = maildir:/home/vmail/mail/%u/Maildir
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox Sent Messages {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /home/osric/bin/checkpassword
  driver = checkpassword
}
plugin {
  sieve = ~/dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmaster@address hidden
protocols = imap sieve
service imap-login {
  inet_listener imap {
port = 143
  }
  process_min_avail = 0
  service_count = 1
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 1
}
ssl_cert = /etc/dovecot/dovecot.pem
ssl_key = /etc/dovecot/private/dovecot.pem
userdb {
  args = uid=vmail gid=vmail home=/home/vmail/mail/%n allow_all_users=yes
  driver = static
}
protocol sieve {
  mail_max_userip_connections = 2
}

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dovecot-managesieved depends on:
ii  dovecot-core   1:2.1.7-7
ii  dovecot-sieve  1:2.1.7-7
ii  libc6  2.13-38
ii  libssl1.0.01.0.1e-2
ii  ucf3.0025+nmu3

dovecot-managesieved recommends no packages.

dovecot-managesieved suggests no packages.

Versions of packages dovecot-managesieved is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-7
pn  dovecot-dbgnone
pn  dovecot-devnone
pn  dovecot-gssapi none
ii  dovecot-imapd  1:2.1.7-7
pn  dovecot-ldap   none
pn  dovecot-lmtpd  none
ii  dovecot-managesieved   1:2.1.7-7
ii  dovecot-mysql  1:2.1.7-7
pn  dovecot-pgsql  none
pn  dovecot-pop3d  none
ii  dovecot-sieve  1:2.1.7-7
pn  dovecot-sqlite none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org