Skip to content
Snippets Groups Projects
Unverified Commit af49f704 authored by Roma's avatar Roma Committed by Rémy Huet
Browse files

bug sur la création de socket ipv4

parent b669a164
No related branches found
No related tags found
1 merge request!20pica-mailnt
......@@ -32,6 +32,7 @@ postconf -e "inet_protocols = ipv4"
#il est nécessaire de stopper le démon pour changer les sockets
postfix reload
postfix stop
service postfix stop
#configuration du local delivery agent sous la forme du serveur lmtp de dovecot connecté par socket ip (inet)
postconf -e "virtual_transport = lmtp:inet:${LMTP_LAN_HOSTNAME}:${LMTP_PORT}:private/dovecot-lmtp"
......@@ -40,6 +41,6 @@ postconf -e "virtual_transport = lmtp:inet:${LMTP_LAN_HOSTNAME}:${LMTP_PORT}:pri
#démarrage premier plan
if [ "$1" != true ]; then
/usr/lib/postfix/sbin/master -c /etc/postfix -d 2>&1
service postfix stop
tail -F /var/log/mail.log
fi
......@@ -27,6 +27,7 @@ postfix stop
service rsyslog start
/usr/lib/postfix/sbin/master -c /etc/postfix -d 2>&1
service postfix stop
service postfix start
tail -F /var/log/mail.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment