[Exim] rewrite domain albert.somecoll.edu to somecoll.edu

Top Page
Delete this message
Reply to this message
Author: Theodore Knab
Date:  
To: exim-users
Subject: [Exim] rewrite domain albert.somecoll.edu to somecoll.edu
Hello,

I have just built my first Debian exim mailer at school for the school
of computing.

I am getting confussed with the rewrite rules.

When I send the mail, it sends as

Envelope-to: tjk@???
Delivery-date: Thu, 10 Jan 2002 09:44:05 -0500
To: tjk@???
Subject: test
Cc: ted.knab@???
From: root <root@???>

test mail

I want the headers to look like this.

From: root <root@???>

How do I do this ?

My /exim.conf.

Parts I changed from default smart host selection 2.


qualify_domain = albert

local_domains = localhost:albert:somecollege.edu:blitz.somecollege.edu

smtp_accept_queue_per_connection = 0

smarthost:
  driver = domainlist
    transport = remote_smtp
      route_list = "* smtp.somecollege.edu bydns_a"



######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################



# There are no rewriting specifications in this default configuration
# file.


# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in a file

#*@somecollege.edu    ${lookup{$1}lsearch{/etc/email-addresses}\
#                                               {$value}fail} bcfrF