Bonjour, dans le meme style, j'avais aussi un
psotfix qui marchait nikel, puis j'ai ajouté SpamAssassin, sans meme toucher aux
fichiers de conf, et maintenant, il me fait ca pour tout les mails recus
:
Oct 12 13:00:57 srvmail postfix/pickup[984]:
C988A834B0: uid=0 from=<root>
Oct 12 13:00:57 srvmail postfix/cleanup[1012]: C988A834B0: message-id=<20041012110057.C988A834B0@srvmail.frantz-electrolyse.com> Oct 12 13:00:57 srvmail postfix/qmgr[985]: C988A834B0: from=<admin@srvmail.frantz-electrolyse.com>, size=372, nrcpt=1 (queue active) Oct 12 13:01:01 srvmail postfix/smtp[1014]: C988A834B0: to=<xavier.dubernay@frantz-electrolyse.com>, relay=smtp.ifrance.com[82.196.4.14], delay=4, status=sent (250 ID0410121058.030376 mail accepted for delivery) Oct 12 13:01:01 srvmail postfix/qmgr[985]: C988A834B0: removed Alors je pige pas, il me dit mail "accepted for
delivery" puis "removed" et dnas tout ca, je recois jamais mon
mail ???
Voici mon /etc/postfix/main.cf
# Fichier de config de Postfix pour le domaine
frantz-electrolyse.com - machine = srvmail
command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix myhostname =
srvmail.frantz-electrolyse.com
# Extension pour les mails envoyés depuis la
machine
myorigin = $myhostname # Nom de domaine
mydomain = frantz-electrolyse.com # Liste des domaines pour lesquels le serveur accepte le mail mydestination = $myhostname, mail.$mydomain, smtp.$mydomain # Bannière de connexion
smtpd_banner = $myhostname ESMTP $mail_name setgid_group = postdrop biff = no append_dot_mydomain = no # Nom du fichier d'alias
alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases sender_canonical_maps=hash:/etc/postfix/sender_canonical
# Dans le cas où on a besoin d'un serveur pour relayer les mails sortants
:
relayhost = [smtp.ifrance.com] # Réseaux en lesquels j'ai confiance
mynetworks = 127.0.0.0/8, 192.168.0.0/24 # Brider le relay u domaine local
relay_domains = $myhostname # Commande à exécuter pour délivrer les mails en local
# mailbox_command = procmail -a "$EXTENSION" mailbox_command = procmail -p # Ne pas accepter de mail sans résolution inverse, ni ceux contenus dans access # smtpd_client_restrictions = reject_unknow_client, hash:/etc/posfix/access # Rejeter si domaine en blackliste & emplacement de la blackliste
# smtpd_client_restrictions = reject_maps_bl # maps_rbl_domains = rbl.maps.vix.com, dul.maps.vix.com # Vérifications sur sur le message d'apres header_checks &
body_checks
# header_checks = regexp:/etc/postfix/header_checks # body_checks = regexp:/etc/postfix/body_checks # Taille maximale pour les mailbox (0 = pas de
limite)
mailbox_size_limit = 0 recipient_delimiter = +
Et le /etc/postfix/master.cf : smtp inet
n -
y -
- smtpd
#submission inet n - - - - smtpd # -o smtpd_etrn_restrictions=reject #628 inet n - - - - qmqpd pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - - 300 1 qmgr #qmgr fifo n - - 300 1 oqmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verify unix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - y - - smtp relay unix - - - - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - - - - showq error unix - - - - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # maildrop. See the Postfix MAILDROP_README file for details. # maildrop unix -
n n
- -
pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} # only used by postfix-tls
#tlsmgr fifo - - n 300 1 tlsmgr #smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes Merci de votre aide eventuelle ..
Xavier - xdubernay@hotmail.com
|