logs archiveIRC Archive / Freenode / #exim / 2009 / November / 25 / 1
MariusAZ
Anyone know what causes "Recipient address rejected: User unknown in local recipient table; "
JSM87
Hi guys, trying to send email through exim using php smpt script. Im getting relay errors but no idea why as I am logging in using a valid user and password?
Hi, I have a cpanel server with exim 4.69 installed. I guess I have to configure DKIM manually. Does anyone have a good reference to do this?
centos
ksnp
anyone here ?
i am trying to do some string manipulation to automatically delete mails not within a specified list or that are spam and it works with exim -be but not in the main config
WaFFeN
hi
how can i monitoring for exim mail statistic in centos
henk
eximstats?
WaFFeN
eximstats print at blackscreen , only durable mode now
henk
uhm, what? sorry, i don't understand.
WaFFeN
:)
eximstat command cannot watch a mail
ser
henk
do you want statistics or live status?
         

WaFFeN
yes that it is.
i wantlive status
henk
eximon
WaFFeN
exicyclog exim exim_dbmbuild exim_fixdb eximstats exinext exiqsumm exiwhat
exigrep exim_checkaccess exim_dumpdb exim_lock exim_tidydb exiqgrep exit
eximon not listed
henk
so?
WaFFeN
outgoing incoming e-mail statistics only want to know
henk
perhaps you need to install it then...
WaFFeN
bazý e-postalar gelmiyor sunucu almýyor bunun nedeni ne ?
some e-mails not coming because the server does not receive what?
henk
omg are you using a translator?
your "english" is totally unreadable and it is impossible to have a sensible conversation about a topic as complex as mail. good luck...
WaFFeN
:))
thanx
zach--
hey guys what on earth does this mean? var/log/exim_paniclog:2009-11-25 00:45:05 1NDBa1-0005Qh-Br appendfile transport process returned non-zero status 0x000e: terminated by signal 14
i know sig14 is segfault but ... why?
well ALRM
phx
i'd run a memtest first
zach--
that's a good idea
phx
any other process doing this also?
zach--
not that i've seen
phx
mhm
Mikeh
Where can I find exim configuration for connection limits
I'm trying to setup a backup mx, and during testing I'm not getting 451 from the primary exim server.
*now
phx
in the documentation
zach--
also, regarding the mode = 0660 in the appendfile driver, what if the perms on that dir are 0770, would that cause such a failure?
phx
i would expect an error message in that case
zach--
no such luck on that
just syslog that you saw
         

ttw
newbie with exim. everything looks good but all received messages get frozen and i need to run 'exim -qff' to get the local delivery to complete
would love any suggestions
phx
check logs
ttw
thought it might be something to do with a content scanning option (i.e. holding for scanner to manually release) but can't see anything related to that in my configuration or the documentation
phx: ok
hmmm. ugly. can't change uid/gid but the setuid root is set. is this an AIX thing? ? going to look.
delta with aix :-( doesn't allow setuid unless euid is root. hacky,hacky,happy
phx
isn't there a patch for that?
ttw
phx: must be somewhere but easier to just do it
although done a few googles around aix setuid exim
i'm guessing that it may work on later (or perhaps earlier) versions of AIX
phx
honestly, i've got no experience with aix
ttw
phx: and i've obviously not enough ;-)
fireflyseo
Hi all
How do I get exim to send a test mail?
xmail thingy
?
henk
xmail thingy?
what xmail thingy?
fireflyseo
I might be saying the wrong thing
Um, I am trying to send a test mail
henk
use swaks, or telnet, or mutt, or mail
fireflyseo
Just to check my the forwards in my /etc/aliases file are working.
henk
use swaks, or telnet, or mutt, or mail
fireflyseo
:( but I want to use gmail
henk
whatever the fu*k are you talking about?
i'm not sure whether SA or exim adds the X-Spam headers to my mails. how can i check if exim does it? where would that have to be done?
smtp_acl_connect is the first acl when a new smtp connection is opened, right?
phx
it depends on your configuration
sa-exim or exiscan?
henk, yes on the acl. however, what about reading the docs?
henk
phx: i always confuse those two :-/ i think exiscan.
phx: i am reading the docs, just didn't find that part yet.
phx
are you using the spamd_address= ?
henk
spamd_address = 127.0.0.1 783
yup
phx
k
then exim does it
and you should really use X-YourAnything-Spam* stuff, maybe someone else also does some content scanning, you two shouldn't collide
henk
that's what's happening atm... :-/
where does exim add those headers? i have an acl statement checking for spam that has "message =" statements containig the X-Spam headers, but message doesn't add headers afaik...
phx
add_header
henk
phx: that's what confuses me. my conf does not contain that word. i just grepped...
phx
it's definitely add_header
henk
ok, then it's not exim adding the headers it seems...
but the comments in the conf say so too...
wait i'll paste them somewhere...
phx: http://paste.debian.net/52378/
phx
strange, message is what is written back to the peer
henk
exactly...
phx
omg, there is 4.71
http://exim.org/exim-html-current/doc/html/spec_html/ch40.html
btw, that seems debian
you can never know with debian
henk
yes, i have that file open... ok, for 4.69 because that's the debian version.
phx
sure
henk
hm, but it really looks like message adds a header if used with spam: http://wiki.exim.org/ExiscanExamples
phx
with warn, rather
henk
right
ok, so you are saying i should not use X-Spam_report but rather something like X-HENKspam_report or something?
phx
almost
X-Henk-Spamreport
henk
phx: why X-Henk-Spamreport and not X-HENKspam_report? what rules are you applying?
phx
i don't really know about any rules, but just think of it. which one can you read out more clearly, and identify?
henk
ah ok, so just common sense :)
phx
yeah
henk
good. i have some more questions regarding a sensible mail setup. i'd like to slow possible spammers down wherever possible. regarding smtp_acl_connect: i was thinking of doing reverse dns checks there and adding a delay if that's negative. same for dns blacklists. does that make sense?
phx
i think that will also slow down normal users setting behind a not-well configured network connection
at MAIL FROM: do a sender callout verification
that'll stop tons of spammers
also here, deny local domains from not authenticated peers
henk
i'd like to go step by step: 1. connect, 2. probably helo, 3. mail from
and i'm at step 1 atm :)
phx
don't do anything on helo
a really big amount of MTAs are broke helo-wise
at connect i'm doing denying peer, from which i've got more than 3 bad mails in the last 1 hour
as "bad mails" i mean non-verifable senders, using my local domains as senders, spamassassin catching them and similar things
henk
yes, it probably will affect badly configured ip setups, but it will only slow them down, i'm not going to reject because of this. the reverse dns should match, so the problem is not my checking but their setup, isn't it?
phx
yes
think of it
henk
yeah, i know they are, but that's again their problem and they are only being slowed down, so not really a problem, right?
regarding helo
phx
your phone will start ringing that a few of your clients have to wait 30secs at least to send a mail
well, as helo, i'm using deny if no hello was used
and i'm not checking the helo parameters, that's just pointless
and again, i would only check hello for unathenticated users, because i'm not playing with my clients, it's against spammers
and AUTH is after HELO
so it gets complicated
wanna check my config as an example?
henk
phx: this mailsetup can only become better and i'm using pretty aggressive delays atm already for everyone. i'm trying to have a delay of 0 (or close) for hosts with correct rDNS, correct helo, verifiable sender, ... but bigger delays the more of those things are wrong or not present.
the config i am talking about atm is only for MX servers. none of our customers are sending mails over this server.
so only "incoming" ;)
phx
that simplifies lots of things, yes
henk
oh yes :)
so, acl_smtp_connect is a good place for dnslists and reverse dns checks. anything else i could or should do or think of when using this acl?
muffnerf
i like to do such checks at _rcpt so i can see where mail i reject wants to go... generally _smtp_connect should not be used
henk
muffnerf: i'm not going to reject anything at this point, just add delays and perhaps add a variable telling the rcpt acl to reject it.
muffnerf
ok ;)
henk
can you recommend any blacklists? spamhaus is good afaihh
phx
i don't use any
usually once a host gets into any blacklists it already finished sending out the spams
henk
hm ok...
muffnerf
i use zen.spamhaus, and barracudacentral on one machine (which is a bit more aggressive but good) ... njabl also good ... i like using RBLs, they work well for me :>
henk
http://paste.debian.net/52392/ this is supposed to check for a rDNS and if negative send a message to the other server and delay for 5 seconds. after that the same happens for two blacklists independent of each other. the blacklist count in $acl_c_bl is increased by one if already set or set to 1 if not set yet. does that make sense to you? did i implement that correctly?
muffnerf: ok, thanks
behappy
Hello , how do I remove all queue emails old than 20 days ?i
vizzy
i only can tell you how to delete complete queue or frozen mails
delete queue: exim -Mrm $(mailq|grep \<|cut -c 11-27)
del frozen: exipick -iz | xargs exim -Mrm
i'm sure there are moe suitable ways :)
« prev next »