Changeset 2275

Show
Ignore:
Timestamp:
09/09/08 10:40:01 (2 months ago)
Author:
azerttyu
Message:

close #1148 (daniche)

le hash laisse entendre que c'est un repertoire hors au mieux c'est un fichier.
un .db généré par postmap commme le montre cet exemple : {{{
$:/var/cache/secondarymx# ls -la
total 40
drwxr-xr-x 2 root root 4096 2008-09-09 11:51 .
drwxr-xr-x 10 root root 4096 2008-09-09 11:01 ..
...
-rw-r--r-- 1 root root 2441 2008-09-09 11:51 secondarymx
-rw-r--r-- 1 root root 12288 2008-09-09 11:51 secondarymx.db
}}}

De plus il y a inconsistance avec le grep ligne 11, le grep valide bien mais ce n'est pas exactement pareil

Sans oublier que sans cette modfication "postfix ne savait meme pas causer le handchek 'ehlo' de smtp" (daniche)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-secondarymx/trunk/debian/postinst

    r1666 r2275  
    1818            then 
    1919            mv ${CONF} ${CONF}.dpkg-old 
    20             cat ${CONF}.dpkg-old | sed -e 's/^mydestination\(.*\)$/mydestination\1, hash\:\/var\/cache\/secondarymx\/secondarymx/' >${CONF} 
     20            cat ${CONF}.dpkg-old | sed -e 's/^mydestination\(.*\)$/mydestination\1, hash\:\/var\/cache\/secondarymx\/secondarymx' >${CONF} 
    2121        else 
    2222            echo 'relay_domains = \$mydestination, hash:/var/cache/secondarymx/secondarymx/' >>${CONF}