logs archiveIRC Archive / Freenode / #exim / 2009 / November / 23 / 1
henk
hi
i have a setup where i am not quite sure who adds X-Spam headers, SA or exim. where would that have to happen if it was exim?
david00
Hi #exim
I have two mail servers, let's say s1.example.com and s2.example.com, both run Exim
s1.example.com is listed as the MX for example.com
If I send mail from s2.example.com with "From: something@example.com", and it bounces, where should the bounce end up?
s1.example.com (where the 'something' user is), or the sending MTA, s2.example.com
?
brasto
I have some addresses mapped in /etc/email-addresses, but exim does not seem to see them. Do I need to makemap hash on it like I would with sendmail on /etc/mail/virtusertable?
(Action) wonders if he should randomly ping some people here since there are no admins
adegtyarev
there should be a router that maps emails through that file
take a look into default configure nearby system-aliases router
brasto
thank you adegtyarev, is that in /etc/system-aliases then?
adegtyarev
I don't know what distribution you are talking about, i'm a FreeBSD one
brasto
this particular box is a debian box.
adegtyarev
see the default exim config, it should be /etc/aliases
brasto
ok, I ran find /etc -iname *alias* and found /etc/exim4/conf.d/router/400_exim4-config_system_aliases
         

adegtyarev
aha
brasto
but I chose an install with one big config file so I'm not sure if it's using that.
there is an /etc/aliases file
/etc/aliases just has the usual aliases mapped to root with the final entry aliasing root to one user.
adegtyarev
yes, if you want some different logic with your custom email-address aliasing you should write a router similar to system_alias router i think
brasto
you can't put email addresses in /etc/aliases can you? It's just for aliasing one user name to another, right?
adegtyarev
rfc822 email should work file
at least in default exim installation
brasto
do I need to makemap hash when I add an entry to /etc/aliases like I do with sendmail?
adegtyarev
no
brasto
nice. I always wondered why sendmail devs made it so you have to do that.
adegtyarev
plain text search is not so quick as hashed one
brasto
that's true
adegtyarev
with a small installation you'll be fine with plain text, but with large highload install you probably take in some troubles with it
sdr__
can i get exim to authenticate itself when delivering mail to mailhub?
brasto
alright, it looks like I have mail working now. Thank you adegtyarev
adegtyarev
ok
sdr__
can i get exim to authenticate itself when delivering mail to mailhub?
brasto
I'm on a debian machine, and I want to set up a secondary mail server that serves as a mail server when the primary is not available, but forwards it all as soon as the primary is available again. I've copied the config from the primary. What do I need to change so that it will forward to a primary?
henk
brasto: use /etc/exim4/hubbed_hosts
brasto
hmmm, that file doesn't exist on my machine.
is there a man page about that file henk?
henk
grep -ri hubbed_hosts /etc/exim4
brasto
yea, I just ran that same search
it found /etc/exim4/conf.d/router/150_exim4-config_hubbed_hosts
but I chose a single large config file install instead of multiple file config install. Is it still going to use that file?
         

henk
no
brasto
I'll switch to a mutiple file config if I need to. I'm looking at that file now. What might I want to change?
henk
grep -ri hubbed_hosts /etc/exim4/exim4.conf.template
you need to understand the way debian's config works.
see /usr/share/doc/exim4*/README.Debian* i guess
probably exim4-config
brasto
I'll take a look at that. thank you henk
henk
basically either /etc/exim4/exim4.conf.template or /etc/exim4/conf.d/ are used to build /var/lib/exim4/config.autogenerated
next »