Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > SUSE
SUSE Vos questions sur la distribution Suse
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 20/12/2007, 17h06   #1
Invité de passage
 
Inscription : octobre 2007
Messages : 10
Détails du profil
Informations forums :
Inscription : octobre 2007
Messages : 10
Points : 0
Points : 0
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 :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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
mannoul est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/12/2007, 10h22   #2
Invité de passage
 
Inscription : octobre 2007
Messages : 10
Détails du profil
Informations forums :
Inscription : octobre 2007
Messages : 10
Points : 0
Points : 0
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 :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
mannoul est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/12/2007, 11h06   #3
Invité de passage
 
Inscription : octobre 2007
Messages : 10
Détails du profil
Informations forums :
Inscription : octobre 2007
Messages : 10
Points : 0
Points : 0
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 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 08h04.


 
 
 
 
Partenaires

Hébergement Web