Configuring exim4 (for use with mutt)

From: Felixk Karpfen (felixk_at_webone.com.au)
Date: 01/06/05

  • Next message: QSergio_Cu=E9llar=22?=: "Portsentry Question"
    To: debian-user@lists.debian.org
    Date: Thu, 6 Jan 2005 19:44:39 +0000 (UTC)
    
    

    One of the few inputs requested by exim4-config is "hostname".

    The screen, that contains this request, explains that the "hostname" is
    the part of the email address that comes after the "@". As far as I can
    judge exim4 uses this input in conjunction with the user's login name to
    construct the "envelope_from" address.

    Unfortunately this does not work on my setup because my login name on my
    computer and my login name on my ISP's computer are different.

    When "mutt" is used in conjunction with "sendmail" this can be fixed
    with the "set envelope_from" command. This does not work with exim4 -
    as shown by the following testrun:

    ,----[ test6.txt ]-
    | From MAILER-DAEMON Thu Jan 06 07:33:16 2005
    | Return-path: <>
    | Envelope-to: felixk@carrot.cabbage.patch
    | Delivery-date: Thu, 06 Jan 2005 07:33:16 +1100
    | Received: from Debian-exim by carrot.cabbage.patch with local (Exim 4.34)
    | id 1CmHqG-0001cs-Ii
    | for felixk@carrot.cabbage.patch; Thu, 06 Jan 2005 07:33:16 +1100
    | X-Failed-Recipients: felix@spodzone.org.uk,
    | Auto-Submitted: auto-generated
    | From: Mail Delivery System <Mailer-Daemon@carrot.cabbage.patch>
    | To: felixk@carrot.cabbage.patch
    | Subject: Mail delivery failed: returning message to sender
    | Message-Id: <E1CmHqG-0001cs-Ii@carrot.cabbage.patch>
    | Date: Thu, 06 Jan 2005 07:33:16 +1100
    | X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.92.7
    | Status: RO
    | Content-Length: 1398
    | Lines: 38
    |
    | This message was created automatically by mail delivery software.
    |
    | A message that you sent could not be delivered to one or more of its
    | recipients. This is a permanent error. The following address(es) failed:
    |
    |felix@spodzone.org.uk
    | SMTP error from remote mailer after MAIL FROM:<felixk@carrot.cabbage.patch>:
    | host mail.m.iinet.net.au [203.0.178.192]: 553 sorry, your envelope sender
    | domain must exist (#5.7.1)
    |
    | ------ This is a copy of the message, including all the headers. ------
    |
    | Return-path: <felixk@carrot.cabbage.patch>
    | Received: from felixk by carrot.cabbage.patch with local (Exim 4.34)
    | id 1CmHZK-0001bI-4P; Thu, 06 Jan 2005 07:15:46 +1100
    | Date: Thu, 6 Jan 2005 07:15:46 +1100
    | From: Felix Karpfen <valid email address>
    | To: felix@spodzone.org.uk
    | Subject: test 6
    | Message-ID: <20050105201546.GA6102@carrot.cabbage.patch>
    | Reply-To: Felix Karpfen <valid email address>
    | Mime-Version: 1.0
    | Content-Type: text/plain; charset=us-ascii
    | Content-Disposition: inline
    | User-Agent: Mutt/1.5.6+20040722i
    | Sender: Michael <felixk@carrot.cabbage.patch>
    |
    | Text of sent message:
    | ====================
    |
    | hostname set to carrot.cabbage.patch
    | envelope_from set
    |
    | --
    | Felix Karpfen
    | Public Key 72FDF9DF (DH/DSA)
    `----

    The problem can be corrected by supplying to exim4 not just my (ISP's)
    hostname (as directed) but the full mailing address. This creates
    entries in "Return-path:"(envelope_from?) and in "Sender:" with a
    hopelessly incorrect syntax (an address with 2 "@"), but the mail is
    accepted by my ISP.

    While it would not surprise me to be told that the problem is at my ISP,
    he is geared to cater to Windows users and provides virtually no support
    to Linux users.

    As described above, I have found _a_ solution. But I would be glad to
    know if there is a more elegant solution.

    Felix Karpfen

    -- 
    Felix Karpfen
    Public Key 72FDF9DF (DH/DSA)
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: QSergio_Cu=E9llar=22?=: "Portsentry Question"

    Relevant Pages

    • Re: DT messaging system could not be started
      ... > I am trying to configure my workstation ... > Check that the hostname is correct in these locations: ... > Check to see any magic cookie related error messages in these locations: ... parsed correctly upon login, thus the system's hostname ...
      (comp.unix.solaris)
    • Re: Login-Fenster kommt bei IP-Adresse
      ... hinter einer IP-Nr. ... Wird beim Login per Hostname Local Intranet als Zone angezeigt? ... Login, im zweiten nicht, weil nicht als Local Intranet erkennbar. ...
      (microsoft.public.de.german.inetexplorer.ie5)
    • Re: Question on Cloning tools
      ... but I don't want hostname changed after each time login. ... >> I am trying to use single image to boot multiple targets. ... >> same sdi image with the different hostname, for me, the cloning is working. ...
      (microsoft.public.windowsxp.embedded)
    • Re: getting hostname from NT machine via Citrix
      ... "Tilman Bohn" wrote in message ... |> be accessible only via a login to Citrix from client machines. ... |> to get the hostname of the NT machine which is logging on. ... Programs that have duplicated logic are hard to modify. ...
      (comp.lang.java.help)
    • Re: domain name of debian
      ... David Baron wrote: ... >Now the hostname ends up being computer.my.domain.net. ... >If I want use email to users on this system, how do I set up exim4 and what ...
      (Debian-User)