logs archiveIRC Archive / Freenode / #exim / 2015 / July / 16 / 1
YamakasY
hi guys
jgh_
you said that yesterday
YamakasY
and today, and tomorrow :D
and next week
and next year :D
I wonder I need to split a domainname for production and office for mx records
shall I use a subdomain ?
henk
split a domainname? What does that mean? Why do you think you need to do that?
YamakasY
henk: I have an office network and a production network both having their own mailcluster but sharing the same domainname
as production hosts mail for 4 other domains but serve content for my main domain... I'm figuring out how to manage this
so maindomain.tld has a mailserver for maindomain.tld in network1 and production is service content for http://maindomain.tld but has mailservers for domain2 and domain3
both on seperate networks and seperate mailclusters
henk
YamakasY: I dont really follow your question. You have one mailcluster for each environment but only one domain for both environments. So much I got. I hope you are aware you can only have one mailserver (or cluster of mailservers) for one domain. What is your question exactly?
YamakasY
henk: yes I know that so, I should use a subdomain for my second cluster ?
henk: or I need to create all MX records for all 4 domains on the production
henk
YamakasY: Depends on what you want or need & You sure could. Yo could also set up a mailserver/cluster to handle the domain and forward mails to the correct cluster depending on the recipient.
s/Yo/You/
YamakasY
henk: yes but that is what I want to avoid, one IP range for both...
henk: something dirty is, can't i sent out from maindomain.tld and let the ptr be there for both clusters ?
         

henk
one ip range for both? I dont follow again, where did you get that?
And how is PTR related to your question?
YamakasY
henk: I need to have PTR checks, so if network 2 sends out, it will check ptr
henk: so mail production domainnames have they own mx/a records to the mailcluster
but they send out using networkname 1
hostname from network1
jgh_
sending machines should be identifiable, with good rdns and helo. This is separate from choice of MXs and subdomain layout and internal delivery routing for inbound.
henk
You keep changing topic or constantly add different aspects. Or Im just unable to follow. In any case its a waste of time for me. Hope you get it solved and sorry I cant help.
YamakasY
henk: just verified it, i the loop is OK, it's OK
oozbooz
I've added log_selector = +smtp_connection to the conf file, now logs do show SMTP connections... but only incoming
jgh_
correct
oozbooz
so how to make logs show outgoing SMTP connections?
jgh_
it's not a common need. You'd have to use the experimental events feature, and an acl expansion doing a logwrite
oozbooz
first, terms you mentioned does not sound friendly enough for me to start playing with ... any other means to obtain this information?
second, so nobody cares how many outgoing connections they open to the receiving end?
we have big wigs clients, and couple of them pushing their fingers in my face: don't dare to exceed N connection per minute...
I presume they do it for many other vendors too
jgh_
no, and apparently no. If you need to enforce such a limit you're probably better-off (for now at least) by doing it in iptables; dropping connections over the rate limit. You could raise a feature-request on bugs.exim.org - but even if someone cares to work on it it won't hit a release soon
oozbooz
yeah, iptables was the next item on my list to accomplish this... thanks
jgh_
you can ~ sort-of ~ do it in routers by manually doing the MX lookup, a ratelimit text on the IP and a defer. Messy and complex;I'd not recommend it.
s/text/test/
YamakasY
henk: got it fixed, large networks can't do different
« prev next »