Postfix et ses config.... j'arrive pas à comprendre

Bonjour les amis…
Je suis vraiment vraiment nouveau sur debian. Apres mon installation du systeme je me rends compte que je n’ai pas rentrer l’adresse d’un miroir, je n’arrive pas telecharger les paquets, je me disais que c’etait un probleme de connexion, mais je suis connecter… J’ai vu une solution sur le forum que j’ai essayer d’appliquer mais je ne sais pas ce qui manque pour je puisse telecharger des paquets ne serait ce que des mises a jours… Aidez-moi les gars…

Bonjour, as tu lu les regles d’usage du forum ?
regles-d-usage-du-forum-t28179.html
Avec un titre comme le tiens, tu ne vas pas attirer beaucoup d’aide.
soit plus précis, et précise ensuite ce que tu as fait.
Donne aussi le contenu de ton fichiers /etc/apt/sources.list

Donne ici le résultat de
$ cat /etc/apt/sources.list

La prochaine fois, fais un titre plus explicite.

Grilled :confused:

[quote=“ricardo”]Donne ici le résultat de
$ cat /etc/apt/sources.list

La prochaine fois, fais un titre plus explicite.

Grilled :confused:[/quote]

Et aussi (au cas où, même si t’as du installer la stable) le resultat de

lsb_release -a

avec un titre pareil il faut composer le 18 :smiley:

Bonjour,
Il est rare de trouver un premier poste qui commence par cela, donc bravo :041

Et sur les forums d’entre aide aussi, sinon tu n’aurais pas mis ce titre … :unamused:
Donc cf les réponses précédentes, on verra ensuite :wink:

merci!!! pourvos réponses j’ai pu m’en sortir…

Super !
On est bien content.
Ptet que dans une autre vie, tu nous diras comment :unamused:

:030

bonjour les amis… mais vraiment qu’est ce que j’ai fais :119 :119 :119 :119 :119 :119 :119

je configure postfix sur mon pc suivant le modèle de ce lien: blog.demees.net/?p=7 , pendant la configuration un moment j’envoyais des mails mais ils n’étaien pas recus, puis je ne sais comment créer des fichiers DB, selon le tuto on me demande de créer des fichiers db Le fichier sender_accessLe, fichier relay_accessle, fichier white_addresses

mon main.cf:
GNU nano 2.2.6 Fichier : /etc/postfix/main.cf

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

#for debugging, remove the comment
#soft_bounce = yes

Uncomment the next line to generate “delayed mail” warnings

delay_warning_time = 2h
bounce_queue_lifetime = ld
maximal_queue_lifetime = ld

#Support for Maildir
home_mailbox = Maildir/

readme_directory = no

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:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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.

myhostname = mail.gabi.fr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.gabi.fr, gabi.fr, gabi.fr, localhost
relayhost =
mynetworks = 127.0.0.0/8 192.168.1.0/24

mailbox_command = procmail -a “$EXTENSION”
mailbox_size_limit = 0
recipient_delimiter = +
queue_run_delay = 180
minimal_backoff_time = 180
smtpd_error_sleep_time = 5s
smtpd_soft_error_limit = 1
smtpd_hard_error_limit = 3
message_size_limit = 40960000
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_client_connection_count_limit = 5
smtpd_client_connection_rate_limit = 5
unknown_address_reject_code = 550
unknown_client_reject_code = 550
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
smtpd_client_restrictions =
cidr:/etc/postfix/client.cidr
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/sender_access,
reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_sender_access hash:/etc/postfix/relay_access,
check_recipient_access hash:/etc/postfix/white_addresses,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname,

reject_unknown_reverse_client_hostname,

reject_unauth_destination,
reject_unauth_pipelining,
reject_unlisted_recipient,

reject_rbl_client bl.spamcop.net

reject_rbl_client dnsbl.dronebl.org

reject_rbl_client dnsbl.sorbs.net

reject_rbl_client ubl.unsubscore.com

reject_rbl_client cbl.abuseat.org
reject_rbl_client zen.spamhaus.org

reject_rbl_client dnsbl-1.uceprotect.net

reject_rbl_client dnsbl-2.uceprotect.net

reject_rbl_client dnsbl-3.uceprotect.net

check_sender_access dbm:/etc/postfix/check_backscatterer,

reject_unknown_client_hostname

check_policy_service inet:127.0.0.1:60000
smtpd_data_restrictions = reject_unauth_pipelining
header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks
inet_interfaces = all

voici mon fichier master.cf

Postfix master process configuration file. For details on the format

of the file, see the master(5) manual page (command: “man 5 master”).

Do not forget to execute “postfix reload” after editing this file.

==========================================================================

service type private unpriv chroot wakeup maxproc command + args

(yes) (yes) (yes) (never) (100)

==========================================================================

lines below: wiki.apache.org/spamassassin/Int … xViaSpampd

Before-filter SMTP server. Receive mail from the network and

pass it to the content filter on localhost port 10025.

smtp inet n - - - 10 smtpd
-o smtpd_proxy_filter=127.0.0.1:10025
-o smtpd_client_connection_count_limit=2

After-filter SMTP server. Receive mail from the content filter

on localhost port 10026.

127.0.0.1:10026 inet n - n - - smtpd
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=
-o mynetworks=127.0.0.0/8
-o receive_override_options=no_unknown_recipient_checks
1234 inet n - - - 10 smtpd

#smtp inet n - - - 1 postscreen
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
#submission inet n - - - - smtpd

-o syslog_name=postfix/submission

-o smtpd_tls_security_level=encrypt

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

-o milter_macro_daemon_name=ORIGINATING

#smtps inet n - - - - smtpd

-o syslog_name=postfix/smtps

-o smtpd_tls_wrappermode=yes

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

-o milter_macro_daemon_name=ORIGINATING

#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap

smtp unix - - - - - smtp
relay unix - - - - - smtp

-o smtp_helo_timeout=5 -o smtp_connect_timeout=5

showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache

====================================================================

Interfaces to non-Postfix software. Be sure to examine the manual

pages of the non-Postfix software to find out what options it wants.

Many of the following services use the Postfix pipe(8) delivery

agent. See the pipe(8) man page for information about ${recipient}

and other message envelope options.

====================================================================

maildrop. See the Postfix MAILDROP_README file for details.

Also specify in main.cf: maildrop_destination_recipient_limit=1

maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}

====================================================================

Recent Cyrus versions can use the existing “lmtp” master.cf entry.

Specify in cyrus.conf:

lmtp cmd=“lmtpd -a” listen=“localhost:lmtp” proto=tcp4

Specify in main.cf one or more of the following:

mailbox_transport = lmtp:inet:localhost

virtual_transport = lmtp:inet:localhost

====================================================================

Cyrus 2.1.5 (Amos Gouaux)

Also specify in main.cf: cyrus_destination_recipient_limit=1

#cyrus unix - n n - - pipe

user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}

====================================================================

#old-cyrus unix - n n - - pipe

flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}

====================================================================

See the Postfix UUCP_README file for configuration details.

uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)

Other external delivery methods.

ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

voici mes log:
cat /var/log/mail.log :

Sep 12 12:21:18 mail spampd[3211]: Setting gid to "123 123"
Sep 12 12:21:18 mail spampd[3211]: Setting uid to "116"
Sep 12 12:21:20 mail postfix/master[3313]: fatal: fifo_listen: remove public/pickup: Permission denied
Sep 12 13:12:25 mail authdaemond: modules=“authmysql”, daemons=5
Sep 12 13:12:25 mail authdaemond: Installing libauthmysql
Sep 12 13:12:25 mail authdaemond: Installation complete: authmysql
Sep 12 13:12:34 mail postgrey[2787]: Process Backgrounded
Sep 12 13:12:34 mail postgrey[2787]: 2014/09/12-13:12:34 postgrey (type Net::Server::Multiplex) starting! pid(2787)
Sep 12 13:12:34 mail postgrey[2787]: Binding to TCP port 60000 on host 127.0.0.1 with IPv4
Sep 12 13:12:34 mail postgrey[2787]: Setting gid to "121 121"
Sep 12 13:12:34 mail postgrey[2787]: Setting uid to "114"
Sep 12 13:12:46 mail postfix/master[3392]: fatal: fifo_listen: remove public/pickup: Permission denied
Sep 12 13:12:47 mail spampd[3453]: Process Backgrounded
Sep 12 13:12:47 mail spampd[3453]: 2014/09/12-13:12:47 SpamPD (type Net::Server::PreForkSimple) starting! pid(3453)
Sep 12 13:12:47 mail spampd[3453]: Binding to TCP port 10025 on host 127.0.0.1 with IPv4
Sep 12 13:12:47 mail spampd[3453]: Setting gid to "123 123"
Sep 12 13:12:47 mail spampd[3453]: Setting uid to "116"
Sep 12 13:32:55 mail postfix/postsuper[4410]: fatal: scan_dir_push: open directory defer: Permission denied
Sep 12 13:32:56 mail postfix/postfix-script[4411]: fatal: Postfix integrity check failed!
Sep 12 13:36:56 mail postfix/postfix-script[4583]: fatal: the Postfix mail system is not running
Sep 12 13:50:52 mail postfix/postsuper[4953]: fatal: scan_dir_push: open directory defer: Permission denied
Sep 12 14:18:03 mail postfix/master[5309]: fatal: fifo_listen: remove public/pickup: Permission denied
Sep 12 14:19:43 mail postfix/postfix-script[5467]: fatal: the Postfix mail system is not running
root@mail:/home/gabi#

je crois j’ai trop chercher les problèmes et j’en ai trouvé ,
j’essaie de faire fonctionner postfix avec spamassassin, j’ai également instaaler postgrey et sasl,

j’ai vraiment besoin d’aide, s’il y a un fichier que vous voudriez bien voir faite le moi savoir. ça fera bientôt 3 semaines que je suis là dessus, il faut que j’en ressorte avec un vrai succès, c’est pourquoi je consulte ce forum, je suis sûr que quelqu’un ici à la solution à mon problème…
mille merci d’avance de m’accorder un peu de votre temps de et votre connaissance.

j’avais oublier de changer le titre… que va-t-il se passer :119 :119 :119

Il va se passer que tu va devoir attendre un poil car il y a de lecture pour essayer de voir ou ça plante :wink:

Malgré tout les mails il arrive bien sur le serveur ?