logs archiveIRC Archive / Freenode / #exim / 2010 / April / 15 / 1
chillindave
Does anyone here know how to prevent all local system mail from being sent via the smtp relay? My system is sending cron reports and all and I've had no luck making sense of how to prevent this.
djce
where should it send such mail instead?
i.e. what do you want to happen to cron mail, etc.
chillindave
djce, The standard mail files would be fine.
I really don't need the cron reports.
The ones I do need I want to mail them using a specific email address, so I guess somehow filter for that.
djce
The default configuration file would do what you want already, so it sounds like you have a non-default config.
chillindave
Debian
djce, Here's what I've got....
djce
mmm. Alas, I don't understand Debian's weird and wonder way of configuring Exim.
Unless you have an /etc/exim4/exim4.conf file (which I doubt), I can't help you. Sorry!
chillindave
Yeah, it doesn't. Thanks anyways though.
djce
Maybe someone else here knows the Debian Way and can help.
chillindave
djce, I actually think it's pretty simple and I'm just not understanding it.
djce, Here me out for a sec and see if you can help.
         

djce
(Action) listens
chillindave
Local emails go to username@localhost, right?
djce
usually yes.
I think you can change that in exim, but usually localhost yes.
chillindave
Ok, the domain I'm primarily concerned with handling the emails to/from or as is amereservant.com.
So then I usually send them out to my smtp relay as server@amereservant.com
djce
Is the hostname of your system "amereservant.com" (as opposed to, say, myserver.amereservant.com) ?
chillindave
Now what is happening is it's sending everything out as username@amereservant.com, not just server@amereservant.com. So it's tacking on the domain automatically and I'm not sure how to stop that.
djce, Correct.
djce, No wait.
Hostname?
djce, Let me see how to look that up.
djce
"hostname --fqdn"
chillindave
server-desktop
So then the answer would be no.
djce
but anyway, I still suspect I can't help with Debian. The only advice I can really give is this:
Unless you have exim config that you think is working fine and you don't want to lose, try "dpkg-reconfigure exim4" (IIRC).
Or, sit tight and wait for a debian-exim expert to help you.
and of course, read the fine documentation that comes with the debian exim4 package, just in case that helps :-)
chillindave
djce, Alright. Nah, I can re-configure it back to the way it is now if something goes nuts, but I think I'm just setting something simple wront.
*wrong
Yeah, I've gone all through the documentation, but I'm not understanding something correctly.
djce
Yeah probably. I've never taken the time to learn debian-exim so I can't say for sure.
chillindave
The configuration is actually very similar, they just changed the structure of the config file around.
djce, I think my problem is I've set something to where it works kinda as a "catch-all" for all system mails and sends it out regardless of who's sending and where it's going.
I kinda have an idea of what's wrong, I just don't quite understand how to fix it.
djce, For instance, the Mail Server configuration screen ... I chose mail sent by smarthost; no local mail since it was the closest thing to what I need, but does that mean there won't be any local mail?
djce
does /usr/share/doc/exim4-config/README.Debian.gz help?
chillindave
djce, Yes sir it does. It looks like my problem began there.
djce, I'm not sure I fully understand the "Other destinations for which mail is accepted" field.
djce
If your server won't be receiving incoming mail from other servers / the 'net, leave that blank.
(or whatever the default is)
chillindave
djce, Alright, thank you.
djce, In "The headers of outgoing mail can be rewritten to make it appear to have been generated on a different system ...." , I DO want to Hide local mail name in outgoing email, right?
djce
Sorry, but (a) that's really getting beyond the config I understand and (b) I can't tell you what you want :-) It can be made to work either way, usually.
chillindave
That won't make locally-destined emails such as cronjob reports go to the smtp-out automatically will it? That's my main concern is trying to catch what setting it is that's re-routing them from local to sending them remotely.
djce, Woah!!! I think I got it set right now! Thank you thank you! I knew you could help. ;)
djce
err, you're welcome :-)
chillindave
I figured it was just a smalll mis-configuration and it appears it was. I'm using geximon and it looks like the local email is being delivered locally and only what's suppose to go out is going out.
djce, Works perfect! After all of the frustrating hours and maxed-out smtp relay issues I was having, I'm extremely happy ATM and for good reason.
         

djce
Good, glad it's working for you.
chillindave
djce, Have a great evening/day/morning (whatever time it is for you) and thanks again! I didn't need the full-monty install help, just a few simple clarifications on what the settings meant.
djce
no prob :-)
henk
petemc: i am not getting any wiser so i'll just give up trying to understand what you mean...
zigzaplane_
Can anyone point me in the right direction for checking exim logs?
henk
zigzaplane_: /var/log?
Mystique
is there a way to use an aggregate list but 'not' part of it?
safe.dnsbl.sorbs.net but I want to not include 127.0.0.6
phx
! hosts = 127.0.0.6 ?:)
henk
Mystique: afaik the syntax allows to use only certain responses...
Mystique
http://wiki.ctyme.com/index.php/Spam_DNS_Lists
I think this is what I'm looking for..
looks like hostkarma returns 127.0.0.[1-5]
henk
Mystique
looking
http://exim.org/exim-html-current/doc/html/spec_html/index.html#toc0339
heh that's about as clear as mud :)
safe.dnsbl.sorbs.net=!127.0.0.6
!=
so .. safe.dnsbl.sorbs.net!=127.0.0.6
(think) that block on all return values except 127.0.0.6
H=(mail-ew0-f225.google.com) [209.85.219.225]:56320 I=[6.7.6.2]:25 F=<name@gmail.com> rejected RCPT <name@domain.org>: DNSBL safe.dnsbl.sorbs.net
I can't figure out what part of safe.dnsbl *google* is in..
which is fsck'n scary..
<small flood>
09:03:51 86653 DNS lookup of 47.227.202.74.safe.dnsbl.sorbs.net (A) succeeded
09:03:51 86653 DNS lookup for 47.227.202.74.safe.dnsbl.sorbs.net succeeded (yielding 127.0.0.6)
09:03:51 86653 => but we are not accepting this block class because
09:03:51 86653 => there was an exclude match for =127.0.0.6
so != is it..
maxigas`
I am trying to understand a machine that runs xen that has exim4. It has a single WAN IP and forwarding requests to different local IPs of the xen virtual machines based on maching the domain name in the incoming SMTP query. Can somebody tell me where should be the file in which these domain names are specified?
Ah yeah, it's a Debian machine.
phx
wherever the config file specifies it to have
maxigas`
phx: which config file?
phx
exim's
on debian, one of the config files. most probably in the routers
maxigas`
thx, i look now.
uh, 13 files in /etc/exim4/conf.d/router/
phx
transports might be also interesting, but iirc routers give the data parameter to the routers
maxigas`
ok, thanks for the directions.
do you know the name of the variable that specifies the file where the domains are listed?
phx
no, because it's nothing fixed, it all depends on your config file
maxigas`
ok thx
I want to set up cacert certification checks during the TLS connection between another server and one of the virutal machines running on this server. Exim on dom0 already handles mail for the hostname of the virtual machine. Should I mess with Exim configuration at all to achieve this?
phx
exim can check certs, that's auth
check the docs in the topic
maxigas`, got it?
maxigas`
phx: ok i think i fugured it out..
phx: i'll report on it as soon as it works. :)
OK problem solved.
There is no exim side of it, however: I configured the sending server to connect to another port instead of the default 25 when sending mails to this domain, and that port is mapped directly to postfix running on the virtual machine, so exim is out of the loop.
thanks for the help
GOrshkOFF
hi
I have 1 question, can I get answer here?
Mystique
anyone do src w/ exim
GOrshkOFF: as long as you ask it..
my initial answer though is: 42
GOrshkOFF
I try: now I setup mail server based on MTA EXIM and my testing messages go to the spam folder in gmail.com, but other server don`t do like google - normal. Question: why gmail send my messages from my server to the "Spam" folder?
Mystique
any myraid of reasons..
are you testing this on your 'home computer'
GOrshkOFF
yes
Mystique
your computer (@home) probably has a different reverse dns name than what you are using..
(for starters)
your ip is probably on a 'dial up list'
GOrshkOFF
i tune MTA Exim on my server: v-cheboksarah.ru
Mystique
95.141.228.134
?
steve
hi all
can anyone offer advice as to how to configure exim to efficiently/rapidly send bulk outbound mail? at the moment I can't seem to get it above about 1 delivery per second, which seems shockingly slow
petemc
other mtas can shunt mail out a bit faster than exim, but a local caching dns and use of split spool dir can help
steve
what's the best I can expect from exim?
petemc
not sure off the top of my head
Guest88324
Does anyone else use this group?
Does anyone use this group?
I want to tap someone on a hop server for an organization. The situation is a hypothetical group of 100 accessing some mail service like Rackspace. I would like to put an exim server in front of it that will handle any email that doesn't actually go out of the group. Isn't that pretty simple?
Mystique
steve: depends on disk I/O and network I/O..
steve
Mystique: neither of those are a problem, it's on a 100mbit link and the load barely goes above 0
seems exim is just running through treacle
Mystique
well whats your dns like?
what are the emails like being pumped into exim?
are you storing email and then sending it, or just sending it as fast ast it comes?
steve: ..
steve
sorry
well
it's being pumped in via a php script, as fast as exim will receive, the php script moves on to the next mail
when a mail is sent to exim, does exim try to deliver it while the SMTP connection is open or does exim accept it and then deliver it in its own time?
Mystique
so it's one to one..
steve
hmm?
Mystique
I'd get exim to queue them and try and make muliple deliveries if it's applicable..
steve
queue_only?
Mystique
like if you have 1 email to @aol, and 1 to @gmail, then 1 @aol..
it would be more efficient to deliver 2 @aol via one connection
steve
yeah
Mystique
things like that..
but having well connected dns is also good..
local dns cache?
steve
yep got one of those
not local to the exim machine but on the LAN
« prev next »