logs archiveIRC Archive / Freenode / #exim / 2015 / September / 1 / 1
tyho1
I have a local_sender_blacklist file that looks like this: https://pastee.org/qasgn. mails from example.com get through just fine but mails sent from the ip ranges listed do not, they bounce with the mesage that they are locally blacklisted, what am I doing wron?
g
henk
how do you use that file?
tyho1
henk: I just put in /etc/exim4/
I only want to allow incomming mail from a select few domains and teh mailchimp IP ranges
henk
how is it used in the exim config, I mean &
tyho1
oh, I don't know, the file is mentioned in the exim4 man pages
it is referenced in conf.d/acl/30_exim4-config_check_rcpt
henk
not everyone here uses debian and just knows whats in there & you are asking for help, so you should provide all relevant information for people to be able to help you &
tyho1
henk: sorry: https://pastee.org/mj45e
henk
tyho1: you should try to understand what is happening there & this is about "senders", see http://exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html#SECTaclconditions while you probably want something for "hosts". Maybe there is a local_host_blacklist you could/should use instead?
tyho1
henk: yes
sorry for the delayed replies btw, my irc notifications are broken
ill check if that works
         

boubou
hum... please check http://pastebin.com/thbHJwuP
I would like do that: SPF filtering
This is provided via the macro CHECK_RCPT_SPF, set it to true.
where should I see the line to modfify ?
im in the /etc/exim4/exim4.conf.template
im a debian stretch
henk
boubou
henk For a non-split configuration, /etc/exim4/exim4.conf.localmacros gets read before /etc/exim4/exim4.conf.template.
there is no /etc/exim4/exim4.conf.localmacros file
then I can create it and add the line CHECK_RCPT_SPF = TRUE ?
henk
sounds like it
boubou
you are great henk
thx
henk
not really, Im basically just great at telling people to RTFM and giving my opinion to everything (;
boubou
LOL
ok
also, is there a way to enable the debug on exim $
4
I would like to see if an email is rejecteed
and why
henk
sure, there are lots of -b options to exim itself where you can test things without stopping the running daemon. I think what you want to do might be possible with one of those. There is also -v and -d. In Debian you can add them in /etc/default/exim4 and use the initscript to start the daemon &
boubou
refused to talk to me: 501 Syntactically invalid HELO argument(s))
sniff sniff
he ignore me :'(
s
i think its the problem
http://stackoverflow.com/questions/86907/how-do-i-fix-501-syntactically-invalid-helo-arguments
henk is it a goo idea ?
On the smtp relay server run this and restart exim4 echo 'helo_allow_chars = _' > /etc/exim4/conf.d/main/04_exim4-helo_hack
henk
Id rather fix the hostname actually &
boubou
my _ is needed
is it another way to fix it without modify the hotsname ?
henk
primary_hostname is what exim uses for the helo, see http://exim.org/exim-html-current/doc/html/spec_html/ch-main_configuration.html
Im curious: why is the _ needed in the hostname?
boubou
because I already configured all my pollers with a _ in their hostname
then I would like to use Exim4 as a smtp relay backup
I currently use a Fortimail as a smtp relay now and it work perfectly
henk
ah, "is needed" is something different than "too hard to change now" (;
Id still change them, I guess & next best solution is IMHO setting primary_hostname in exim
boubou
yes... maybe you are right :P
ok... I modified the hostname BUT the error changed
550 relay not permitted (in reply to RCPT TO command)
how can I see why the relay wasnt permitted ?
bjornar_
When I redirect with data= .. will the routing continue from the top with the new addresses?
henk
boubou: running exim in debug mode or simulating a smtp session from the sending host with -bh
boubou
exactly what I would like to know... How can I run exim4 in debug mode ?
henk
-d
boubou
exim4 is a service on my debian
then ?
./usr/sbin/exim4
hummm
I think I saw why
no :(
         

henk
see what I wrote above, almost an hour ago: you can add them in /etc/default/exim4 and use the initscript to start the daemon &
boubou
there was /var/log/exim4/mainlog
and rejectlog
;)
all relevant MX records point to non-existent hosts
:(
the relay is accepted now but all relevant MX records point to non-existent hosts in my mainlog
henk
the something is misconfigured &
boubou
in exim, can I relay all email directly to a host ?
exim4 > host immediately
henk
sure, I guess you want the hubbed_host stuff from debians config
boubou
I just want that the exim act as a relay host in the dmz
i would like that the exim relay all email to the internal host
if it passes the conditions
I think the problem is that the exim is doing a mx request on my domain
is it a way to bypass the mx request and just relay all emails to the hosts ?
jgh_
use a manualroute router
boubou
it works perfectly with a Fortimail
dunno why its so complicated with Exim
then my first question is: can I specify in the config to allow the use _ in the hostname ?
I think it wasnt answer
henk
sure it was, you found the solutions yourself and I commented on them &
boubou
is it still a vald solution hen ?
henk
;)
echo 'helo_allow_chars = _' > /etc/exim4/conf.d/main/04_exim4-helo_hack
because the file dont exist
im on a non-split config
henk
AFAIK validating the helo is a controversal topic & some dont do any validation while others are very strict about it. I like the strict approach, so for me that is not a solution but a workaround.
That solution is for a split config. You will need to adapt it for non-split obviously &
boubou
hummm... its what I thought
adapt it.... :(
how ? :(
« prev 1 2 next »