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

Fw: Exim4 Sender Address Rewriting



Hi again all,

Sorry if I'm being impatient, but this is frustrating me no end.

The original post is below, and even if someone can just point me to some
easier reading info than the Exim specification then that would be most
welcome.

Thanks,

Pete
----- Original Message ----- 
From: "Peter A. Cole" <peteracole@bigpond.com>
To: <debian-user@lists.debian.org>
Sent: Sunday, February 15, 2004 8:31 PM
Subject: Exim4 Sender Address Rewriting


> Hi all,
>
> I've just set up my mail server of sorts here which is running Debian
Sarge
> with Exim4, Fetchmail, Procmail, and QPopper. All my packages are up to
date
> as of today.
>
> I'm trying to set it up so I can send internal mail without going via my
ISP
> and external mail with address rewriting going via my ISP.
>
> The internal domain is "starpoint.local" and the ISP domain is
> "bigpond.com".
>
> I've tried a couple of things I found via a Google search but neither seem
> to be working. I think this is due to the fact that the new version of
Exim4
> has a directory structure containing all the settings under
> /etc/exim4/conf.d/.... whereas the examples I found via Google are for the
> older format of just /etc/exim4/exim4.conf or whatever it used to be.
>
> I've run dpkg-reconfigure exim4-config and set it up as follows:
>
> 1 - Mail sent by smarthost; received via SMTP or fetchmail
> 2 - System mail name: starpoint.local
> 3 - IP Addresses to listen on: 127.0.0.1:"my LAN IP" (this is the IP
> address, not the text of course)
> 4 - Other destinations for which mail is accepted: blank
> 5 - Domains to relay mail for: blank
> 6 - Machines to relay mail for: 127.0.0.1:"my LAN network/subnet"
> 7 - Machine handling outgoing mail for this host (smarthost):
> mail.bigpond.com
> 8 - Keep number of DNS queries minimual: No
>
> This configuration seems to work fine as far as I receive mail from my ISP
> from user1@bigpond.com and user2@bigpond.com and I can send mail through
the
> box with no problems.
>
> However, the problem is that when I set up my mail client which happens to
> be Outlook Express (don't laugh, there's a reason!), if I send mail from
> user1@starpoint.local to xxx@xxx.com then it appears to still come from
> user1@starpoint.local instead of user1@bigpond.com.
>
> I can't use the built in /etc/email-addresses because when I do this, it
> rewrites all mail and gets sent via my ISP rather than just going from
> mailbox to mailbox locally.
>
> Can anyone suggest what it is that I'm missing in my configuration and
where
> to put it? I've tried the Exim specification and gotten completely
confused
> as well as posting to the Exim mailing list, from which I received no
> replies whatsoever.
>
> Thanks,
>
> Pete
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: