Bonjour,
Je suis entrain de mettre en place un serveur mail sur Debian Woody.
Logiquement, j'ai fait une recherche sur le net, pour l'installation et
la configuration des paquets de sécurisation...
J'ai donc choisi de sécuriser postfix par les outils amavisd-new,
clamav-daemon et clamav-testfiles (en gros j'ai suivi votre doc au pied
et à la lettre..)
j'ai cependant quelques soucis:
Voilà ce que je trouve en lisant /var/log/mail.err:
Jun 25 14:16:17 pctoto postfix/master[15375]: fatal: bind 127.0.0.1
port 10024: Address already in use
Jun 25 14:33:47 pctoto postfix/postfix-script: fatal: the Postfix mail
system is not running
Voilà ce que j'ai rajouté à la fin du fichier /etc/postfix/master.cf
smtp-amavis unix - - y - 2 smtpd
-o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8, 193.xxx.xxx.xxx/24
et ce que j'ai rajouté au fichier /etc/postfix/main.cf:
# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.
# Do not change these directory settings - they are critical to Postfix
# operation.
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
setgid_group = postdrop
# appending .domain is the MUA's job.
append_dot_mydomain = no
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h
myhostname = pcxxx.toto.fr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = pcxxx.toto.fr
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
#@@
home_mailbox = Maildir/
#@@
content_filter = smtp-amavis:[127.0.0.1]:10024
Si j'envoie un mail de test je reçoit le message suivant:
<[EMAIL PROTECTED]>: host pcxxx.toto.fr[193.xxx.xxx.xxx] said: 554
<[EMAIL PROTECTED]>: Relay access denied (in reply to RCPT TO command)
A mon humble avis j'ai du louper un coche ... pourriez-vous svp
m'éclairer...
Je vous remercie