Bug 31822

Summary: Handle alias_maps separately from other hashes in /etc/chroot.d/postfix.conf
Product: Sisyphus Reporter: Konstantin A Lepikhov (L.A. Kostis) <lakostis>
Component: postfixAssignee: Gleb F-Malinovskiy <glebfm>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv
Version: unstableKeywords: relnote
Hardware: all   
OS: Linux   
URL: http://git.altlinux.org/people/lakostis/packages/?p=postfix.git;a=commit;h=d06512c0979a1af9da1ecbc52df18fcc9145d040

Description Konstantin A Lepikhov (L.A. Kostis) 2016-02-19 01:07:36 MSK
commit f480c5c0f04f851bf1231bb986ef73fb9c96d202
Author: Konstantin A. Lepikhov <lakostis@altlinux.ru>
Date:   Thu Feb 18 21:56:15 2016 +0000

    extra/chroot.conf: added support for alias_maps
    
    According postconf(5), alias_maps should be processed by postalias
    instead of postmap, so handle them separately.
Comment 1 Dmitry V. Levin 2016-02-19 01:15:47 MSK
(In reply to comment #0)
> commit f480c5c0f04f851bf1231bb986ef73fb9c96d202
> Author: Konstantin A. Lepikhov <lakostis@altlinux.ru>
> Date:   Thu Feb 18 21:56:15 2016 +0000
> 
>     extra/chroot.conf: added support for alias_maps
> 
>     According postconf(5), alias_maps should be processed by postalias
>     instead of postmap, so handle them separately.

Спасибо.

> +if [ -n "$force_alias_maps" -o -n "$update_alias_maps" ]; then
> +       postalias $verbose "$src" ||
> +               Fatal "failed to update alias map $src database"
> +fi

$src - это файл или список файлов?  Эта переменная правильно проинициализирована в случае -n "$force_alias_maps"?
Comment 2 Konstantin A Lepikhov (L.A. Kostis) 2016-02-19 01:34:21 MSK
(In reply to comment #1)
> (In reply to comment #0)
> > commit f480c5c0f04f851bf1231bb986ef73fb9c96d202
> > Author: Konstantin A. Lepikhov <lakostis@altlinux.ru>
> > Date:   Thu Feb 18 21:56:15 2016 +0000
> > 
> >     extra/chroot.conf: added support for alias_maps
> > 
> >     According postconf(5), alias_maps should be processed by postalias
> >     instead of postmap, so handle them separately.
> 
> Спасибо.
> 
> > +if [ -n "$force_alias_maps" -o -n "$update_alias_maps" ]; then
> > +       postalias $verbose "$src" ||
> > +               Fatal "failed to update alias map $src database"
> > +fi
> 
> $src - это файл или список файлов?  Эта переменная правильно
> проинициализирована в случае -n "$force_alias_maps"?

http://git.altlinux.org/people/lakostis/packages/?p=postfix.git;a=blobdiff;f=extra/chroot.conf;h=b2b04803686fb20bd1270d0edde06eb0757682cf;hp=94e070c32543d8890c24f386a74008e0c4656089;hb=d06512c0979a1af9da1ecbc52df18fcc9145d040;hpb=70153038309fb53a6f3b3d0fa8a84eb8ec8711fd

Заменил эту копипастию другой, теперь это файл.
Comment 3 Konstantin A Lepikhov (L.A. Kostis) 2016-03-01 19:38:33 MSK
ping
Comment 4 Repository Robot 2016-03-02 19:25:33 MSK
postfix-1:2.11.7-alt2 -> sisyphus:

* Wed Mar 02 2016 Fr. Br. George <george@altlinux> 1:2.11.7-alt2
- Making /etc/sysconfig/network optional (closes: #31827)
- Extra/chroot.conf: added support for alias_maps (closes: #31822)
- Disable TLS micro version check (closes: #31752)