Probleme envoi/recepetion mail vers l'exterieur avec Postfix

Probleme envoi/recepetion mail vers l'exterieur avec Postfix - réseaux et sécurité - Linux et OS Alternatifs

Marsh Posté le 28-05-2010 à 08:58:31    

Bonjour à tous.
 
 
Je viens d'installer un serveur mail Postfix sous Debian pour ma boite mais je rencontre quelques problèmes.
En effet, débutant dans ce système j'ai quelques difficultés à tout configurer.
 
Je n'arrive pas à recvoir ni envoyer des mails vers l'exterieur par contre en revanche vers le local tout fonctionne.
 
Voici certains éléments qui pourraient vous aider:
 
Le postconf -n:
 
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
html_directory = /usr/share/doc/postfix/html
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, altaconcept.com, mail.ALTA.interne, localhost.ALTA.interne, localhost.$mydomain, localhost
mydomain = altaconcept.com
myhostname = serveur.altaconcept.com
mynetworks = 192.168.2.0/24, 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks_style = class
readme_directory = /usr/share/doc/postfix
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
recipient_delimiter = +
relay_domains = $mydomain
relayhost = [smtp-msa.orange.fr]:587
sender_canonical_maps = hash:/etc/postfix/sender_canonical
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl
smtp_sasl_security_options = noanonymous
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_security_level = none
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
 
Et le mail.log:
 
 
May 28 08:29:24 mail postfix/postfix-script[31672]: warning: not owned by root: /etc/postfix/main.cf~
May 28 08:29:24 mail postfix/postfix-script[31674]: warning: not owned by root: /etc/postfix/recipient_canonical
May 28 08:29:24 mail postfix/postfix-script[31675]: warning: not owned by root: /etc/postfix/recipient_canonical.db
May 28 08:29:24 mail postfix/postfix-script[31676]: warning: not owned by root: /etc/postfix/recipient_canonical~
May 28 08:29:24 mail postfix/postfix-script[31677]: warning: not owned by root: /etc/postfix/sasl/sasl_passwd
May 28 08:29:24 mail postfix/postfix-script[31678]: warning: not owned by root: /etc/postfix/sasl/sasl_passwd~
May 28 08:29:24 mail postfix/postfix-script[31679]: warning: not owned by root: /etc/postfix/sender_canonical
May 28 08:29:24 mail postfix/postfix-script[31680]: warning: not owned by root: /etc/postfix/sender_canonical.db
May 28 08:29:24 mail postfix/postfix-script[31681]: warning: not owned by root: /etc/postfix/sender_canonical~
May 28 08:29:24 mail postfix/postfix-script[31682]: warning: not owned by root: /etc/postfix/transport
May 28 08:29:24 mail postfix/postfix-script[31683]: warning: not owned by root: /etc/postfix/transport.db
May 28 08:29:24 mail postfix/postfix-script[31684]: warning: not owned by root: /etc/postfix/transport~
May 28 08:29:24 mail postfix/postfix-script[31686]: warning: group or other writable: /usr/lib/postfix/./proxymap
May 28 08:29:24 mail postfix/postfix-script[31687]: warning: group or other writable: /usr/lib/postfix/./qmgr
May 28 08:29:24 mail postfix/postfix-script[31688]: warning: group or other writable: /usr/lib/postfix/./smtp
May 28 08:29:24 mail postfix/postfix-script[31689]: warning: group or other writable: /usr/lib/postfix/./virtual
May 28 08:29:24 mail postfix/postfix-script[31690]: warning: group or other writable: /usr/lib/postfix/./error
May 28 08:29:24 mail postfix/postfix-script[31691]: warning: group or other writable: /usr/lib/postfix/./discard
May 28 08:29:24 mail postfix/postfix-script[31692]: warning: group or other writable: /usr/lib/postfix/./dict_ldap.so
May 28 08:29:24 mail postfix/postfix-script[31693]: warning: group or other writable: /usr/lib/postfix/./anvil
May 28 08:29:24 mail postfix/postfix-script[31694]: warning: group or other writable: /usr/lib/postfix/./master
May 28 08:29:24 mail postfix/postfix-script[31695]: warning: group or other writable: /usr/lib/postfix/./dict_mysql.so
May 28 08:29:24 mail postfix/postfix-script[31696]: warning: group or other writable: /usr/lib/postfix/./flush
May 28 08:29:24 mail postfix/postfix-script[31697]: warning: group or other writable: /usr/lib/postfix/./spawn
May 28 08:29:24 mail postfix/postfix-script[31698]: warning: group or other writable: /usr/lib/postfix/./dict_tcp.so
May 28 08:29:24 mail postfix/postfix-script[31699]: warning: group or other writable: /usr/lib/postfix/./local
May 28 08:29:24 mail postfix/postfix-script[31700]: warning: group or other writable: /usr/lib/postfix/./tlsmgr
May 28 08:29:24 mail postfix/postfix-script[31701]: warning: group or other writable: /usr/lib/postfix/./trivial-rewrite
May 28 08:29:24 mail postfix/postfix-script[31702]: warning: group or other writable: /usr/lib/postfix/./bounce
May 28 08:29:24 mail postfix/postfix-script[31703]: warning: group or other writable: /usr/lib/postfix/./oqmgr
May 28 08:29:24 mail postfix/postfix-script[31704]: warning: group or other writable: /usr/lib/postfix/./dict_cdb.so
May 28 08:29:24 mail postfix/postfix-script[31705]: warning: group or other writable: /usr/lib/postfix/./dict_pgsql.so
May 28 08:29:24 mail postfix/postfix-script[31706]: warning: group or other writable: /usr/lib/postfix/./scache
May 28 08:29:24 mail postfix/postfix-script[31707]: warning: group or other writable: /usr/lib/postfix/./qmqpd
May 28 08:29:24 mail postfix/postfix-script[31708]: warning: group or other writable: /usr/lib/postfix/./showq
May 28 08:29:24 mail postfix/postfix-script[31709]: warning: group or other writable: /usr/lib/postfix/./dict_pcre.so
May 28 08:29:24 mail postfix/postfix-script[31710]: warning: group or other writable: /usr/lib/postfix/./pipe
May 28 08:29:24 mail postfix/postfix-script[31711]: warning: group or other writable: /usr/lib/postfix/./verify
May 28 08:29:24 mail postfix/postfix-script[31712]: warning: group or other writable: /usr/lib/postfix/./pickup
May 28 08:29:24 mail postfix/postfix-script[31713]: warning: group or other writable: /usr/lib/postfix/./smtpd
May 28 08:29:24 mail postfix/postfix-script[31714]: warning: group or other writable: /usr/lib/postfix/./cleanup
May 28 08:29:24 mail postfix/postfix-script[31715]: warning: group or other writable: /etc/postfix/./.sender_canonical.swp
May 28 08:29:24 mail postfix/postfix-script[31716]: warning: group or other writable: /etc/postfix/./.transport.swp
May 28 08:29:24 mail postfix/postfix-script[31717]: warning: group or other writable: /etc/postfix/./recipient_canonical
May 28 08:29:24 mail postfix/postfix-script[31718]: warning: group or other writable: /etc/postfix/./.transport.swo
May 28 08:29:24 mail postfix/postfix-script[31719]: warning: group or other writable: /etc/postfix/./canonical.db
May 28 08:29:24 mail postfix/postfix-script[31720]: warning: group or other writable: /etc/postfix/./sasl.db
May 28 08:29:24 mail postfix/postfix-script[31721]: warning: group or other writable: /etc/postfix/./sender_canonical
May 28 08:29:24 mail postfix/postfix-script[31722]: warning: group or other writable: /etc/postfix/./sender_canonical.db
May 28 08:29:24 mail postfix/postfix-script[31723]: warning: group or other writable: /etc/postfix/./recipient_canonical.db
May 28 08:29:24 mail postfix/postfix-script[31724]: warning: group or other writable: /etc/postfix/./dynamicmaps.cf
May 28 08:29:24 mail postfix/postfix-script[31725]: warning: group or other writable: /etc/postfix/./master.cf
May 28 08:29:24 mail postfix/postfix-script[31726]: warning: group or other writable: /etc/postfix/./sasl/sasl_passwd
May 28 08:29:24 mail postfix/postfix-script[31727]: warning: group or other writable: /etc/postfix/./sasl/sasl_passwd~
May 28 08:29:24 mail postfix/postfix-script[31728]: warning: group or other writable: /etc/postfix/./sender_canonical~
May 28 08:29:24 mail postfix/postfix-script[31729]: warning: group or other writable: /etc/postfix/./recipient_canonical~
May 28 08:29:24 mail postfix/postfix-script[31730]: warning: group or other writable: /etc/postfix/./postfix-script
May 28 08:29:24 mail postfix/postfix-script[31731]: warning: group or other writable: /etc/postfix/./post-install
May 28 08:29:24 mail postfix/postfix-script[31732]: warning: group or other writable: /etc/postfix/./postfix-files
May 28 08:29:24 mail postfix/postfix-script[31733]: warning: group or other writable: /etc/postfix/./canonical
May 28 08:29:24 mail postfix/postfix-script[31734]: warning: group or other writable: /etc/postfix/./.transport.swn
May 28 08:29:24 mail postfix/postfix-script[31754]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
May 28 08:29:24 mail postfix/postfix-script[31756]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
May 28 08:29:24 mail postfix/postfix-script[31759]: warning: /var/spool/postfix/etc/nsswitch.conf and /etc/nsswitch.conf differ
May 28 08:29:24 mail postfix/postfix-script[31778]: starting the Postfix mail system
May 28 08:29:24 mail postfix/master[31779]: daemon started -- version 2.5.5, configuration /etc/postfix
May 28 08:29:25 mail postfix/postfix-script[31824]: warning: not owned by root: /etc/postfix/main.cf~
May 28 08:29:25 mail postfix/postfix-script[31826]: warning: not owned by root: /etc/postfix/recipient_canonical
May 28 08:29:25 mail postfix/postfix-script[31827]: warning: not owned by root: /etc/postfix/recipient_canonical.db
May 28 08:29:25 mail postfix/postfix-script[31828]: warning: not owned by root: /etc/postfix/recipient_canonical~
May 28 08:29:25 mail postfix/postfix-script[31829]: warning: not owned by root: /etc/postfix/sasl/sasl_passwd
May 28 08:29:25 mail postfix/postfix-script[31830]: warning: not owned by root: /etc/postfix/sasl/sasl_passwd~
May 28 08:29:25 mail postfix/postfix-script[31831]: warning: not owned by root: /etc/postfix/sender_canonical
May 28 08:29:25 mail postfix/postfix-script[31832]: warning: not owned by root: /etc/postfix/sender_canonical.db
May 28 08:29:25 mail postfix/postfix-script[31833]: warning: not owned by root: /etc/postfix/sender_canonical~
May 28 08:29:25 mail postfix/postfix-script[31834]: warning: not owned by root: /etc/postfix/transport
May 28 08:29:25 mail postfix/postfix-script[31835]: warning: not owned by root: /etc/postfix/transport.db
May 28 08:29:25 mail postfix/postfix-script[31836]: warning: not owned by root: /etc/postfix/transport~
May 28 08:29:25 mail postfix/postfix-script[31838]: warning: group or other writable: /usr/lib/postfix/./proxymap
May 28 08:29:25 mail postfix/postfix-script[31839]: warning: group or other writable: /usr/lib/postfix/./qmgr
May 28 08:29:25 mail postfix/postfix-script[31840]: warning: group or other writable: /usr/lib/postfix/./smtp
May 28 08:29:25 mail postfix/postfix-script[31841]: warning: group or other writable: /usr/lib/postfix/./virtual
May 28 08:29:25 mail postfix/postfix-script[31842]: warning: group or other writable: /usr/lib/postfix/./error
May 28 08:29:25 mail postfix/postfix-script[31843]: warning: group or other writable: /usr/lib/postfix/./discard
May 28 08:29:25 mail postfix/postfix-script[31844]: warning: group or other writable: /usr/lib/postfix/./dict_ldap.so
May 28 08:29:25 mail postfix/postfix-script[31845]: warning: group or other writable: /usr/lib/postfix/./anvil
May 28 08:29:25 mail postfix/postfix-script[31846]: warning: group or other writable: /usr/lib/postfix/./master
May 28 08:29:25 mail postfix/postfix-script[31847]: warning: group or other writable: /usr/lib/postfix/./dict_mysql.so
May 28 08:29:25 mail postfix/postfix-script[31848]: warning: group or other writable: /usr/lib/postfix/./flush
May 28 08:29:25 mail postfix/postfix-script[31849]: warning: group or other writable: /usr/lib/postfix/./spawn
May 28 08:29:25 mail postfix/postfix-script[31850]: warning: group or other writable: /usr/lib/postfix/./dict_tcp.so
May 28 08:29:25 mail postfix/postfix-script[31851]: warning: group or other writable: /usr/lib/postfix/./local
May 28 08:29:25 mail postfix/postfix-script[31852]: warning: group or other writable: /usr/lib/postfix/./tlsmgr
May 28 08:29:25 mail postfix/postfix-script[31853]: warning: group or other writable: /usr/lib/postfix/./trivial-rewrite
May 28 08:29:25 mail postfix/postfix-script[31854]: warning: group or other writable: /usr/lib/postfix/./bounce
May 28 08:29:25 mail postfix/postfix-script[31855]: warning: group or other writable: /usr/lib/postfix/./oqmgr
May 28 08:29:25 mail postfix/postfix-script[31856]: warning: group or other writable: /usr/lib/postfix/./dict_cdb.so
May 28 08:29:25 mail postfix/postfix-script[31857]: warning: group or other writable: /usr/lib/postfix/./dict_pgsql.so
May 28 08:29:25 mail postfix/postfix-script[31858]: warning: group or other writable: /usr/lib/postfix/./scache
May 28 08:29:25 mail postfix/postfix-script[31859]: warning: group or other writable: /usr/lib/postfix/./qmqpd
May 28 08:29:25 mail postfix/postfix-script[31860]: warning: group or other writable: /usr/lib/postfix/./showq
May 28 08:29:25 mail postfix/postfix-script[31861]: warning: group or other writable: /usr/lib/postfix/./dict_pcre.so
May 28 08:29:25 mail postfix/postfix-script[31862]: warning: group or other writable: /usr/lib/postfix/./pipe
May 28 08:29:25 mail postfix/postfix-script[31863]: warning: group or other writable: /usr/lib/postfix/./verify
May 28 08:29:25 mail postfix/postfix-script[31864]: warning: group or other writable: /usr/lib/postfix/./pickup
May 28 08:29:25 mail postfix/postfix-script[31865]: warning: group or other writable: /usr/lib/postfix/./smtpd
May 28 08:29:25 mail postfix/postfix-script[31866]: warning: group or other writable: /usr/lib/postfix/./cleanup
May 28 08:29:25 mail postfix/postfix-script[31867]: warning: group or other writable: /etc/postfix/./.sender_canonical.swp
May 28 08:29:25 mail postfix/postfix-script[31868]: warning: group or other writable: /etc/postfix/./.transport.swp
May 28 08:29:25 mail postfix/postfix-script[31869]: warning: group or other writable: /etc/postfix/./recipient_canonical
May 28 08:29:25 mail postfix/postfix-script[31870]: warning: group or other writable: /etc/postfix/./.transport.swo
May 28 08:29:25 mail postfix/postfix-script[31871]: warning: group or other writable: /etc/postfix/./canonical.db
May 28 08:29:25 mail postfix/postfix-script[31872]: warning: group or other writable: /etc/postfix/./sasl.db
May 28 08:29:25 mail postfix/postfix-script[31873]: warning: group or other writable: /etc/postfix/./sender_canonical
May 28 08:29:25 mail postfix/postfix-script[31874]: warning: group or other writable: /etc/postfix/./sender_canonical.db
May 28 08:29:25 mail postfix/postfix-script[31875]: warning: group or other writable: /etc/postfix/./recipient_canonical.db
May 28 08:29:25 mail postfix/postfix-script[31876]: warning: group or other writable: /etc/postfix/./dynamicmaps.cf
May 28 08:29:25 mail postfix/postfix-script[31877]: warning: group or other writable: /etc/postfix/./master.cf
May 28 08:29:25 mail postfix/postfix-script[31878]: warning: group or other writable: /etc/postfix/./sasl/sasl_passwd
May 28 08:29:25 mail postfix/postfix-script[31879]: warning: group or other writable: /etc/postfix/./sasl/sasl_passwd~
May 28 08:29:25 mail postfix/postfix-script[31880]: warning: group or other writable: /etc/postfix/./sender_canonical~
May 28 08:29:25 mail postfix/postfix-script[31881]: warning: group or other writable: /etc/postfix/./recipient_canonical~
May 28 08:29:25 mail postfix/postfix-script[31882]: warning: group or other writable: /etc/postfix/./postfix-script
May 28 08:29:25 mail postfix/postfix-script[31883]: warning: group or other writable: /etc/postfix/./post-install
May 28 08:29:25 mail postfix/postfix-script[31884]: warning: group or other writable: /etc/postfix/./postfix-files
May 28 08:29:25 mail postfix/postfix-script[31885]: warning: group or other writable: /etc/postfix/./canonical
May 28 08:29:25 mail postfix/postfix-script[31886]: warning: group or other writable: /etc/postfix/./.transport.swn
May 28 08:29:25 mail postfix/postfix-script[31906]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
May 28 08:29:25 mail postfix/postfix-script[31908]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
May 28 08:29:25 mail postfix/postfix-script[31911]: warning: /var/spool/postfix/etc/nsswitch.conf and /etc/nsswitch.conf differ
 
Si quelqu'un a la solution?

Reply

Marsh Posté le 28-05-2010 à 08:58:31   

Reply

Marsh Posté le 28-05-2010 à 09:19:32    

Commencer par lire les logs d'erreur .. Ce ne sont que des soucis de droits apparemment ...  


---------------
www.google.fr  
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed