Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2598 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Postfix] probleme d'acces à MySQL

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Postfix] probleme d'acces à MySQL

n°984459
CrankDat
Posté le 27-11-2007 à 09:28:12  profilanswer
 

Bonjour,
 
J'essaye de faire fonctionner Postfix et Courier avec Mysql, mais il semble que j'ai un problème de config, car je n'arrive pas à envoyer de mail. Mon serveur dédié est sous Debian Sarge.
J'ai pourtant suivi ce tutoriel à la lettre : http://olange.developpez.com/artic [...] eur-dedie/ et je suis allé voir beaucoup de forums mais rien à faire...
 
voici Ce que contient /var/log/mail.log :  
 

Code :
  1. Nov 27 09:23:05 rescue postfix/trivial-rewrite[31864]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
  2. Nov 27 09:23:05 rescue postfix/trivial-rewrite[31864]: fatal: mysql:/etc/postfix/mysql-virtual_domains.cf(0,100): table lookup problem
  3. Nov 27 09:23:06 rescue postfix/qmgr[31593]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
  4. Nov 27 09:23:06 rescue postfix/qmgr[31593]: warning: problem talking to service rewrite: Success
  5. Nov 27 09:23:06 rescue postfix/master[30313]: warning: process /usr/lib/postfix/trivial-rewrite pid 31864 exit status 1
  6. Nov 27 09:23:06 rescue postfix/master[30313]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling


 
Voila ce que renvoi postconf -n:
 

Code :
  1. append_dot_mydomain = yes
  2. biff = no
  3. config_directory = /etc/postfix
  4. disable_vrfy_command = yes
  5. inet_interfaces = all
  6. mydestination = nsXXXXXX.ovh.net, localhost, localhost.localdomain
  7. mydomain = nsXXXXXX.ovh.net
  8. myhostname = nsXXXXXX.ovh.net
  9. mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx
  10. relayhost =
  11. smtpd_client_restrictions = reject_unknown_client, permit_mynetworks
  12. smtpd_helo_required = yes
  13. smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient
  14. smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, warn_if_reject reject_unverified_sender
  15. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_aliases.cf, proxy:mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
  16. virtual_gid_maps = static:5000
  17. virtual_mailbox_base = /var/spool/vmail/
  18. virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
  19. virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  20. virtual_uid_maps = static:5000


 
Merci d'avance pour votre aide

mood
Publicité
Posté le 27-11-2007 à 09:28:12  profilanswer
 

n°984460
o'gure
Modérateur
Multi grognon de B_L
Posté le 27-11-2007 à 09:29:36  profilanswer
 

Ton service mysql est il démarré [:opus dei]


---------------
Relax. Take a deep breath !
n°984463
toniotonio
Posté le 27-11-2007 à 09:40:59  profilanswer
 

c'est marrant car pour virtual_alias_maps tu as bien specifier  le demon proxy  mais pas pour virtual_mailbox_domains et virtual_mailbox_maps   :whistle:
 
modifie comme ceci:
 

Code :
  1. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  2. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf


 
puis postfix reload

Message cité 1 fois
Message édité par toniotonio le 27-11-2007 à 09:42:23

---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984489
CrankDat
Posté le 27-11-2007 à 10:37:34  profilanswer
 

toniotonio a écrit :

c'est marrant car pour virtual_alias_maps tu as bien specifier  le demon proxy  mais pas pour virtual_mailbox_domains et virtual_mailbox_maps   :whistle:
 
modifie comme ceci:
 

Code :
  1. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  2. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf


 
puis postfix reload


 
Merci beaucoup toniotonio!
 
Effectivement, maintenant je recois bien les mails sur mon email perso  :)  
Par contre je ne les recois pas sur test@mondomaine.com
 
voici mail.log:
 

Code :
  1. Nov 27 10:32:07 rescue postfix/virtual[2213]: fatal: mysql:/etc/postfix/mysql-virtual_mailboxes.cf: proxy map is not allowed for security sensitive data
  2. Nov 27 10:32:08 rescue postfix/master[2007]: warning: process /usr/lib/postfix/virtual pid 2213 exit status 1
  3. Nov 27 10:32:08 rescue postfix/master[2007]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling


 
une idee?

n°984493
toniotonio
Posté le 27-11-2007 à 10:44:27  profilanswer
 

c'est quoi ta version de postfix ?
 
fais un postconf -d  pour voir les parametres par defaut
fais aussi voir ton master.cf


---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984507
CrankDat
Posté le 27-11-2007 à 11:07:09  profilanswer
 

toniotonio a écrit :

c'est quoi ta version de postfix ?
 
fais un postconf -d  pour voir les parametres par defaut
fais aussi voir ton master.cf


 
J'utilise la version 2.1.5 de postfix
 
postconf -d renvoi (je n'arrive pas a voir le debut de la config avec PuTTY :heink: ):
 

Code :
  1. lmtp_data_xfer_timeout = 180s
  2. lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
  3. lmtp_destination_recipient_limit = $default_destination_recipient_limit
  4. lmtp_lhlo_timeout = 300s
  5. lmtp_mail_timeout = 300s
  6. lmtp_quit_timeout = 300s
  7. lmtp_rcpt_timeout = 300s
  8. lmtp_rset_timeout = 120s
  9. lmtp_sasl_auth_enable = no
  10. lmtp_sasl_password_maps =
  11. lmtp_sasl_security_options = noplaintext, noanonymous
  12. lmtp_send_xforward_command = no
  13. lmtp_skip_quit_response = no
  14. lmtp_tcp_port = 24
  15. lmtp_xforward_timeout = 300s
  16. local_command_shell =
  17. local_destination_concurrency_limit = 2
  18. local_destination_recipient_limit = 1
  19. local_recipient_maps = proxy:unix:passwd.byname $alias_maps
  20. local_transport = local:$myhostname
  21. luser_relay =
  22. mail_name = Postfix
  23. mail_owner = postfix
  24. mail_release_date = 20040915
  25. mail_spool_directory = /var/mail
  26. mail_version = 2.1.5
  27. mailbox_command =
  28. mailbox_command_maps =
  29. mailbox_delivery_lock = fcntl, dotlock
  30. mailbox_size_limit = 51200000
  31. mailbox_transport =
  32. mailq_path = /usr/bin/mailq
  33. manpage_directory = /usr/share/man
  34. maps_rbl_domains =
  35. maps_rbl_reject_code = 554
  36. masquerade_classes = envelope_sender, header_sender, header_recipient
  37. masquerade_domains =
  38. masquerade_exceptions =
  39. max_idle = 100s
  40. max_use = 100
  41. maximal_backoff_time = 4000s
  42. maximal_queue_lifetime = 5d
  43. message_size_limit = 10240000
  44. mime_boundary_length_limit = 2048
  45. mime_header_checks = $header_checks
  46. mime_nesting_limit = 100
  47. minimal_backoff_time = 1000s
  48. multi_recipient_bounce_reject_code = 550
  49. mydestination = $myhostname, localhost.$mydomain, localhost
  50. mydomain = ovh.net
  51. myhostname = nsXXXXXX.ovh.net
  52. mynetworks = xxx.xxx.xxx.0/24 127.0.0.0/8
  53. mynetworks_style = subnet
  54. myorigin = $myhostname
  55. nested_header_checks = $header_checks
  56. newaliases_path = /usr/bin/newaliases
  57. non_fqdn_reject_code = 504
  58. notify_classes = resource, software
  59. owner_request_special = yes
  60. parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
  61. permit_mx_backup_networks =
  62. pickup_service_name = pickup
  63. prepend_delivered_header = command, file, forward
  64. process_id_directory = pid
  65. propagate_unmatched_extensions = canonical, virtual
  66. proxy_interfaces =
  67. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
  68. qmgr_clog_warn_time = 300s
  69. qmgr_fudge_factor = 100
  70. qmgr_message_active_limit = 20000
  71. qmgr_message_recipient_limit = 20000
  72. qmgr_message_recipient_minimum = 10
  73. qmqpd_authorized_clients =
  74. qmqpd_error_delay = 1s
  75. qmqpd_timeout = 300s
  76. queue_directory = /var/spool/postfix
  77. queue_file_attribute_count_limit = 100
  78. queue_minfree = 0
  79. queue_run_delay = 1000s
  80. queue_service_name = qmgr
  81. rbl_reply_maps =
  82. readme_directory = /usr/share/doc/postfix
  83. receive_override_options =
  84. recipient_bcc_maps =
  85. recipient_canonical_maps =
  86. recipient_delimiter =
  87. reject_code = 554
  88. relay_clientcerts =
  89. relay_destination_concurrency_limit = $default_destination_concurrency_limit
  90. relay_destination_recipient_limit = $default_destination_recipient_limit
  91. relay_domains = $mydestination
  92. relay_domains_reject_code = 554
  93. relay_recipient_maps =
  94. relay_transport = relay
  95. relayhost =
  96. relocated_maps =
  97. require_home_directory = no
  98. resolve_dequoted_address = yes
  99. resolve_null_domain = no
  100. rewrite_service_name = rewrite
  101. sample_directory = /usr/share/doc/postfix/examples
  102. sender_based_routing = no
  103. sender_bcc_maps =
  104. sender_canonical_maps =
  105. sendmail_path = /usr/sbin/sendmail
  106. service_throttle_time = 60s
  107. setgid_group = postdrop
  108. show_user_unknown_table_name = yes
  109. showq_service_name = showq
  110. smtp_always_send_ehlo = yes
  111. smtp_bind_address =
  112. smtp_bind_address6 =
  113. smtp_connect_timeout = 30s
  114. smtp_data_done_timeout = 600s
  115. smtp_data_init_timeout = 120s
  116. smtp_data_xfer_timeout = 180s
  117. smtp_defer_if_no_mx_address_found = no
  118. smtp_destination_concurrency_limit = $default_destination_concurrency_limit
  119. smtp_destination_recipient_limit = $default_destination_recipient_limit
  120. smtp_enforce_tls = no
  121. smtp_helo_name = $myhostname
  122. smtp_helo_timeout = 300s
  123. smtp_host_lookup = dns
  124. smtp_line_length_limit = 0
  125. smtp_mail_timeout = 300s
  126. smtp_mx_address_limit = 0
  127. smtp_mx_session_limit = 2
  128. smtp_never_send_ehlo = no
  129. smtp_pix_workaround_delay_time = 10s
  130. smtp_pix_workaround_threshold_time = 500s
  131. smtp_quit_timeout = 300s
  132. smtp_quote_rfc821_envelope = yes
  133. smtp_randomize_addresses = yes
  134. smtp_rcpt_timeout = 300s
  135. smtp_rset_timeout = 120s
  136. smtp_sasl_auth_enable = no
  137. smtp_sasl_password_maps =
  138. smtp_sasl_security_options = noplaintext, noanonymous
  139. smtp_sasl_tls_security_options = $var_smtp_sasl_opts
  140. smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
  141. smtp_send_xforward_command = no
  142. smtp_skip_5xx_greeting = yes
  143. smtp_skip_quit_response = yes
  144. smtp_starttls_timeout = 300s
  145. smtp_tls_CAfile =
  146. smtp_tls_CApath =
  147. smtp_tls_cert_file =
  148. smtp_tls_cipherlist =
  149. smtp_tls_dcert_file =
  150. smtp_tls_dkey_file = $smtp_tls_dcert_file
  151. smtp_tls_enforce_peername = yes
  152. smtp_tls_key_file = $smtp_tls_cert_file
  153. smtp_tls_loglevel = 0
  154. smtp_tls_note_starttls_offer = no
  155. smtp_tls_per_site =
  156. smtp_tls_scert_verifydepth = 5
  157. smtp_tls_session_cache_database =
  158. smtp_tls_session_cache_timeout = 3600s
  159. smtp_use_tls = no
  160. smtp_xforward_timeout = 300s
  161. smtpd_authorized_verp_clients = $authorized_verp_clients
  162. smtpd_authorized_xclient_hosts =
  163. smtpd_authorized_xforward_hosts =
  164. smtpd_banner = $myhostname ESMTP $mail_name
  165. smtpd_client_connection_count_limit = 50
  166. smtpd_client_connection_limit_exceptions = $mynetworks
  167. smtpd_client_connection_rate_limit = 0
  168. smtpd_client_restrictions =
  169. smtpd_data_restrictions =
  170. smtpd_delay_reject = yes
  171. smtpd_enforce_tls = no
  172. smtpd_error_sleep_time = 1s
  173. smtpd_etrn_restrictions =
  174. smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  175. smtpd_hard_error_limit = 20
  176. smtpd_helo_required = no
  177. smtpd_helo_restrictions =
  178. smtpd_history_flush_threshold = 100
  179. smtpd_junk_command_limit = 100
  180. smtpd_noop_commands =
  181. smtpd_null_access_lookup_key = <>
  182. smtpd_policy_service_max_idle = 300s
  183. smtpd_policy_service_max_ttl = 1000s
  184. smtpd_policy_service_timeout = 100s
  185. smtpd_proxy_ehlo = $myhostname
  186. smtpd_proxy_filter =
  187. smtpd_proxy_timeout = 100s
  188. smtpd_recipient_limit = 1000
  189. smtpd_recipient_overshoot_limit = 1000
  190. smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
  191. smtpd_reject_unlisted_recipient = yes
  192. smtpd_reject_unlisted_sender = no
  193. smtpd_restriction_classes =
  194. smtpd_sasl_application_name = smtpd
  195. smtpd_sasl_auth_enable = no
  196. smtpd_sasl_exceptions_networks =
  197. smtpd_sasl_local_domain =
  198. smtpd_sasl_security_options = noanonymous
  199. smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
  200. smtpd_sender_login_maps =
  201. smtpd_sender_restrictions =
  202. smtpd_soft_error_limit = 10
  203. smtpd_starttls_timeout = 300s
  204. smtpd_timeout = 300s
  205. smtpd_tls_CAfile =
  206. smtpd_tls_CApath =
  207. smtpd_tls_ask_ccert = no
  208. smtpd_tls_auth_only = no
  209. smtpd_tls_ccert_verifydepth = 5
  210. smtpd_tls_cert_file =
  211. smtpd_tls_cipherlist =
  212. smtpd_tls_dcert_file =
  213. smtpd_tls_dh1024_param_file =
  214. smtpd_tls_dh512_param_file =
  215. smtpd_tls_dkey_file = $smtpd_tls_dcert_file
  216. smtpd_tls_key_file = $smtpd_tls_cert_file
  217. smtpd_tls_loglevel = 0
  218. smtpd_tls_received_header = no
  219. smtpd_tls_req_ccert = no
  220. smtpd_tls_session_cache_database =
  221. smtpd_tls_session_cache_timeout = 3600s
  222. smtpd_tls_wrappermode = no
  223. smtpd_use_tls = no
  224. soft_bounce = no
  225. stale_lock_time = 500s
  226. strict_7bit_headers = no
  227. strict_8bitmime = no
  228. strict_8bitmime_body = no
  229. strict_mime_encoding_domain = no
  230. strict_rfc821_envelopes = no
  231. sun_mailtool_compatibility = no
  232. swap_bangpath = yes
  233. syslog_facility = mail
  234. syslog_name = postfix
  235. tls_daemon_random_bytes = 32
  236. tls_daemon_random_source =
  237. tls_ipv6_version = 1.24
  238. tls_random_bytes = 32
  239. tls_random_exchange_name = ${queue_directory}/prng_exch
  240. tls_random_prng_update_period = 60s
  241. tls_random_reseed_period = 3600s
  242. tls_random_source =
  243. trace_service_name = trace
  244. transport_maps =
  245. transport_retry_time = 60s
  246. trigger_timeout = 10s
  247. undisclosed_recipients_header = To: undisclosed-recipients:;
  248. unknown_address_reject_code = 450
  249. unknown_client_reject_code = 450
  250. unknown_hostname_reject_code = 450
  251. unknown_local_recipient_reject_code = 550
  252. unknown_relay_recipient_reject_code = 550
  253. unknown_virtual_alias_reject_code = 550
  254. unknown_virtual_mailbox_reject_code = 550
  255. unverified_recipient_reject_code = 450
  256. unverified_sender_reject_code = 450
  257. verp_delimiter_filter = -=+
  258. virtual_alias_domains = $virtual_alias_maps
  259. virtual_alias_expansion_limit = 1000
  260. virtual_alias_maps = $virtual_maps
  261. virtual_alias_recursion_limit = 1000
  262. virtual_destination_concurrency_limit = $default_destination_concurrency_limit
  263. virtual_destination_recipient_limit = $default_destination_recipient_limit
  264. virtual_gid_maps =
  265. virtual_mailbox_base =
  266. virtual_mailbox_domains = $virtual_mailbox_maps
  267. virtual_mailbox_limit = 51200000
  268. virtual_mailbox_lock = fcntl
  269. virtual_mailbox_maps =
  270. virtual_minimum_uid = 100
  271. virtual_transport = virtual
  272. virtual_uid_maps =


 
 
Voici mon master.cf
 

Code :
  1. smtp_banner = $myhostname ESMTP (Debian / GNU)
  2. biff = no
  3. disable_vrfy_command = yes
  4. smtpd_helo_required = yes
  5. append_dot_mydomain = yes
  6. mydestination = nsXXXXXX.ovh.net, localhost, localhost.localdomain
  7. mydomain = nsXXXXXX.ovh.net
  8. myhostname = nsXXXXXX.ovh.net
  9. relayhost =
  10. mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx
  11. inet_interfaces = all
  12. smtpd_sender_restrictions =
  13. permit_mynetworks,
  14. reject_unknown_sender_domain,
  15. warn_if_reject reject_unverified_sender
  16. smtpd_recipient_restrictions =
  17. permit_mynetworks,
  18. reject_unauth_destination,
  19. reject_unknown_recipient_domain,
  20. reject_non_fqdn_recipient
  21. smtpd_client_restrictions =
  22. reject_unknown_client,
  23. permit_mynetworks
  24. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_aliases.cf, proxy:mysql:/etc/postfix/mysql-virtual_aliases_mailb$
  25. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  26. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  27. virtual_mailbox_base = /var/spool/vmail/
  28. virtual_uid_maps = static:5000
  29. virtual_gid_maps = static:5000
  30. virtual_create_maildirsize = yes
  31. virtual_mailbox_extended = yes
  32. virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
  33. virtual_mailbox_limit_override = yes
  34. virtual_maildir_limit_message = "Desole, la boite email de l'utilisateur est pleine. Veuillez
  35. re-essayer plus tard !"
  36. virtual_overquota_bounce = yes

n°984514
toniotonio
Posté le 27-11-2007 à 11:13:35  profilanswer
 

c'est pas ton master.cf  mais ton main.cf ca !
 
bon sinon ne cherche pas plus loin c'est ta version de postfix qui pose pb.
upgrade pour pouvoir utiliser en toute securité le demon proxy


---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984532
CrankDat
Posté le 27-11-2007 à 11:30:39  profilanswer
 

oups désolé....hihi
 
d'accord je vais upgrader et tester.
merci pour ton aide :)

n°984575
CrankDat
Posté le 27-11-2007 à 11:54:13  profilanswer
 

J'ai fais un apt-get upgrade postfix mais ça n'a pas l'air de suffire, la version est toujours la meme...
Je suis vraiment un newbie de Debian, pourrais-tu m'indiquer pas à pas ce que je dois faire pour upgrader postfix, je ne voudrais pas faire n'importe quoi et devoir (encore!) réinstaller mon serveur.
 
merci d'avance

n°984588
toniotonio
Posté le 27-11-2007 à 12:00:51  profilanswer
 

c'est toujours delicat d'upgrader  
 
vu ta version de postfix tu dois avoir une ancienne stable de debian.
 
je te conseillerai de passer en stable actuelle, mais attention c'est tout de meme un peu risqué suivant ce qui tourne sur le serveur.
 


---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
mood
Publicité
Posté le 27-11-2007 à 12:00:51  profilanswer
 

n°984592
CrankDat
Posté le 27-11-2007 à 12:03:15  profilanswer
 

la postfix 2.4 stable ?

n°984605
toniotonio
Posté le 27-11-2007 à 12:30:25  profilanswer
 

CrankDat a écrit :

la postfix 2.4 stable ?


 
 
non
desolé j'aurai du preciser:
 
la debian stable.
 
je parlais de la version de debian.
 
fais un  

Code :
  1. cat /etc/apt/sources.list


 
 
 


---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984629
CrankDat
Posté le 27-11-2007 à 13:18:00  profilanswer
 

voila ce que j'ai dans mon source.list

n°984630
CrankDat
Posté le 27-11-2007 à 13:18:42  profilanswer
 

voila ce que j'ai dans mon source.list:
 

Code :
  1. deb ftp://mir1.ovh.net/debian/ sarge main
  2. deb-src ftp://mir1.ovh.net/debian/ sarge main
  3. deb http://security.debian.org/ sarge/updates main
  4. deb http://packages.dotdeb.org sarge all
  5. deb http://debian.home-dn.net/sarge postfix-vda/

n°984655
CrankDat
Posté le 27-11-2007 à 13:51:52  profilanswer
 

Faut il que je change "sarge" en "stable" ?

n°984656
o'gure
Modérateur
Multi grognon de B_L
Posté le 27-11-2007 à 13:55:29  profilanswer
 

Actuellement la stable est etch et non plus sarge. Si tu changes sarge en stable, ce sont les packages de etch que tu installeras. Et la tu auras une grosse partie de mise à jour.

 

Si tu veux changer de version de debian (passer en stable actuel ie etch) le mieux est de procéder à l'upgrade de la distrib :
- que tu change sarge en etch (ou stable)
- que tu updates la liste des packages (apt-get update)
- que tu mettes à jours la distrib (apt-get dist-upgrade)


Message édité par o'gure le 27-11-2007 à 13:56:20

---------------
Relax. Take a deep breath !
n°984657
toniotonio
Posté le 27-11-2007 à 13:57:12  profilanswer
 

CrankDat a écrit :

Faut il que je change "sarge" en "stable" ?


 
oui
 
puis aptitude update
aptitude dist-upgrade
 
mais bon attention si c'est un serveur en prod !
 
sinon je vois postfix-vda dans la liste, je ne sais pas quelle version fournie ce depot.
Perso je n'utilise pas cette version "exotique" car le support des quotas quelle apporte peut etre donné par maildrop d'une maniere bcp plus sure et evolutive

Message cité 1 fois
Message édité par toniotonio le 27-11-2007 à 13:57:58

---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984730
CrankDat
Posté le 27-11-2007 à 15:09:00  profilanswer
 

toniotonio a écrit :


 
oui
 
puis aptitude update
aptitude dist-upgrade
 
mais bon attention si c'est un serveur en prod !
 
sinon je vois postfix-vda dans la liste, je ne sais pas quelle version fournie ce depot.
Perso je n'utilise pas cette version "exotique" car le support des quotas quelle apporte peut etre donné par maildrop d'une maniere bcp plus sure et evolutive


 
C'est bon j'ai changé la version de Debian et je peux maintenant envoyer et recevoir des emails sur test@mondomaine.com !
 
Merci beaucoup pour ton aide tonio  :jap:  
 
En revanche ce qui est bizarre c'est que je n'arrive pas à consulter les emails de test@mondomaine.com en utilisant thunderbird, car erreur de login. Pourtant j'ai bien ajouté le user "test" et son mot de passe à la base de données mais la connection est refusée...

n°984751
toniotonio
Posté le 27-11-2007 à 15:25:36  profilanswer
 

la consultation c'est pas postfix c'est courier imap (ou pop)
 
fais attention a specifier ton adresse mail complete (avec le@domain.com) comme login et pas seulement le nom du user


---------------
Messagerie dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com
n°984761
CrankDat
Posté le 27-11-2007 à 15:37:43  profilanswer
 

Oui ça marche comme ça.
 
Encore une fois merci.
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Postfix] probleme d'acces à MySQL

 

Sujets relatifs
Problème déplacement de fichierProblème Gnome Automount Icone CD sur le bureau
Problème Installation & Partitionnementprobleme mrtg snmp
Problème avec un vieux Unix (Regulus)Problème de script bash sous Cygwin
Grave probleme avec un virus (ou plusieurs)Probleme partage Disque en reseau [XP]
problème lors d'envoi de mail massifProblème de syntaxe IPTABLES
Plus de sujets relatifs à : [Postfix] probleme d'acces à MySQL


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR