156 Commits

Author SHA256 Message Date
2481950df5 Accepting request 1316457 from server:mail
- Remove patch amavisd-new-2.3.0-myhostname.patch. (POSIX::uname)[1] now delivers th FQHN.
  Fix (bsc#1253038) amavis fails to start due to “Insecure directory in $ENV{PATH}” 
  — caused by $ENV{'PATH'} = "" in Conf.pm on openSUSE 16 (Perl 5.42)
- update to version 2.14.0
  NEW FEATURES
  o Add decoding support for lzip compressed files.
    Issue: https://gitlab.com/amavis/amavis/issues/103
    MR:    https://gitlab.com/amavis/amavis/merge_requests/103
  o Add CC_UNCHECKED minor content category for ambiguous multipart
    boundaries. Users are encouraged to defang or quarantine such emails.
    Thanks to Jiahe Zhang and Jianjun Chen from Tsinghua University and
    Zhongguancun Lab for reporting the issue confidentially.
    Issue: https://gitlab.com/amavis/amavis/issues/112
  BUG FIXES
  o Resolve double reporting of Amavis::Conf module version.
    Reported by @teoberi.
    Issue: https://gitlab.com/amavis/amavis/issues/100
    MR:    https://gitlab.com/amavis/amavis/merge_requests/100
  o SmartOS `uptime` regex fix
    Reported by kb8zqz.
    On SmartOS (and maybe other Solaris / Illumos related distros?) the
    uptime command output includes () around the plural 's' in "days"
    (i.e. "day(s)").  Extend the regex to understand this.
    Issue: https://gitlab.com/amavis/amavis/issues/101
    MR:    https://gitlab.com/amavis/amavis/merge_requests/101
  o Reestablish pre-2.13 exit-behaviour of one-shot actions.
    Issue: https://gitlab.com/amavis/amavis/issues/104
    MR:    https://gitlab.com/amavis/amavis/merge_requests/105
  o Fix incorrect xz-archive mapping
    Issue: https://gitlab.com/amavis/amavis/issues/111

OBS-URL: https://build.opensuse.org/request/show/1316457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=82
2025-11-07 17:24:16 +00:00
b8954e8f07 add missed requirement
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=134
2025-11-07 14:31:59 +00:00
35aa081707 add missed requirement
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=133
2025-11-07 14:30:58 +00:00
142cee0459 - Remove patch amavisd-new-2.3.0-myhostname.patch. (POSIX::uname)[1] now delivers th FQHN.
Fix (bsc#1253038) amavis fails to start due to “Insecure directory in $ENV{PATH}” 
  — caused by $ENV{'PATH'} = "" in Conf.pm on openSUSE 16 (Perl 5.42)

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=132
2025-11-07 14:26:27 +00:00
53211d59bf - update to version 2.14.0
NEW FEATURES
  o Add decoding support for lzip compressed files.
    Issue: https://gitlab.com/amavis/amavis/issues/103
    MR:    https://gitlab.com/amavis/amavis/merge_requests/103
  o Add CC_UNCHECKED minor content category for ambiguous multipart
    boundaries. Users are encouraged to defang or quarantine such emails.
    Thanks to Jiahe Zhang and Jianjun Chen from Tsinghua University and
    Zhongguancun Lab for reporting the issue confidentially.
    Issue: https://gitlab.com/amavis/amavis/issues/112
  BUG FIXES
  o Resolve double reporting of Amavis::Conf module version.
    Reported by @teoberi.
    Issue: https://gitlab.com/amavis/amavis/issues/100
    MR:    https://gitlab.com/amavis/amavis/merge_requests/100
  o SmartOS `uptime` regex fix
    Reported by kb8zqz.
    On SmartOS (and maybe other Solaris / Illumos related distros?) the
    uptime command output includes () around the plural 's' in "days"
    (i.e. "day(s)").  Extend the regex to understand this.
    Issue: https://gitlab.com/amavis/amavis/issues/101
    MR:    https://gitlab.com/amavis/amavis/merge_requests/101
  o Reestablish pre-2.13 exit-behaviour of one-shot actions.
    Issue: https://gitlab.com/amavis/amavis/issues/104
    MR:    https://gitlab.com/amavis/amavis/merge_requests/105
  o Fix incorrect xz-archive mapping
    Issue: https://gitlab.com/amavis/amavis/issues/111
    MR:    https://gitlab.com/amavis/amavis/merge_requests/110
  o Fix evaluation of banning_reason_short when file type is not a leaf.
    For instance, a permitted `index.html` within a banned `archive.zip`

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=131
2025-11-07 14:15:10 +00:00
73c8744c65 Accepting request 1103584 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1103584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=81
2023-08-12 13:07:03 +00:00
Wolfgang Rosenauer
27b1e1346d Accepting request 1103583 from home:adkorte
- Package failed to rebuild on Perl version changes due to missing
  %{perl_requires}

OBS-URL: https://build.opensuse.org/request/show/1103583
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=129
2023-08-12 07:22:25 +00:00
ebbeee09da Accepting request 1078520 from server:mail
- apply replacement for default install directories correctly
  (boo#1210267)

OBS-URL: https://build.opensuse.org/request/show/1078520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=80
2023-04-12 10:51:52 +00:00
Wolfgang Rosenauer
07f6d95eb4 OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=127 2023-04-11 11:32:32 +00:00
Wolfgang Rosenauer
41b77975f5 OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=126 2023-04-10 20:00:46 +00:00
Wolfgang Rosenauer
15514de8dc OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=125 2023-04-10 19:54:11 +00:00
Wolfgang Rosenauer
f5f8c19bfb - apply replacement for default install directories correctly
(boo#1210267)

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=124
2023-04-10 19:49:21 +00:00
dcd312b02c Accepting request 1077191 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1077191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=79
2023-04-04 19:26:58 +00:00
Wolfgang Rosenauer
523a4f285d Accepting request 1076850 from home:varkoly:branches:server:mail
Now perl-Net-LibIDN2 is already available in devel:languages:perl and SR is created for openSUSE:Factory: 1076847
- update to version 2.13.0
  NEW FEATURES
  o Add support for new decoder Zstandard
  o Switch from Net::LibIDN to Net::LibIDN2.
    As Net::LibIDN (based on GNU libidn) supports only IDNA 2003 (and its
    upstream declares libidn2 as successor), the newer Net::LibIDN2 (based
    on GNU libidn2) supporting IDNA 2008 and TR46 is being used preferred,
    if available.
  o Recognize 7-Zip.org's command line utility 7zz
  o Recognize 'ACE archive' file type.
  o Add file(1) short type mapping for MS Office CDF format.
  o Add attachment file name information to structured report.
  o Introduce option to add an extra header containing the Amavis category.
  o Introduce $ip_repu_score_limit option to define an upper limit
    for the redis ip reputation score feature.
  o Make sanity limit inside macro_tests configurable.
  o Add support for SpamAssassin subjprefix keyword.
    SpamAssassin 3.4.3 introduced a subjprefix keyword and a
    _SUBJPREFIX_ template tag which may be used in SpamAssassin
    rules. The template tag is now also injected into Amavis for
    usage inside subject_tag related confvars.
  o Deprecate $daemon_group confvar by @daemon_groups, which allows
    joining multiple supplementary groups when dropping privileges.
    The first element of @daemon_groups determines the EGID.
    If $daemon_group is defined it will be put ahead implicitly.
    If @daemon_groups are empty, they default to the system-provided
    groups of $daemon_user.
  BUG FIXES
  o Ignore [$@]daemon_group(s) settings during config test
    when amavis is running unprivileged already.

OBS-URL: https://build.opensuse.org/request/show/1076850
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=122
2023-04-04 11:13:28 +00:00
d2db71d04e Accepting request 979415 from server:mail
- amavis fails to start (bsc#1199755)
  Add missed requirement 

- Remove server:mail/amavisd-new/amavis.service since it results Assignment outside of section warning

OBS-URL: https://build.opensuse.org/request/show/979415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=78
2022-05-27 22:28:12 +00:00
a1be3ad780 - amavis fails to start (bsc#1199755)
Add missed requirement

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=120
2022-05-27 05:22:32 +00:00
0091bda020 Accepting request 979271 from home:toganm:branches:server:mail
- Remove server:mail/amavisd-new/amavis.service since it results Assignment outside of section warning

OBS-URL: https://build.opensuse.org/request/show/979271
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=119
2022-05-27 05:20:04 +00:00
8c37db7dbf Accepting request 974902 from server:mail
- Starting amavis.service gives Unit var-run.mount not found.
  var-run.mount is not needed
  (bsc#1198783)

OBS-URL: https://build.opensuse.org/request/show/974902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=77
2022-05-04 13:11:24 +00:00
576752e03e - Starting amavis.service gives Unit var-run.mount not found.
var-run.mount is not needed
  (bsc#1198783)

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=117
2022-05-04 11:35:05 +00:00
ab2446dbf6 Accepting request 967699 from server:mail
OBS-URL: https://build.opensuse.org/request/show/967699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=76
2022-04-08 20:45:46 +00:00
d7b9f37034 Accepting request 965826 from home:dirkmueller:Factory
- update to 2.12.2:
  * Allow $timestamp_fmt_mysql to be used with the DBD::MariaDB driver.
  * Resolve utf8mb4 problems when using DBD-MariaDB.
  * Set correct originating flag when using milter/AM.PDP without policy banks.
  * Resolve crash on reload with insufficient permissions.
    Amavis now tests whether it is able read and evaluate its
    configuration files with dropped privileges.
    In case it cannot, amavis fails to start and refuses to reload.
  * Resolve SSL client connection hangups with broken pipe

OBS-URL: https://build.opensuse.org/request/show/965826
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=115
2022-04-08 07:48:30 +00:00
29d0780a89 Accepting request 943788 from server:mail
- amavisd-new should require packets perl-IO-stringy and perl-Net-LibIDN
  (bsc#1193291)

OBS-URL: https://build.opensuse.org/request/show/943788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=75
2022-01-04 18:38:15 +00:00
f43aea739f Fix typo
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=114
2022-01-04 15:14:05 +00:00
b5ecb53924 Accepting request 936462 from home:varkoly:branches:server:mail
- amavisd-new should require packets perl-IO-stringy and perl-Net-LibIDN
  (bsc#1193291)

OBS-URL: https://build.opensuse.org/request/show/936462
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=113
2021-12-17 11:07:39 +00:00
20b9f7dd8b Accepting request 908988 from server:mail
OBS-URL: https://build.opensuse.org/request/show/908988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=74
2021-07-29 19:31:54 +00:00
Wolfgang Rosenauer
8763c4c2bf Accepting request 908835 from home:jsegitz:branches:systemdhardening:server:mail
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/908835
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=112
2021-07-28 20:14:43 +00:00
Richard Brown
482f988fe1 Accepting request 876592 from server:mail
OBS-URL: https://build.opensuse.org/request/show/876592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=73
2021-03-05 12:47:09 +00:00
d79e378f94 Accepting request 875587 from home:adkorte
- Package amavisd-milter in a separate package
- Add perl(Convert::BinHex) to required packages
- Disable BerkeleyDB in configuration
  + amavisd-new-no-berkeleydb.patch

OBS-URL: https://build.opensuse.org/request/show/875587
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=110
2021-03-03 17:36:08 +00:00
7a08bf9af3 Accepting request 859752 from server:mail
OBS-URL: https://build.opensuse.org/request/show/859752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=72
2021-01-02 20:31:08 +00:00
Wolfgang Rosenauer
5ad33c8f90 Accepting request 859751 from home:adkorte
- update to version 2.12.1
  * Generate DKIM record comment line including the 's=' (selector) tag
    instead of an 'i=' (identifier) tag when using "amavisd showkeys".
  * Make sure generated Authentication-Results follow RFC specification.
  * Prevent re-encoding of notification templates.
  * Compare inode numbers as strings.
  * Resolve MySQL invalid utf8mb4 clause.
- cleanup spec
  * align (Build)Requires and Recommends with upstream 
  * rework creating vscan user (new system-user in Tumbleweed)

OBS-URL: https://build.opensuse.org/request/show/859751
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=108
2021-01-01 21:34:28 +00:00
ca98fd2017 Accepting request 846217 from server:mail
OBS-URL: https://build.opensuse.org/request/show/846217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=71
2020-11-05 20:55:49 +00:00
305c8858d5 Accepting request 844362 from home:adkorte
- update to version 2.12.0
  * Upstream changed to GitLab
  * Introduce Rspamd client extension
    With this extension, Amavis can use Rspamd either running on the same
    server or remotely. Connections are made using HTTP/HTTPS depending on
    configuration, the latter requiring a HTTPS-capable proxy (like NGINX or
    Apache) for Rspamd, which does not natively support HTTPS. Basic
    authentication with name/password pairs is also available.
  * Treat "not an OLE file" as a successful result
    Amavis supports calling the ripOLE program to extract embedded objects
    from Microsoft OLE documents. However, not all Microsoft documents
    contain said objects, and the underlying file format changes when they
    do. Since Amavis can't tell the difference, it passes everything to
    ripOLE unconditionally.  Amavis now treats the "not an OLE file" error
    code of ripOLE as a successful result, proceeds normally and scans the
    file as a whole.
  * Fix unix socket path extraction that has prevented a socket based
    policy bank to be loaded;
  * Fix DKIM signing for outbound messages (remove dkim-signing.diff)
  * Fix unescaped left brace regex warning in run_av() subroutine.
  * Mention default value for $myprogram_name in minimal amavisd.conf.
- cleanup spec
  * remove unused rc.amavis SysV initscript
  * remove unused /usr/lib/tmpfiles.d

OBS-URL: https://build.opensuse.org/request/show/844362
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=106
2020-11-05 12:11:58 +00:00
73af73ab3c Accepting request 769384 from server:mail
OBS-URL: https://build.opensuse.org/request/show/769384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=70
2020-02-03 10:15:40 +00:00
Wolfgang Rosenauer
141c18e3ed Accepting request 769334 from home:kukuk:branches:server:mail
- pwdutils is gone since ages

OBS-URL: https://build.opensuse.org/request/show/769334
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=104
2020-02-02 19:24:59 +00:00
e5cca04198 Accepting request 690199 from server:mail
OBS-URL: https://build.opensuse.org/request/show/690199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=69
2019-04-01 10:39:59 +00:00
Wolfgang Rosenauer
58cb742edb Accepting request 685862 from home:jengelh:sct
- Mark build recipe as bash-specific.
- Do not hide errors from useradd.
- Remove pre-openSUSE-12.3 logic.
- Convert PreReq and rebuild Requires(pre/post) lists.
- Remove hard scriptlet dependency on systemd.

OBS-URL: https://build.opensuse.org/request/show/685862
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=102
2019-03-31 18:08:26 +00:00
b207ba8c50 Accepting request 643554 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/643554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=68
2018-10-23 18:37:13 +00:00
Wolfgang Rosenauer
e7c89d59d5 Accepting request 641899 from home:wrosenauer:devel
- update to version 2.11.1
  * removed a trailing dot element from @INC, as a workaround for a perl
    vulnerability CVE-2016-1238
  * amavis-services: bumping up syslog level from LOG_NOTICE to LOG_ERR
    for a message "PID <pid> went away", and removed redundant newlines
    from some log messages
  * safe_decode() and safe_decode_utf8(): avoid warning messages
    "Use of uninitialized value in subroutine entry"
    in Encode::MIME::Header when the $check argument is undefined
  * @sa_userconf_maps has been extended to allow loading of per-recipient
    (or per-policy bank, or global) SpamAssassin configuration set from
    LDAP. For consistency with SQL a @sa_userconf_maps entry prefixed with
    'ldap:' will load SpamAssassin configuration set using the
    load_scoreonly_ldap() method;  a patch by Atanas Karashenski
  * add some Sanesecurity.Foxhole false positives to the default
    list @virus_name_to_spam_score_maps
  * updated some comments
- update amavis-milter to version 2.6.1
  * Fixed bug when creating amavisd-new policy bank names

  starting service amavis.
  amavisd-new should require spamassassin
- Replace references to /var/adm/fillup-templates with new

OBS-URL: https://build.opensuse.org/request/show/641899
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=100
2018-10-14 07:37:00 +00:00
576503891f Accepting request 587816 from server:mail
- bsc#1072122 amavisd-new should use unar instead of unrar

- bsc#1071932 - YaST2 Mail Server Configuration - throws Error for
  starting service amavis. 
  amavisd-new should require spamassassine

OBS-URL: https://build.opensuse.org/request/show/587816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=67
2018-03-18 20:44:45 +00:00
3df9977736 Fix typo:
amavisd-new should require spamassassine

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=98
2018-03-16 08:11:44 +00:00
06a41f4f4d - bsc#1072122 amavisd-new should use unar instead of unrar
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=97
2018-03-15 14:00:05 +00:00
456621a28d - bsc#1071932 - YaST2 Mail Server Configuration - throws Error for
starting service amavis. 
  amavisd-new should requier spamassassin

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=96
2018-03-14 09:47:06 +00:00
03f3694e49 Accepting request 567978 from server:mail
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/567978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=66
2018-01-22 15:19:54 +00:00
c4441c262c - bnc#1007149 Amavisd-milter fails to start when started via systemd
Use fillup_only with -n amavis

OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=94
2018-01-14 14:57:06 +00:00
56dc0e29dc Accepting request 545101 from server:mail
OBS-URL: https://build.opensuse.org/request/show/545101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=65
2017-11-25 07:43:05 +00:00
3357f99003 Accepting request 544711 from home:RBrownSUSE:branches:server:mail
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544711
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=92
2017-11-24 10:00:07 +00:00
b357b3cefc Accepting request 459966 from server:mail
DKIM signing was not working at all

OBS-URL: https://build.opensuse.org/request/show/459966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amavisd-new?expand=0&rev=64
2017-02-24 23:53:47 +00:00
Wolfgang Rosenauer
3d53c04a60 (regression in 2.11.0) (dkim-signing.diff)
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=90
2017-02-23 07:18:08 +00:00
Wolfgang Rosenauer
1ca12ea117 Accepting request 459964 from home:wrosenauer:devel
OBS-URL: https://build.opensuse.org/request/show/459964
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=89
2017-02-23 07:10:57 +00:00
Wolfgang Rosenauer
752ca2f372 Accepting request 459248 from home:kukuk:branches:server:mail
- Don't require insserv if we don't need it.

OBS-URL: https://build.opensuse.org/request/show/459248
OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-new?expand=0&rev=88
2017-02-20 15:46:08 +00:00