bonjour,
j'ai installé et configuré Postfix sous fedora core 6.
Version postfix : : postfix-2.3.3-2
voici les fichiers de configuration :
Citation:
main.cf a écrit :
#
#REPERTOIRE D'INSTALLATION DE POSTFIX
#
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
program_directory = /usr/lib/postfix
#
#MISE EN PLACE DES PERMISSIONS
#
setgid_group = postdrop
mail_owner = postfix
#
#NOM DE LA MACHINE DU DOMAINE ET GESTION DU RESEAU
#
myhostname = siham.fs.ucd.ac.ma
mydomain = fs.ucd.ac.ma
masquerade_domains = fs.ucd.ac.ma
mynetworks = 196.200.172.0/24, 127.0.0.0/8
#
#PARAMETRE D'ENVOI DU COURIERL
#
myorigin = $mydomain
default_transport = smtp
#
#PARAMETRES DE RECEPTION DE COURRIEL
#
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
inet_interfaces = all
#
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
unknown_local_recipient_reject_code = 550
#
# TRUST AND RELAY CONTROL
#
relay_domains = $mydestination
#
# TRANSPORT MAP
#
transport_maps = hash:/etc/postfix/transport
#
# ALIAS DATABASE
#
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#
# ADDRESS EXTENSIONS (e.g., user+foo)
#
recipient_delimiter = +
#
# DELIVERY TO MAILBOX
#
home_mailbox = Maildir/
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
mailbox_command = /usr/bin/procmail
#
# SHOW SOFTWARE VERSION OR NOT
#
smtpd_helo_restrictions =reject_non_fqdn_hostname
#
# DEBUGGING CONTROL
#
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
#
# INSTALL-TIME CONFIGURATION INFORMATION
#
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
#
# PRISE EN CHARGE DE L'ANTIVIRUS
#
content_filter=smtp:127.0.0.1:10024
Citation:
master.cf a écrit :
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
Citation:
/etc/aliases a écrit :
on a pas touché à ce fichier
** je peux démarrer le postfix avec : /etc/init.d/postfix start ça donne démarrage [OK]
** le master est encours d'execution : avec /etc/init.d/postfix status
** lorsque j'envoie un mail de mon root à un utilisataur X pour tester la messagerie en utilisant : mail X
j'ai le résultat : Subject : test
salut
.
Cc:
le message n'est pas reçu : je vérifie dans l'utilisateur en utilisant la commande
mail
no mail for X
Je vous remercie pour votre aide. je suis vraiment coincée car il me reste que 15 jours pour tout configurer et terminer mon travail
j'ai installé et configuré Postfix sous fedora core 6.
Version postfix : : postfix-2.3.3-2
voici les fichiers de configuration :
Citation:
main.cf a écrit :
#
#REPERTOIRE D'INSTALLATION DE POSTFIX
#
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
program_directory = /usr/lib/postfix
#
#MISE EN PLACE DES PERMISSIONS
#
setgid_group = postdrop
mail_owner = postfix
#
#NOM DE LA MACHINE DU DOMAINE ET GESTION DU RESEAU
#
myhostname = siham.fs.ucd.ac.ma
mydomain = fs.ucd.ac.ma
masquerade_domains = fs.ucd.ac.ma
mynetworks = 196.200.172.0/24, 127.0.0.0/8
#
#PARAMETRE D'ENVOI DU COURIERL
#
myorigin = $mydomain
default_transport = smtp
#
#PARAMETRES DE RECEPTION DE COURRIEL
#
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
inet_interfaces = all
#
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
unknown_local_recipient_reject_code = 550
#
# TRUST AND RELAY CONTROL
#
relay_domains = $mydestination
#
# TRANSPORT MAP
#
transport_maps = hash:/etc/postfix/transport
#
# ALIAS DATABASE
#
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#
# ADDRESS EXTENSIONS (e.g., user+foo)
#
recipient_delimiter = +
#
# DELIVERY TO MAILBOX
#
home_mailbox = Maildir/
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
mailbox_command = /usr/bin/procmail
#
# SHOW SOFTWARE VERSION OR NOT
#
smtpd_helo_restrictions =reject_non_fqdn_hostname
#
# DEBUGGING CONTROL
#
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
#
# INSTALL-TIME CONFIGURATION INFORMATION
#
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
#
# PRISE EN CHARGE DE L'ANTIVIRUS
#
content_filter=smtp:127.0.0.1:10024
Citation:
master.cf a écrit :
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
Citation:
/etc/aliases a écrit :
on a pas touché à ce fichier
** je peux démarrer le postfix avec : /etc/init.d/postfix start ça donne démarrage [OK]
** le master est encours d'execution : avec /etc/init.d/postfix status
** lorsque j'envoie un mail de mon root à un utilisataur X pour tester la messagerie en utilisant : mail X
j'ai le résultat : Subject : test
salut
.
Cc:
le message n'est pas reçu : je vérifie dans l'utilisateur en utilisant la commande
no mail for X
Je vous remercie pour votre aide. je suis vraiment coincée car il me reste que 15 jours pour tout configurer et terminer mon travail