Bonjour Denis,
> Debian utilise des variables d'environnement et des options de démarrage pour
> activer ou désactiver les modules. As-tu adapté le script /etc/init.d/postfix
> pour ton besoin ? Essaie de faire un "bash -x /etc/init.d/postfix start" pour
> voir tout ce qu'il initialise et si c'est compatible avec la configuration de
> ton second postfix.
Je met ci-dessous le résultat de ta requête, mais même sans utiliser le
script de démarrage et en faisant postfix -c /etc/postfix-second start;
j'ai le même symptome.
root@relay1:~# bash -x /etc/init.d/postfix start
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+ DAEMON=/usr/sbin/postfix
+ NAME=Postfix
+ TZ=
+ unset TZ
+ SYNC_CHROOT=y
+ test -f /etc/default/postfix
+ test -x /usr/sbin/postfix
+ test -f /etc/postfix/
main.cf
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ case "$1" in
+ log_daemon_msg 'Starting Postfix Mail Transport Agent' postfix
+ '[' -z 'Starting Postfix Mail Transport Agent' ']'
+ log_daemon_msg_pre 'Starting Postfix Mail Transport Agent' postfix
+ :
+ '[' -z postfix ']'
+ echo -n 'Starting Postfix Mail Transport Agent: postfix'
Starting Postfix Mail Transport Agent: postfix+ log_daemon_msg_post
'Starting Po
stfix Mail Transport Agent' postfix
+ :
++ running
+++ postconf -h queue_directory
++ queue=/var/spool/postfix
++ '[' -f /var/spool/postfix/pid/master.pid ']'
+++ sed 's/ //g' /var/spool/postfix/pid/master.pid
++ pid=22369
+++ sed 's/.* -> //; s/\/[^\/]*$//'
+++ ls -l /proc/22369/exe
++ dir=
++ '[' X = X/usr/lib/postfix ']'
+ RUNNING=
+ '[' -n '' ']'
++ tr A-Z a-z
++ postconf -h myorigin
+ MYORIGIN='$mydomain'
+ '[' 'X$mydomain' '!=' 'X$mydomain' ']'
+ '[' 'X$mydomain' = Xubuntu.com ']'
+ '[' 'X$mydomain' = Xdebian.org ']'
++ awk '/^[0-9a-z]/ && ($5 ~ "[-yY]") { print "y"; exit}'
/etc/postfix/
master.cf
+ NEED_CHROOT=y
+ '[' -n y ']'
+ '[' -n y ']'
++ umask
+ oldumask=0022
+ umask 022
++ postconf -h queue_directory
+ cd /var/spool/postfix
+ '[' -f /etc/ssl/certs/ca-certificates.crt ']'
++ postconf -h smtp_use_tls
+ smtp_use_tls=no
++ postconf -h smtp_enforce_tls
+ smtp_enforce_tls=no
++ postconf -h smtpd_use_tls
+ smtpd_use_tls=no
++ postconf -h smtpd_use_tls
+ smtpd_enforce_tls=no
+ case
:$smtp_use_tls:$smtp_enforce_tls:$smtpd_use_tls:$smtpd_enforce_tls: in
++ postconf -h local_recipient_maps
+ local_maps='proxy:unix:passwd.byname $alias_maps'
+ '[' 'Xproxy:unix:passwd.byname $alias_maps' '!=' 'X $alias_maps' ']'
+ '[' 'Xproxy:unix:passwd.byname $alias_maps' = 'X $alias_maps' ']'
+ FILES='etc/localtime etc/services etc/resolv.conf etc/hosts
etc/
nsswitch.conf etc/nss_mdns.config'
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/localtime ']'
+ rm -f etc/localtime
+ cp /etc/localtime etc/localtime
+ '[' -f etc/localtime ']'
+ chmod a+rX etc/localtime
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/services ']'
+ rm -f etc/services
+ cp /etc/services etc/services
+ '[' -f etc/services ']'
+ chmod a+rX etc/services
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/resolv.conf ']'
+ rm -f etc/resolv.conf
+ cp /etc/resolv.conf etc/resolv.conf
+ '[' -f etc/resolv.conf ']'
+ chmod a+rX etc/resolv.conf
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/hosts ']'
+ rm -f etc/hosts
+ cp /etc/hosts etc/hosts
+ '[' -f etc/hosts ']'
+ chmod a+rX etc/hosts
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/nsswitch.conf ']'
+ rm -f etc/nsswitch.conf
+ cp /etc/nsswitch.conf etc/nsswitch.conf
+ '[' -f etc/nsswitch.conf ']'
+ chmod a+rX etc/nsswitch.conf
+ for file in '$FILES'
+ '[' -d etc ']'
+ '[' -f /etc/nss_mdns.config ']'
+ '[' -f etc/nss_mdns.config ']'
+ rm -f usr/lib/zoneinfo/localtime
+ mkdir -p usr/lib/zoneinfo
+ ln -sf /etc/localtime usr/lib/zoneinfo/localtime
+ rm -f lib/
libnss_compat-2.11.3.so lib/libnss_compat.so.2
lib/libnss_dns-2.11.3
.so lib/libnss_dns.so.2
lib/
libnss_files-2.11.3.so lib/libnss_files.so.2 lib/lib
nss_hesiod-2.11.3.so lib/libnss_hesiod.so.2 lib/
libnss_nis-2.11.3.so
lib/libnss_
nisplus-2.11.3.so lib/libnss_nisplus.so.2
lib/libnss_nis.so.2
+ tar xf -
+ tar cf - /lib/
libnss_compat-2.11.3.so /lib/libnss_compat.so.2
/lib/libnss_dns-
2.11.3.so /lib/libnss_dns.so.2
/lib/
libnss_files-2.11.3.so /lib/libnss_files.so.
2
/lib/
libnss_hesiod-2.11.3.so /lib/libnss_hesiod.so.2
/lib/
libnss_nis-2.11.3.so
/lib/
libnss_nisplus-2.11.3.so
/lib/libnss_nisplus.so.2 /lib/libnss_nis.so.2
+ umask 0022
+ start-stop-daemon --start --exec /usr/sbin/postfix --
quiet-quick-start
+ log_end_msg 0
+ '[' -z 0 ']'
+ retval=0
+ log_end_msg_pre 0
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm '!=' x ']'
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput setaf 3
+ YELLOW=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
.
+ log_end_msg_post 0
+ :
+ return 0
+ exit 0
root@relay1:~#
Bonne journée,
Laurent
--
Laurent Rayssiguier
http://linuxtips.castres-wireless.org