delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/05/20:32:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 6 Aug 2008 01:31:47 +0100 (BST)
From: Hugh Sasse <hgs AT dmu DOT ac DOT uk>
To: r <r DOT trev_ AT inwind DOT it>
cc: cygwin AT cygwin DOT com
Subject: Re: Exim problem
In-Reply-To: <g7adj7$avt$1@ger.gmane.org>
Message-ID: <alpine.LFD.1.10.0808060108460.26175@trueman.cs.cse.dmu.ac.uk>
References: <g7adj7$avt$1 AT ger DOT gmane DOT org>
User-Agent: Alpine 1.10 (LFD 962 2008-03-14)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT gmail DOT com ), it
> seems that exim qualify me with the linux_login_account AT _my_computer_name
> ( that is Proprietario AT 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 AT 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 AT 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 AT 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 AT nome-1m3b12i2gp)
> smtp.mail=Proprietario AT nome-1m3b12i2gp
         [...]
> Date: Mon, 4 Aug 2008 14:02:31 +0200
> From: r <xxxx AT gmail DOT com>
> To: xxxy AT gmail DOT com
> Subject: tststst
> Message-ID: <20080804120231 DOT GA616 AT linux DOT local>
> Reply-To: xxxxx AT gmail DOT 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 AT nome-1m3b12i2gp, that is my login account @ my computer
> name.
> I just wanted to know if anyone knows if I can change that
> Proprietario AT nome-1m3b12i2gp with xxxxx AT gmail DOT com.
> ( I tried with the headers_rewrite = Proprietario AT nome-1m3b12i2gp \
>                                     xxxxx AT gmail DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019