logs archiveIRC Archive / Freenode / #exim / 2015 / September / 3 / 1
OUTsider
https://bugs.exim.org/show_bug.cgi?id=1685
hs12
Thx
albercuba
hello. i have a service running in one server and it needs to use an email account for notifications. Can someone point me in the right direction to find a tutorial on how to configure exim to authenticate a user against my mail server?
jgh_
http://exim.org/exim-html-current/doc/html/spec_html/ch-smtp_authentication.html#SECID170
albercuba
jgh_, thanks
jgh_
not a tutorial I'm afraid, but the definitive docs
albercuba
jgh_, i will take a look at it. i have no exp at all with MTA
bjornar
When expanding an alias in routers ... is it possible to somehow know if the current address is a child or parent, and if a vacation message has been sent from parent..?
thing is I have everyone@domain that expands to me@domain and you@domain ... When an alias expands to multiple, I want to send vacation message only if it is defined on the alias itself, and not the expanded..
...This sounds a little hard..
Anyone?
rjek
(Action) 's solution to vacation message problems is to never enable vacation messages because they're evil, and thus is too inexperienced in this area to help.
         

R3turn
I'm facing a problem that with a different mailserver (Kerio Connect) I can't specify an SMTP relay server for each domain. But I need specific emails to go through other SMTP servers. So I was thinking it's maybe not that hard to add Exim between?
And have Exim "separate" the messages and deliver it to the right relay?
Can it be done easily? Have exim relay messages to different SMTP servers, based on the sender envelope?
bjornar
When exim sends bounces and other autogenerated messages... is it possible to access the original $acl_c or $acl_m variables?
jgh_
R3turn: yes; you do this kind of thing in the router chain using one or more manualroute routers for the relevant domains that need to be fired at specific targets
R3turn
jgh_: I installed ubuntu and the exim4-daemon-heavy package. Any experience with this particular installation ? I was reading the config_hubbed_hosts file
the default install is able to redirect messages to different smtp servers based on destination domain
but I don't think I can easily modify it?
jgh_
no direct experience, but that sounds exactly what you're wanting... you said "domain"; sender or recipient?
R3turn
I want it to use sender domain for deciding to which SMTP server it should relay. The default config uses the recipient domain
jgh_
ah, ok. You could start with it and modify
the non-split variant will be slightly simpler to work with, but you'll still have to get your head round all the Deb-specific uses of macros
R3turn
the 'hubbed_hosts:' router has "domain = "${if exists{CONFDIR/hubbed_hosts}...." in the config. Here it's checking if the domain is in the hubbed_hosts file.. I guess the "domains =" part is a condition in exim (I never actually used exim a lot, so I'm not sure)
jgh_
or, you could start with the example config in the Exim sourcebase and work up
either way you'll be reading around the docs a lot
http://exim.org/exim-html-current/doc/html/spec_html/index.html
bjornar
Can I have exim write to a file .. through a lookup or whatever?
jgh_
database-style lookups can do updates
and inserts
if you go via a "run" or "perl" expansion you can do just about anything
bjornar
I try to avoild perl, beeing hardcore ;)
..I can probably run cat ..
Been working with this exim setup for 3-4 weeks now, starting to come together..
Nuu
Hello dears. I have a configured and working server with exim4+dovecot+mysql, all configuration works fine, but I need a some help with sending an advanced mail forwards, not just aliases which redirects someuser@domain.com => someuser2@domain.com. I need a two "real" mailboxes, but wants to send a messages copies from one of them to another, I have used google to search for my task, but nothing helpful was found. Can someone help me in which part of the system I ne
ed to look for configure something like this? Hope you understand my bad english. Thanx in advance.
R3turn
I can do exim -bt <address> to test deliverabilty of an address. But can I also set the sender somehow? Because my rules are going to deliver differently based on the sender...
rjek
R3turn: Try exim -bhc <connecting IP address> and doing a fake SMTP transaction to see everything exim is considering doing
(No real mail will be queued, but everything else will happen)
This one feature is why Exim is wonderful and Postfix is horror.
R3turn
thanks
henk
Nuu: I dont really understand your question.
Nuu
I want to forward a mails from one mailbox to another...
henk
MUAs usually have a "forward" function somewhere &
Nuu
So, if I send a mail to mail1@domain.com I will receive a mail at mail1@domain.com and a copy on another mailbox
         

jgh_
you can have an alias line which directs mails to the original plus another
Nuu
yeah, but where this "somewhere"?
Just tried, not works... I only receive an email in mailbox
henk
then show us how you tried
Nuu
I have a table with mailbox aliases, it's work, if i create a alias "somemail@domain.com" for some existing mailbox and send a message to it I will receive a message, but if I create an alias with the name of the real mailbox it not forward anything, seems it's hard to describe not in my native language, sorry
henk
Id rather read logs, configs, and command outputs anyway &
use a pastebin
Nuu
http://pastebin.com/fDgtEZ3Z this is I got in logs when I send a message, I have a mailbox with name "blah@mydomain.com", but also I have a alias in database (aliases works!) with blah@mydomain.com to realmail2@mydomain.com
so, I want to receive a message and in realmail2@mydomain.com
henk
log seems to me like the alias is not working &
Nuu
Yes, it's not work, if the mailbox exists
if I remove mailbox "blah@mydomain.com" and send email - I will receive a message to realmail2@mydomain.com. But I also need a blah@mydomain.com as real mailbox
henk
probably your routers are in the wrong order
Nuu
ahhh, I will try to look, thanx
So, I have a exim4 installation with separated config files, and my configs are here http://paste.ubuntu.com/12264376/ (360_exim4-config_mysqlusers) and http://paste.ubuntu.com/12264383/ (401_exim4-config_mysql_aliases). I just need to rename a config file to something like 359_exim4-config_mysql_aliases to place driver "redirect" before driver "accept"?
henk
yeah, not correct terminology, but yes
Rubin
http://www.gossamer-threads.com/lists/exim/users/32888
found another thread on this line length issue, from 2004
R3turn
How do I tell exim to use smtp authentication when sending email to another smtp? I have a router that's sending to different smtp's based on sender address and for that I'm using the remote_smtp transport and I'm setting route_data to 'server1:587', 'server2:587'... depending on the sender
but I can't find any documentation about how to set username/password for auth?
henk
http://exim.org/exim-html-current/doc/html/spec_html/ch-smtp_authentication.html#SECID170 and http://exim.org/exim-html-current/doc/html/spec_html/ch-the_plaintext_authenticator.html#SECID175
R3turn
When doing that it doesn't connect to the smtp server at all and gives this error: 1ZXZ4K-0008MC-1G 587 [0.0.2.75] Invalid argument
I probably did something wrong, but the error is not explaining a lot
it's trying to connect to 587 instead now..
which is the port number. I guess I can't specify the portnumber like I did? I have route_data set to server:587
henk
seems like : is interpreted as the list seperator
you could change the seperator for that list. doubling the colon instead might work too, not sure about that
R3turn
for testing I just added port=587 in my transport and that seems to work, but now it's complaining about authentication error :/
can I somehow make it log user/pass it's trying?
henk
not sure, have you tried -v and -d?
R3turn
I started netcat on port 587 and manually send replies to exim to see what it's doing and it sends a QUIT right after my reply to it's EHLO command
and then in the log it writes: authentication required but authentication attempt(s) failed
it didn't even try ?
henk
you know you could show us the dialog in a pastebin. why dont you?
R3turn
http://pastebin.com/R8DRwg6Q
henk
maybe exim doesnt want to do auth without tls?
R3turn
i already set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS=true
henk
thats just a random macro & does not mean anything
on its own
R3turn
i'll have to look into it tomorrow. It's getting to late now. But thanks for all the help!
pthree
Hi, I'm using exim 4.72 via deb squeeze-LTS and I'm having some intermittent issue with TLS connections outside the LAN
everythign checks out with checktls and swaks. I've rebuilt my crt, specified a DH.pem @ 2048 and applied every tweak I can find via google to no avail
mainlog has lots of 'TLS error' specifically 'unexpected length', 'session invalidated for some reason'
I idle via znc so if anyone can help with this ping me when convenient and I'll receive notice via boxcar. Thanks!
henk
pthree: only outside the lan? is there a firewall in the way? does that cause any actual problem? which ports exim listening on and how (ssl or plaintext)?
pthree
has not happened on lan. port 587 is open using, STARTTLS
here is a transaction from outlook 2013 via a verizon hotspot: http://pastebin.com/rFe2eP3M
sometimes they're without tls error, sometimes they have tls errors. happens on dsl connections too.
and here is a transaction just a moment ago from an iphone running 8.41 via verizon: http://pastebin.com/MR1TChHj
henk
hm, but the mail goes through, it seems
pthree
this same iphone exhibited the problem yesterday and the error on the client was that the server rejected the mail
but there isnt a log within rejectlog for that transaction (and rejection)
eventually the mail goes through. that's the #1 symptom, periodically the mail doesn't go through. seems to affect ios devices more than any other
maybe it's this weird lookup that's happening via verizon connections? 2015-09-03 14:49:42 TLS error on connection from 98.sub-70-197-0.myvzw.com ([100.65.68.103]) [70.197.0.98] (send): The specified session has been invalidated for some reason.
« prev next »