+ Post New Thread
Results 1 to 3 of 3
*nix Thread, Exim rewrite rules in Technical; I recently 'fixed' my configuration so satellite systems in my domain could send and receive mail correctly. However as a ...
  1. #1

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Exim rewrite rules

    I recently 'fixed' my configuration so satellite systems in my domain could send and receive mail correctly. However as a side effect of this my reader machine (a zimbra server) is having it's mail sent out with it's FQDN (eg, user@host.domain). I don't want this to happen. I need mail to go out as user@domain.

    I am using exim4 on a Ubuntu 6.06LTS machine. I am using the 'debian' split configuration system. My debconf variables are as follows:

    Code:
    dc_eximconfig_configtype='smarthost'
    dc_other_hostnames='carrhill.lancs.sch.uk'
    dc_local_interfaces=''
    dc_readhost='hydra.carrhill.lancs.sch.uk'
    dc_relay_domains=''
    dc_minimaldns='false'
    dc_relay_nets='10.73.24.0/22'
    dc_smarthost='mail.lancsngfl.ac.uk'
    CFILEMODE='644'
    dc_use_split_config='true'
    dc_hide_mailname='true'
    dc_mailname_in_oh='true'
    I also haved a hubbed_hosts file with the following:

    Code:
    vle.carrhill.lancs.sch.uk:goliath.carrhill.lancs.sch.uk
    carrhill.lancs.sch.uk:hydra.carrhill.lancs.sch.uk
    Goliath is one of my satellite systems.

  2. #2
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,966
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46
    Is that a question or an answer?? :P hehe!

    By the way, where's a good place to go to ask exim questions?

  3. #3
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    188
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    32
    Hi Geoff,

    I think your issue may be caused by the dc_readhost declaration. I think this should only contain the domain name that you want in the headers of outbound mail. e.g.

    Code:
    dc_readhost='carrhill.lancs.sch.uk'
    Inbound mail to <user>@carhill.lancs.sch.uk should still be delivered to hydra.carhill.lancs.sch.uk as defind in your hubbed_hosts file.

    From the update-exim4.conf man pages:
    dc_readhost
    For "smarthost" and "satellite" it is possible to hide the local mailname in the headers of outgoing mail and replace it with this value instead, using rewriting.
    Apologies if I have got the wrong end of the stick, but I don't use Debian based systems and this is a Debian specific configuration.

    Iain.

SHARE:
+ Post New Thread

Similar Threads

  1. HASH Rules
    By bigb3n in forum Windows
    Replies: 3
    Last Post: 29th October 2007, 01:20 PM
  2. Replies: 3
    Last Post: 19th April 2007, 01:50 PM
  3. ISA 2004 Web Publishing Rules
    By Ric_ in forum Windows
    Replies: 0
    Last Post: 14th November 2006, 12:40 AM
  4. The Guys' Rules
    By russdev in forum Other Stuff
    Replies: 2
    Last Post: 8th July 2005, 09:17 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •