logs archiveIRC Archive / Freenode / #exim / 2010 / February / 22 / 1
abou_7anash_009
hi all ..is there a way to check the content of an email message sent through apache
using exim4 of course
henk
yes
abou_7anash_009
henk can you elaborate on that please ?
henk
abou_7anash_009: please, you first.
abou_7anash_009
henk: well basically the emails are going to spam and an activation code was sent to a client and he claims he did get a wrong one, so I need to verify that the message sent did contain the same code he is providing.
henk
unless you log all mails it's not possible.
hertoner
if i respond an email, I can send my emails successfully... but when i created a new compose, I cant send.
petemc
what do the logs say?
hertoner
mainlog ? paniclog?
         

henk
hertoner: mainlog
hertoner
petemc henk: the logs say that email is sent properly.
henk
and what is your problem?
hertoner
if i respond an email, I can send my emails successfully... but when i created a new compose, I cant send.
petemc
what do the logs say when you cant send?
henk
hertoner: that is pretty much lacking any useful information for helping you. try reading the smart question howto...
hertoner
petemc: I sent an test mail and the logs :
2010-02-22 14:23:46 1NjXKE-0006rl-2z <= sender@domain.com H=mail-fx0-f219.google.com [209.85.220.219] P=esmtpsa X=TLSv1:RC4-MD5:128 A=plain:sender@domain.com S=4483 id=57bc79eb10022220423y1af89583tc2faf0f4e7129f32@mail.gmail.com T="Test email," from <sender@domain.com> for testgotmail@hotmail.com
henk
and what's in the logs when "it doesn't work"
hertoner
2010-02-22 14:23:47 1NjXKE-0006rl-2z => testgotmail@hotmail.com F=<sender@domain.com> R=lookuphost T=remote_smtp S=4580 H=mx4.hotmail.com [65.55.37.120] C="250 <57bc79eb1002220423y1af89583tc2faf0f4e7129f32@mail.gmail.com> Queued mail for delivery"
2010
2010-02-22 14:23:47 1NjXKE-0006rl-2z Completed
henk
hertoner: both are fine.
hertoner
I'm using gmail for smtp service. But when i sent it on roundcube, it does not work too.
henk: yes seems so
henk
hertoner: read the smart questions howto, ask a sensible and understandable question and perhaps get help. all you are saying all the time is "it does not work"
hertoner
henk: I dont know how to explain it with different way. I checked logs, it looks ok.
henk
hertoner: ARGH! why do you think i tell you to read the smart questions howto?
to LEARN how to explain
hertoner
henk: if there is no error log in mainlog, What do you expect me to say ?
henk
hertoner: i expect you to STFU and go read the howto.
hertoner
henk: is it related to headers?
because when i sent it like respond, I can send it succesfully..
henk
hertoner: you still haven't described your problem or the symptoms properly.
and i'd bet you still haven't read the smart questions howto...
linnicks
my friends, I want to use wild cards with email aliases e.g. *.jackson: jacksonfamily@localhost - is this possible?
rather than to add multiple entries e.g. john.jackson:, paul.jackson, matthew.jackson, ringo.jackson etc.
djce
linnicks: certainly it's possible. /how/ depends on your setup, but in general you'd want to change whatever router is currently handling the aliases file to use something like "nwildlsearch" instead of "lsearch".
         

linnicks
ah, so in 'system_aliases' I have: 'data = ${lookup{$local_part}lsearch{/etc/aliases}}'
hmm, that didn't work
I'm trying to find documentation on this - professor Google is failing me
djce
exim.org -> documention -> specification
linnicks
yes, I've had a look at that and found some articles mentioning wild cards but they seem to concern the domain part of the email address
also, 'partial matching' turns up some info but it all seems so unclear for some reason
djce
If you have a specific question I can try answering it...
linnicks
I want to use this alias: *eve*: as a catch-all for e.g. steve@, steve.smith@ steve.s@ etc.
so a typo like asteve@ will go to steve@
djce
ok. so, what you'd do is change the lsearch to nwildlsearch
and then add an entry to aliases a bit like this:
"^.*eve.*": whatever
The reason being that exim allows "*something" as a shortcut for "ends with",
but if you want something more complex you have to write it as a regular expression.
http://exim.org/exim-html-current/doc/html/spec_html/ch09.html#SECTsinglekeylookups
see the section on wildlsearch / nwildlsearch
linnicks
so, ^ marks the beginning of the pattern, what marks the end?
djce
"^" just tells exim it's a regular expression. The end is implicitly the ":", which is the end of the key.
linnicks
understood. So I'm interested in: /etc/exim4/conf.d/router/400_exim4-config_system_aliases ?
Jman574
I've got a strange problem - some of my clients connecting with outlook simply don't authenticate on smtp even though it's setup correctly
Has anyone had this problem before?
djce
Ah. Now that I can't tell you - I don't understand the Debian-esque config system.
linnicks
djce: ok, cheers - I'll give it a go
matott
Is it possible to disable incoming smtp connection in exim?
I simply want exim to accept local messages and relay them to a smart host.
henk
very probably.
matott
henk: How?
henk
matott: perhaps there is a setting, but you could just deny all connections in the acls...
matott
henk: I tried an empty list for ports and interfaces, but it didn't work.
henk: I'll ask a more detailed question on the mailing list once I find the time, if this is a hard problem. I just though an exim guru could recall the answer to my questions from memory in a few seconds.
henk
matott: the connect acl is only used for smtp connections. i figure a 'deny' or 'reject' there should do, but i'm definitely not an exim guru... you might want to wait for someone else.
motaka2
is there anyone there?
CunningPike
"Nobody", said Rabbit.
motaka2
CunningPike: can u explain me something?
whats the difference between IMAP and SMTP?
CunningPike
motaka2: How much have you read on the subject?
motaka2
CunningPike: i know what it is now
i am now trying to play with configurations of exim
where are the error logs of exim located?
matott
server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
seems to yield no
I set tls_tls_advertise_hosts = * tls_certificate and tls_privatekey
motaka2: Depens on your distribution
motaka2
matott: well now i am on ubuntu trying to connect to my server which is centos and is a VPS
matott: does that help?
matott
motaka2: I don't know about CentOS, but on Debian the errors are reported in /var/log/exim4/paniclog.
motaka2: But the errors could as well be sent to syslog.
motaka2: Then there's a good chance that they are in /var/log/mail.err.
motaka2
matott: is there a way to see the times in which the mail server didnt work or encountered any kind of prob so it was needde to be restarted
?
matott
motaka2: But you should be very careful when playing around with an smtp that connected to the internet. Make sure that it doesn't turn into an open relay, because otherwise your IP address might be blocked.
motaka2: Use logwatch or so to watch the log files. Usually if the server crashes, it's not restarted, but you may be able to configure it that way.
cusco
hi
motaka2
matott: i dont have any idea how to do so, it not more than 15 mins that i have learned to connect to WHM through SSH from my Ubuntu local machin
matott
motaka2: I use monit to monitor if all daemons are running, but it makes not much sense for e-mail servers, because it sends you the reports via E-Mail, so you need a second smtp server.
cusco
I was wondering...
can Exim4 store emails in a MySQL DB instead of files on the hard drive?
matott
motaka2: That's not a good starting point. You shouldn't rent a VPS that connected to the internet if you don't have an experience.
cusco: Yes.
motaka2
matott: i havent, i was a simple PHP programmer , i became suddenly the IT manager
matott
cusco: I believe I read it in some virtual hosting article. You need to pipe into a programme that stores it in an MySQL DB.
cusco: But you also need an imap server which fetches the mail from the database. dovecot doesn't support this afaik.
motaka2
matott: whats the best way to study about exim?
matott
motaka2: I asked myself this two days ago (when I never configured exim) and just read parts of the specification.
motaka2
matott: is that a good mails server , the Exim i mean
matott
motaka2: There's a book about exim, if this helps you.
motaka2: I haven't found any better. I used postfix and sendmail. qmail may also be worth a try.
motaka2
i think that would be hard to do all together
matott
motaka2: For me it's important that exim works with dovecot (delivery and authentication).
motaka2: I suggest to simply outsource our smtp server, so that a company that has experience cares for your mail server, if you think configuring it yourself is too hard.
motaka2
matott: i didnt undersand you last sentence
matott
motaka2: Find a company that offers mail server (gmail, fastmail, pobox, ...) which manages your e-mails for you, if you think the exim configuration is too hard for you.
motaka2: Often big E-Mail providers in all contries offer to manage E-Mail on our domain for you, so you don't have to worry.
motaka2
you think gmail will do that?
matott
motaka2: Yes, they do.
motaka2: http://www.google.com/apps/intl/en/group/index.html
motaka2
matott: thank you i am thinking of storing the emails of the forms in the database too
ki__
Hello. We send out registration emails and they are being blocked by a yahoo hosted domain (IE: Yahoo's servers). I am looking for confirmation of this in the logs, but have been unable to find what I would expect. (I am used to sendmail logs). The most error information I am getting from the exim logs are: 2010-02-22 12:04:10 1NjeVm-0005z3-1J <= <> R=1NjeVm-0005z0-0R U=mailnull P=local...
...S=1219 T="Mail delivery failed: returning message to sender"
matott
motaka2: I don't understand what you mean.
ki__
I am trying to find the information that yahoo's servers gave back specifically when they were given the email in the first place
motaka2
matott: i mean the customer fills the online form and submits it i first store the data in database then i will also send an email too
matott
motaka2: Storing this data is indepented of sending an E-Mail.
motaka2: So you shouldn't have a problem.
motaka2
matott: yes, thats why i like to store the data in database too
« prev next »