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

Re: Exim's rewriting of headers



On Fri, Feb 21, 2003 at 02:52:39PM +0200, Johann Spies wrote:
| I am user js on my computer and user jspies with email address
| jspies@sun.ac.za on our network.
| 
| I have the following in my /etc/exim/exim.conf
| 
| *@bywoner jspies@sun.ac.za Ffrs				
    ^^^^^^
| 
| Running exim -brw shows this:
| 
| zsh % sudo exim -brw root@bywoner
|   sender: jspies@sun.ac.za
|     from: jspies@sun.ac.za
|       to: root@bywoner
|       cc: root@bywoner
|      bcc: root@bywoner
| reply-to: jspies@sun.ac.za
| env-from: jspies@sun.ac.za
|   env-to: root@bywoner
| 
| So why do the headers look like this I send mail from the unix
| commandline (mail jspies@sun.ac.za)?:
| 
| To: jspies@sun.ac.za
| Subject: Toets mail
| Message-Id: <E18mB0Q-0003Hh-00@bywoner>
| From: Johann Spies <js@bywoner.sun.ac.za>
                         ^^^^^^^^^^^^^^^^^

The mail sent with mail(1) doesn't have any headers that match the
pattern in exim's rule.

One solutin is to change the pattern so it matches the FQDN as well as
the hostname only.  The other solution is to find out why the two
programs come up with different names for your machine, and adjust the
lookup (and maybe the pattern) so they all match.

| Date: Fri, 21 Feb 2003 13:06:14 +0200
| Return-Path: js@bywoner.sun.ac.za
| 
| I suspect this is why my efforts to subscribe on some mailing lists
| which request one to send an empty email so the list server failed in
| the past because I did most of them from the command line.

Probably.

-D

-- 
If we claim to be without sin, we deceive ourselves and the truth is not
in us.
        I John 1:8
 
http://dman.ddts.net/~dman/

Attachment: pgpjBJxauViKK.pgp
Description: PGP signature


Reply to: