Exim problem

Hugh Sasse hgs@dmu.ac.uk
Wed Aug 6 00:32:00 GMT 2008


On Tue, 5 Aug 2008, r wrote:

>
>
> I have a little problem with exim : sending emails to big providers like
> gmail.com, yahoo.com .. I have no problem. But when I send email to my
> company account ( where I work ) from mutt/exim, email does not arrive.

Exim has various ways of routing things. You will need to look at the
config file in some detail to see which drivers are used to get things
to the "big" providers, and which driver is used to get stuff to work.
If they are the same, you will need to figure out more about the remote
mailer (if it is Exim or something else) I suspect.  But, anyway...

> And no errors come back.
> I thought it can be some filter they have. I discovered that, while mutt
> compile headers correctly ( with my home account xxxx@gmail.com ), it
> seems that exim qualify me with the linux_login_account@_my_computer_name
> ( that is Proprietario@nome-1m3b12i2gp ). Here I post a mail header :

Exim does this in two places, the envelope and the other headers. So it
may be that Mutt doesn't do quite what you want with the envelope.
I suggest you check the value of qualify_domain, which should be set
to the full domain you want your email to be coming from.  If Exim
only sees a hostname, not fully qualified, it should use that to fix
things up.  It's a while since I've done this though.  You would be
better asking on the Exim list.
>
>
>> From Proprietario@nome-1m3b12i2gp
> Received: by 10.141.105.12 with SMTP id h12cs163704rvm;
>        Mon, 4 Aug 2008 05:02:55 -0700 (PDT)
> Received: by 10.86.99.9 with SMTP id w9mr10308684fgb.70.1217851373675;
>        Mon, 04 Aug 2008 05:02:53 -0700 (PDT)
> Return-Path: <Proprietario@nome-1m3b12i2gp>
> Received: from smtp-out112.alice.it (smtp-out112.alice.it [85.37.17.112])

That seems to be what I'd expect.

> Received-SPF: neutral (google.com: 85.37.17.112 is neither permitted nor
> denied by best guess record for domain of Proprietario@nome-1m3b12i2gp)
> client-ip=85.37.17.112;

I've never set this up for gmail but presumably you've registered with
them to submit this from some given domain so they can allow submissions
from it: they wouldn't have an open relay.  So you need to set your
domain (to agree with your EHLO line, I suspect) to be that.  But I
don't know, as I've not done it for Gmail.

> Authentication-Results: mx.google.com; spf=neutral (google.com:
> 85.37.17.112 is neither permitted nor denied by best guess record for
> n of Proprietario@nome-1m3b12i2gp)
> smtp.mail=Proprietario@nome-1m3b12i2gp
         [...]
> Date: Mon, 4 Aug 2008 14:02:31 +0200
> From: r <xxxx@gmail.com>
> To: xxxy@gmail.com
> Subject: tststst
> Message-ID: <20080804120231.GA616@linux.local>
> Reply-To: xxxxx@gmail.com
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> User-Agent: Mutt/1.4.2.2i

All that bit will be Mutt.
         [...]
> I saw that the last header part is correct ( I think it is written from
> mutt ) on the contrary, the first header part report as sender
> Proprietario@nome-1m3b12i2gp, that is my login account @ my computer
> name.
> I just wanted to know if anyone knows if I can change that
> Proprietario@nome-1m3b12i2gp with xxxxx@gmail.com.
> ( I tried with the headers_rewrite = Proprietario@nome-1m3b12i2gp \
>                                     xxxxx@gmail.com

You need to set the flags for this as well. <pattern> <replacemnt> <flags>
I think you want E for envelope at least in there. Check the spec
for your version of Exim.

>  but nothing change )
>
         HTH
         Hugh

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list