Re: [exim] Exim4 in send outgoing mode only

Inizio della pagina
Delete this message
Reply to this message
Autore: Ian Eiloart
Data:  
To: Michel Dubois
CC: <exim-users@exim.org>
Oggetto: Re: [exim] Exim4 in send outgoing mode only

On 23 Oct 2012, at 07:27, Michel Dubois <mdubois@???> wrote:

> Hello Todd,
>
> Thanks for your answer.
> Should I build my own DNS server ?
>
> Notes the domain cimpaca.unice.fr exist in the DNS
> :~] $ dig +nocomments +nostats cimpaca.unice.fr                                                                        

>
> ; <<>> DiG 9.8.1-P1 <<>> +nocomments +nostats cimpaca.unice.fr
> ;; global options: +cmd
> ;cimpaca.unice.fr.              IN      A
> cimpaca.unice.fr.       86400   IN      A       134.59.238.1
> unice.fr.               86400   IN      NS      dns.inria.fr.
> unice.fr.               86400   IN      NS      diamant.unice.fr.
> unice.fr.               86400   IN      NS      taloa.unice.fr.
> unice.fr.               86400   IN      NS      samoa.unice.fr.
> taloa.unice.fr.         86400   IN      A       134.59.1.7
> samoa.unice.fr.         86400   IN      A       134.59.1.1
> diamant.unice.fr.       86400   IN      A       134.59.132.2
> dns.inria.fr.           1651    IN      A       193.51.208.13

>
> I tried to configure EXIM, for all adress coming out with cimpaca.unice.fr
> domain name. Each time I 've got the servername + domainname.
>


The relevant address is the envelope sender address: the argument to MAIL FROM.

Your email client (which is sending the email) should be configured to set this correctly, but Exim can rewrite the sender address. Chapter 31 of the documentation describes rewriting, but I think you want to say something like this:

*@*.cimpaca.unice.fr $local_part@??? Ff

F: rewrite the envelope sender address
f: says rewrite the From: header address - so that people don't reply to an invalid email address.

> Could you give any idea?
>
> Thanks for your help....
>
> Le lundi 22 octobre 2012 09:42:58 Todd Lyons a écrit :
>> On Mon, Oct 22, 2012 at 2:42 AM, Michel Dubois <mdubois@???> wrote:
>>>
>>> In the Log I 've this :
>>> 2012-10-22 11:35:49 1TQEQH-0006PN-3F == mdubois@???
> R=dnslookup
>>> T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT
>>> TO:<mdubois@???>: host email.polytech.unice.fr
> [157.169.25.6]:
>>
>> The answer is in the mail logs:
>>
>>> 450 <root@???>: Sender address rejected: Domain not
> found
>>
>> You are sending email saying that it is from
>> *@aragon.cimpaca.unice.fr. The remote mail server is checking dns to
>> make sure that the hostname "aragon.cimpaca.unice.fr" exists, but it
>> does not exist in dns so the remote mail server is refusing to accept
>> email from you.
>>
>> [todd@tlyons ~]$ dig +nocomments +nostats aragon.cimpaca.unice.fr
>>
>> ; <<>> DiG 9.7.3 <<>> +nocomments +nostats aragon.cimpaca.unice.fr
>> ;; global options: +cmd
>> ;aragon.cimpaca.unice.fr.    IN    A
>> unice.fr.        10734    IN    SOA    taloa.unice.fr. hostmaster.unice.fr.
>> 2012102210 21600 3600 3600000 172800

>>
>>
>>> Could you help?
>>> How to empty mailq?
>>
>> Send using a name that exists in dns.
>>
>> ...Todd
>>
>>
> -- 
> .-"-.     .-"-.     .-"-.     .-"-.      .-"-.      .-"-.
>     "-.-"     "-.-"     "-.-"     "-.-"     "-.-"     "-.-"
> Michel Dubois
> Ingénieur Support CIM PACA Conception
> Tel : 04 92 38 85 53
> Mobile : 06 09 65 71 76

>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148