Permission sur changement de fichier debian
Résolu
abdouaziz
Messages postés
18
Statut
Membre
-
knostra Messages postés 171 Statut Membre -
knostra Messages postés 171 Statut Membre -
Bonjour,
j'ai un serveur de messagerie (mail + chat) a realiser sous debian etch 4.0.J'ai installé postfix mais je n'arrive pas à changer le fichier main il me dit que je ne peux pas changer les permissions.
J'ai besoin de votre aide svp.Merci
j'ai un serveur de messagerie (mail + chat) a realiser sous debian etch 4.0.J'ai installé postfix mais je n'arrive pas à changer le fichier main il me dit que je ne peux pas changer les permissions.
J'ai besoin de votre aide svp.Merci
A voir également:
- Permission sur changement de fichier debian
- Fichier epub - Guide
- Fichier bin - Guide
- Fichier rar - Guide
- Changement dns - Guide
- Fichier .dat - Guide
8 réponses
abdouaziz
Messages postés
18
Statut
Membre
je l'ai fait en root mais ca refuse toujours
voici mon code :
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
append_at_myorigin= yes
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
maximal_queue_lifetime =10d
mailbox_size_limit = 0
message_size_limit = 15728640
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
mail_name = mail server
myhostname = diagne
mydomain = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = diagne, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
luser_relay=
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
append_at_myorigin= yes
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
maximal_queue_lifetime =10d
mailbox_size_limit = 0
message_size_limit = 15728640
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
mail_name = mail server
myhostname = diagne
mydomain = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = diagne, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
luser_relay=
fait un ls -la dans le répertoire ou se trouve le fichier et marque nous toute la ligne complète qui correspond au fichier
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Regarde chez moi
lami20j@debian:~$ su - Password: debian:~# ls -l /etc/postfix/main.cf -rw-r--r-- 1 root root 1189 2007-10-13 08:53 /etc/postfix/main.cf debian:~# cp -v /etc/postfix/main.cf /etc/postfix/main.cf.orig `/etc/postfix/main.cf' -> `/etc/postfix/main.cf.orig' debian:~# ls -l /etc/postfix/main.cf* -rw-r--r-- 1 root root 1189 2007-10-13 08:53 /etc/postfix/main.cf -rw-r--r-- 1 root root 1189 2008-04-24 16:53 /etc/postfix/main.cf.orig debian:~# nano /etc/postfix/main.cf