Forum des développeurs  

Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé.
Précédent   Forum des développeurs > Hardware, Systèmes et Logiciels > Linux > Distributions > SUSE

SUSE Vos questions sur la distribution Suse

Réponse
 
Outils de la discussion
Vieux 20/12/2007, 17h06   #1 (permalink)
Invité régulier
 
Date d'inscription: octobre 2007
Messages: 10
Par défaut configuration de postfix

bonjour


je suis entrain de configurer postfix, et c'est catastrophique .


je n'arrive à rien , de plus je ne parviens pas a faire en sorte que postfix utilise la base d'un annuaire ldap que j'ai déjà créé

ci-joint une copie de main.cf :
Code :
command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

mail_owner = postfix

#myhostname = host.domain.tld
#myhostname = virtual.domain.tld

mydomain = insat.tn

#myorigin = $myhostname
#myorigin = $mydomain

inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost

#proxy_interfaces =
#proxy_interfaces = 1.2.3.4

#mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
#	mail.$mydomain, www.$mydomain, ftp.$mydomain

#local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =

unknown_local_recipient_reject_code = 550

#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host

mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table

#relay_domains = $mydestination

#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

#in_flow_delay = 1s

#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases

#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases

recipient_delimiter = +

#home_mailbox = Mailbox
#home_mailbox = Maildir/
 
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail

#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"

#mailbox_transport = lmtp:unix:/file/name
#mailbox_transport = cyrus

#fallback_transport = lmtp:unix:/file/name
#fallback_transport = cyrus
#fallback_transport =

#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local
  
# JUNK MAIL CONTROLS
#header_checks = regexp:/etc/postfix/header_checks

#fast_flush_domains = $relay_domains

smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 20

debug_peer_level = 2

#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain

debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail

mailq_path = /usr/bin/mailq

setgid_group = maildrop

# html_directory: The location of the Postfix HTML documentation.
sample_directory = /usr/share/doc/packages/postfix/samples

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
#virtual_alis_maps= LDAP:/etc/postfix/LDAP.cf
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = manel.manel
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = 
mydestination = $myhostname, localhost.$mydomain
defer_transports = 
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = SMTP
mailbox_command = 
mailbox_transport = 
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_helo_required = yes
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

merci infiniment

Dernière modification par julp ; 20/12/2007 à 18h25 Motif: lisibilité : ajout balises [code] (bouton # de l'éditeur)
mannoul est déconnecté   Envoyer un message privé Réponse avec citation
Vieux 21/12/2007, 10h22   #2 (permalink)
Invité régulier
 
Date d'inscription: octobre 2007
Messages: 10
Par défaut

j'ai modifié une ligne du code d'en haut

home_mailbox = maildir/
(elle était un commentaire et je l'ai activé )


en réinitialisant le serveur j'ai reçu ce message :
Code X :
postfix/postfix-script: warning: not owned by root: /etc/postfix/main.cf
postfix/postfix-script: warning: not owned by root: /etc/postfix/master.cf
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_
canonical.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./canonic
al
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relocat
ed.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relay_c
certs
postfix/postfix-script: warning: group or other writable: /etc/postfix/./transpo
rt
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_pa
sswd.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./TLS_LIC
ENSE
postfix/postfix-script: warning: group or other writable: /etc/postfix/./main.cf
.default
postfix/postfix-script: warning: group or other writable: /etc/postfix/./LICENSE
postfix/postfix-script: warning: group or other writable: /etc/postfix/./openssl
_postfix.conf.in
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relocat
ed
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_
canonical
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_pa
sswd.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./generic
postfix/postfix-script: warning: group or other writable: /etc/postfix/./makedef
s.out
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_pa
sswd
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual
.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./access
postfix/postfix-script: warning: group or other writable: /etc/postfix/./dynamic
maps.cf
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual
.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_
canonical.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./access.
db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./master.
cf.SuSEconfig
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual
postfix/postfix-script: warning: group or other writable: /etc/postfix/./transpo                              rt.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./.main.c                              f.swp
postfix/postfix-script: warning: group or other writable: /etc/postfix/./header_                              checks
postfix/postfix-script: warning: group or other writable: /etc/postfix/./postfix                              -files
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relay_c                              certs.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./bounce.                              cf.default
postfix/postfix-script: warning: group or other writable: /etc/postfix/./canonic                              al.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./post-in                              stall
postfix/postfix-script: warning: group or other writable: /etc/postfix/./main.cf                              .SuSEconfig
postfix/postfix-script: warning: group or other writable: /etc/postfix/./postfix                              -script
postfix/postfix-script: starting the Postfix mail system


comment je pourrai remédier à ce qui précède

merci

Dernière modification par julp ; 21/12/2007 à 11h02 Motif: lisibilité bis
mannoul est déconnecté   Envoyer un message privé Réponse avec citation
Vieux 21/12/2007, 11h06   #3 (permalink)
Invité régulier
 
Date d'inscription: octobre 2007
Messages: 10
Par défaut

j'ai trouvé un model de configuration sur internet et je l'ai suivit mais je crois que cela a empirer les choses

enfin je n'en sais plus rien
message d'erreur :


postfix/postfix-script: warning: not owned by root: /etc/postfix/ldap-accounts.cf
postfix/postfix-script: warning: not owned by root: /etc/postfix/ldap-aliases.cf
postfix/postfix-script: warning: not owned by root: /etc/postfix/ldap-domains.cf
postfix/postfix-script: warning: not owned by root: /etc/postfix/main.cf
postfix/postfix-script: warning: not owned by root: /etc/postfix/master.cf
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_canonical.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./canonical
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relocated.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relay_ccerts
postfix/postfix-script: warning: group or other writable: /etc/postfix/./transport
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_passwd.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./TLS_LICENSE
postfix/postfix-script: warning: group or other writable: /etc/postfix/./main.cf.default
postfix/postfix-script: warning: group or other writable: /etc/postfix/./LICENSE
postfix/postfix-script: warning: group or other writable: /etc/postfix/./openssl_postfix.conf.in
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relocated
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_canonical
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_passwd.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./generic
postfix/postfix-script: warning: group or other writable: /etc/postfix/./makedefs.out
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sasl_passwd
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./access
postfix/postfix-script: warning: group or other writable: /etc/postfix/./dynamicmaps.cf
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./sender_canonical.YaST2.save
postfix/postfix-script: warning: group or other writable: /etc/postfix/./access.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./master.cf.SuSEconfig
postfix/postfix-script: warning: group or other writable: /etc/postfix/./virtual
postfix/postfix-script: warning: group or other writable: /etc/postfix/./transport.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./.main.cf.swp
postfix/postfix-script: warning: group or other writable: /etc/postfix/./header_checks
postfix/postfix-script: warning: group or other writable: /etc/postfix/./postfix-files
postfix/postfix-script: warning: group or other writable: /etc/postfix/./relay_ccerts.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./bounce.cf.default
postfix/postfix-script: warning: group or other writable: /etc/postfix/./canonical.db
postfix/postfix-script: warning: group or other writable: /etc/postfix/./post-install
postfix/postfix-script: warning: group or other writable: /etc/postfix/./main.cf.SuSEconfig
postfix/postfix-script: warning: group or other writable: /etc/postfix/./postfix-script
mannoul est déconnecté   Envoyer un message privé Réponse avec citation
NEWS LINUX PROFESSIONNELFAQ LINUXTUTORIELS LINUXLIVRES LINUXLINUX TVUNIXGTK+QtAPACHE

Réponse

Précédent   Forum des développeurs > Hardware, Systèmes et Logiciels > Linux > Distributions > SUSE



Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are non
Pingbacks are non
Refbacks are non
Navigation rapide