[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux] SuSE 7.1/Postfix/tables



Bonjour,

J'emménage petit-à-petit mon petit Postfix. Cela marche pas trop mal mais je 
me heurte à des petits problèmes pratiques.

Pour les configurations avancées de Postfix, on mentionne des tables 
invoquées par des instructions de la forme:

relocated_maps=

Dans le répertoire /etc/postfix, je trouve le fichier "relocated" dont je 
donne un extrait:

# SYNOPSIS
#        postmap /etc/postfix/relocated
#
# DESCRIPTION
#        The optional relocated table provides the information that
#        is used in "user has moved to  new_location"  bounce  mes-
#        sages.
#
#        Normally,  the relocated table is specified as a text file
#        that serves as  input  to  the  postmap(1)  command.   The
#        result,  an  indexed file in dbm or db format, is used for
#        fast searching by the mail  system.  Execute  the  command
#        postmap  /etc/postfix/relocated  in  order  to rebuild the
#        indexed file after changing the relocated table.
#                                                                             

Mais nulle part il est mentionné où trouver ou comment créer, gérer et 
completer ces tables

Idem instruction alias_database=hash:/etc/aliases
qui renvoit tout naturellement à la table /etc/aliases où les enregistrements 
apparaissent sous la forme
alias:	original

Si j'ai une adresse mail alain@lx93.ihe.be, je suppose donc que si j'ajoute
bartydeux:	alain

tout mail envoyé à bartydeux@lx93.ihe.be arrivera à alain@lx93.ihe.be

Autre exemple: configuration de filtrage des mails

Je lis: "the smtpd_client_restrictions parameter restricts what clients this 
system accepts SMTP connections from"

Exemples: smtpd_clients_restrictions=hash:/etc/postfix/access

Le fichier etc/postfix/access

le fichier /etc/postfix/access existe mais c'est du bla-bla du style:

# DESCRIPTION
#        The  optional access table directs the Postfix SMTP server
#        to selectively reject or accept mail from or  to  specific
#        hosts,   domains,   networks,   host   addresses  or  mail
#        addresses.
#
#        Normally, the access table is specified  as  a  text  file
#        that  serves  as  input  to  the  postmap(1) command.  The
#        result, an indexed file in dbm or db format, is  used  for
#        fast  searching  by  the  mail system. Execute the command
#        postmap  /etc/postfix/access  in  order  to  rebuild   the
#        indexed file after changing the access table.                        

Comment rédiger ce fichier/table?? (/etc/postfix/access.db???)

Le pire est quand le lis l'instruction:

header_checks=regexp:/etc/postfix/header_checks

Comment mettre en forme ces expressions régulières??? 
(regexp=/rejette_cette_adresse/??)

Je suis donc planté, je cherche un mode d'emploi clair.

Merci pour tout tuyau


-- 
Alain Barthélemy
Section de Biosécurité et Biotechnologie
Institut de Santé Publique
R. Juliette Wytsman,14
B-1050 Bruxelles
tel: 02/642 52 93
fax: 02/642 52 92

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://linuxbe.org/ml.php     ]
[ Archives de la mailing list: http://archives.linuxbe.org/linux/  ]
[ http://LinuxBe.org              Contact: listmaster@linuxbe.org  ]