salut � toutes et � tous  :-)

On Wed, Oct 10, 2001 at 11:26:48PM +0200, Maltey UPS wrote:
> des mails avec exim et je n'arrive pas � le faire. 
> Mon pc perso est sialors, mon compte est francois.
> Je veux sortir sur la machine anatole o� mon compte est maltey
>                dans le domaine enst-bretagne.fr
>                et mon adresse est [EMAIL PROTECTED]

  je vais essayer :

 qualify_domain = sialors
 local_domains  = localhost:sialors

> smarthost:
>   driver = domainlist
>   transport = remote_smtp

   route_list = "* anatole.enst-bretagne.fr bydns_a"
ici, c'est le smtp (anatole ?) qu'il faut

rajoutes aussi ce qui suit :

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################

## Custom rewriting rules

# E rewrite all envelope fields
# F rewrite the envelope From field
# T rewrite the envelope To field
# b rewrite the 'Bcc:' header
# c rewrite the 'Cc:' header
# f rewrite the 'From:' header
# h rewrite all headers
# r rewrite the 'Reply-To:' header
# s rewrite the 'Sender:' header
# t rewrite the 'To:' header
# Anyway check RFC822 for details on fields and headers

# Use /usr/sbin/exim -brw [EMAIL PROTECTED] to test the rewriting rules

# For example, flags EFbcfhrs specify that the rewriting rule
# apply to all headers except the 'To:' header.
#
# THE RULES ARE SCANNED IN ORDER, and replacements from earlier
# rules can themselves be replaced as a result of later rules
# (see also q and R flags).

# Local address when mailing from Mutt, Emacs or the mail program
# I don't want to rewrite the 'To:' header because
# in some cases I really want to send a mail to gothq on the local net.
#
# But there still is a problem because when sending a message to a local user,
# if this local user wishes to reply back, its MUA will use the 'From:' header
# to send its reply.
# The solution might be to specify return_path = "[EMAIL PROTECTED]" after
# the line driver = smtp upper in the config file

[EMAIL PROTECTED]              [EMAIL PROTECTED] Ffrs
[EMAIL PROTECTED]                [EMAIL PROTECTED] Ffrs

## Rewriting rule provided by eximconf

# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in a file

[EMAIL PROTECTED]    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} bcfrF

# End of Exim configuration file

    j'esp�re t'avoir aid�,
-- 
Phil

Répondre à