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

Re: Probleme avec exim



    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 francois.maltey@enst-bretagne.fr

  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 user@host 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 = "isp-user@enst-bretagne.fr" after
# the line driver = smtp upper in the config file

francois@localhost              maltey@enst-bretagne.fr Ffrs
francois@sialors                maltey@enst-bretagne.fr 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

*@sialors    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} bcfrF

# End of Exim configuration file

    j'espère t'avoir aidé,
-- 
Phil



Reply to: