logs archiveIRC Archive / Freenode / #exim / 2010 / February / 10 / 1
epictetus
debian sucks balls
Trevelyan
Hi. I have a group of MTAs for abc.com, sitting behined them is xyz.com. I want to the MTAs for abc.com to accept mail for xyz.com and relay them onto xyz.com MTA. Any google I've done so far for mail relaying has returned pages on 'securing' servers. ie stop relaying. The MX records for xyz.com point abc.com's MTA. since they are internat facing and xyz.comis not.
Can someone point to the right doc?
phx
Trevelyan, exim.org -> documentation
you'll need the Access Control lists, Routers (generic and smtp), and transports sections AFTER you read the first few chapters to know how to use them
Trevelyan
I am looking there I was hoping for a more, practical, guide. I am not the mail admin. I just figured if I could point out IT support mail people to some useful guide I could the needed changes done quicker.
s/out/our/
phx
well, you can google for guides, howtos, whatever for exim, but the official documentation is clearly superior to all of them
henk
Trevelyan: are you running debian by any chance?
Trevelyan
they are running debian yes. and any googling returns guides on doing the opposite. ie secure or stop relaying. not about relaying for some 3rd party domain
henk
Trevelyan: it's pretty easy to setup on debian. everything needed is there. keyword is "hubbed_hosts".
Trevelyan: they should find that pretty quickly if they know their way around.
Trevelyan
thank you
         

End3r
need a bit of help
trying to help a friend setup exim
http://85.17.224.131/vexim/
the default user/pass will not work
I checked the mysql code and the default user/pass are set correctly in it
any ideas?
henk
o_O
yeah, describe the problem thoroughly... you have not really said anything useful so far imho.
End3r
siteadmin/CHANGE
well
other then the default
mysql setup
what could keep you form logging in?
henk
End3r: irc can take more than 5 words in one line...
i have no idea wtf you're talking about...
End3r
sorry, I am just tired and frustrated
Ganzor
henk - http://www.eazynet.de/running_a_centos_server_with_lighttpd_php_mySQL_exim_with_virtual_users_dovecot_and_squirrelmail
End3r
my brain feels like it is about to explode
yea, thats what we used
that step by step
Ganzor
supposedly will help install a mailserver with lighttpd, and exim is one big part of it
right now we got down to right before installing dovecot (which is the last step)
henk
hehe, great, but i'm for sure not going to read that.
Ganzor
and it says we are supposed to be able to log into exim
but when we try to log in, it always says incorrect login
henk
get a clue on how to properly ask a question others will understand and be able to answer. there is the smart questions howto that will help.
End3r
VALUES
( '1', 'siteadmin', 'siteadmin', 'CHANGE',
snippet of the mysql code
henk
'log into exim'?
End3r
so I know the sql code is right
Ganzor
i dont know how else to say it henk
there is a login page
the top left corner says "Virtual Exim"
End3r
http://85.17.224.131/vexim/
henk
Ganzor: right, but pretty certainly NOT for exim... rather for some webmail service...
End3r
as you can see
henk
squirrelmail probably.
Ganzor
we havent installed squirrelmail yet
or anything that I can think of
         

henk
you can't login to exim...
you can authenticate to exim for one smtp session but that's all.
End3r
hrmm
henk
vexim is something else.
afaict you need support for vexim, not for exim.
End3r
hrmm
okay
thanks :)
henk
you're welcome
alnr
i am getting the error "lowest numbered MX points to localhost". because I have another MTA on localhost:25 sending to exim on localhost:26, and exim is creating a bounce due to the remote MTA rejecting at EOD. How can I configure exim to route this bounce to the sender (eg x@bounce.myhost.com from MTA1 on localhost:25) despite mx pointing to localhost?
phx
errors-to ?
alnr
hmm so that header replaces mail from? however, that should probably not be the "to" for downstream MTA. also i wonder if exim will behave any different in terms of the "lowest mx" check.
*replaces for bounce-routing
i believe i had this working at one time with a special router/transport but it was still very difficult to convince exim to bypass the mx check
romel
Hi guys. Is it possible to implement login mismatch with exim? I mean user's login must be equal to local part of $sender_address.
*login mismatch restriction
divad
I have a problem with string expansion in a macro, trying to use exim4 with multiple mailman instances
If I use MAILMAN_HOME=/virtual/${lc:$domain}/mailman the string fails to expand because "host lists are colon-separated, so you need to double any colons in the query." (exim FAQ 0030)
mainlog:2010-02-07 23:15:44 1NeFFl-00037W-EZ == mm-test@mydomain.com R=mailman_router defer (-1): failed to expand "/virtual/${lc" for require_files: "${lc" is not a known operator (or a } is missing in a variable reference)
If I use MAILMAN_HOME=/virtual/${lc::$domain}/mailman as the Exim - Mailman HOWTO suggests, I get this:
mainlog:2010-02-10 20:21:04 1NfI7U-0001vL-Tl == mmtest@mydoimain.com R=mailman_router T=mailman_transport defer (2): No such file or directory: failed to chdir to /virtual/:mydomain.com/mailman
I could replace the macro and write the whole thing every time, but I'd like to figure this out anyway :P
henk
i'm just guessing because i'm interested in a solution: might quoting help? MAILMAN_HOME="/virt...mailman"
divad
hmm lemme check
henk
romel: very probable.
romel
henk, i suppose that similar checks are built-in with submission mode. Is it right?
(Action) confused with exim :(
henk
romel: i suppose not... that's not something you usually want by default imho.
romel
postfix does it with just one string in config, henk :) i think it's very useful feature
henk
romel: exim's and postfix' config layout is not comparable imho...
romel
sure
but i am talking about very general thing
henk
and i guess this postfix feature ties you to exactly what you described: make the sender address the same as the login. with exim's way of doing things you can have your own layout. like '$user: mail@ddress.1,mail@ddress.2,*@ddress.3
divad
henk: didn't work:
# /etc/init.d/exim start
Starting exim: 2010-02-10 21:08:02 Exim configuration error in line 542 of /etc/exim.conf:
extra characters follow string value for require_files
that's where the macro is expanded:
require_files = MAILMAN_HOME/lists/$local_part/config.pck
romel
anyone tell divad about pastebin ;)
divad
romel: will do :P
romel
henk, you mean that I can permit user with one login to send mail from several addresses?
henk
romel: imho that is no problem. perhaps i am disregarding something...
romel
..and control it? i.e. he can send it *only* from this addresses
sorry for my poor english
henk, can you tell me how this feature is called, please? :) how can I define list of addresses for one login? give me just a keyword :)
henk
romel: i just have a very raw concept in my head...
romel: as soon as you have the username from authentication and the sender address you look up the username (or sender address) in a file and check against the sender address (or username).
romel
sounds reasonably
henk
s/in a file/in whatever your exim supports/
romel
thanks a lot, henk. gonna implement something like this with mysql lookups
henk
yeah, me too some time :)
« prev next »