Re: [exim] Delting HTML attachments

2013-04-05 Thread Marcin Krol
MTA can't do anything to message, it's religiously verboten". Next installment: why PHP does not belong in Apache. It's WRONG to do that, really, on basis of simple philosophy, you see. 3. "Mail Editing Agent" (with doublequotes) does not even show up in Google. Regard

Re: [exim] Delting HTML attachments

2013-04-05 Thread Marcin Krol
simply stale and would not develop further, just like email is essentially in state of arrested development. And is there something sacred in basic Web design or mail design? Both are highly arbitrary, we just got used to this state of things and now invent shallow and specious rationalizations w

[exim] reading in a list from a file

2010-06-08 Thread Marcin Krol
Hello everyone, Is it possible to read in an Exim list from a file? Specifically I need to read a domain list from a file. -- Regards, mk -- Premature optimization is the root of all fun. -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www

[exim] Searching through a domain list in a condition (string expansion)

2010-06-08 Thread Marcin Krol
Hello everyone, Is it possible to do some lookup a la lsearch on an Exim list? Specifically: domainlist some_domains = domain1 : domain2 I have a condition in ACL like this: condition = ${if eq{${lookup{$sender_address_local_part} lsearch{/etc/passwd} {true}{false} }} {true} } Now I need to

[exim] Filtering for some real users AND some spamtrap users

2010-06-07 Thread Marcin Krol
Hello everyone, I have encountered somewhat difficult problem and would appreciate help with this. I have spamtrap addresses in /etc/exim4/spamtraps. Generally, I want to collect such mail: I'm feeding a statistical filter with this. I have an ACL like this: accept recipients = lsearch;/etc/e

Re: [exim] Silly situation - reprocess mail in queue

2009-05-08 Thread Marcin Krol
W B Hacker wrote: > - a set of 'characteristics' or administrative information, including > acl_m variables, and whether it has delivered the 'nth' copy of a > mult-recipient message, etc. > > Should be safe to do a CP -Rp of the whole queue structure. Done. Now what? > 'How to' best feed them

[exim] Silly situation - reprocess mail in queue

2009-05-08 Thread Marcin Krol
Hello everyone, I have a 'backup' host configuration which accepts the mail when the server with higher MX is down: manual_route: transport = remote_smtp driver = manualroute domains = +relay_to_domains route_list = btw2.pl 77.253.234.172 ; btw2.eu 77.253.234

[exim] Retries working incorrectly?

2009-03-03 Thread Marcin Krol
happened, the main company link went down for 2 hrs and the backup server did deliver all the mail after the link was repaired, but according to logs it was retrying delivery of queued mails every 30-40 minutes. Why? What other settings may impact retry frequency? Regards, Marcin Krol

Re: [exim] Condition in ACL

2009-01-15 Thread Marcin Krol
h:/etc/exim4/nosv_domains_whitelist ... begin acl acl_svwl: accept sender_domains = +nosv_domains_whitelist require verify = sender/callout=120s,defer_ok accept ... In acl_check_rcpt: require verify= sender acl = acl_svwl Regards, Marcin Krol -- ## List det

[exim] accepting mail from nonexistent domain

2008-12-18 Thread Marcin Krol
Hello everyone, I have this ACL: begin acl acl_svwl: accept sender_domains = +nosv_domains_whitelist accept recipients = lsearch;/etc/exim4/nosv_recipients require verify = sender/callout=120s,defer_ok accept ... require verify= sende

Re: [exim] scanning at ACL using external program

2008-12-11 Thread Marcin Krol
t one, but two processes: first for spamc as transport filter and then exim -oMr spamscanned to reinject the mail. > However, if I did want to do that, I'd use ${run...} as an expansion. > Carefully. Hmm. I will consider it - carefully. :-) Regards, Marcin Krol -- ## List details at htt

Re: [exim] scanning at ACL using external program

2008-12-10 Thread Marcin Krol
ROGERS Richard wrote: > Have you tried sa-exim? I think it will do everything you want. (Saying > that, I'm not sure what its status is as > http://marc.merlins.org/linux/exim/sa.html gives me a 403 error. > However, I got an RPM from another site that is working fine with Exim > 4.62) Oh I am usi

Re: [exim] scanning at ACL using external program

2008-12-10 Thread Marcin Krol
it with Exim) does not allow doing it at SMTP time. Scanning with external program runnable from ACL is the most straightforward, and IMHO the best way of dealing with it. Hence my (original) question. Regards, Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ##

Re: [exim] scanning at ACL using external program

2008-12-10 Thread Marcin Krol
Sander Smeenk wrote: > Quoting Marcin Krol ([EMAIL PROTECTED]): > >>> Exim can then make whatever headers you wish.. >> ..except it's rather hard to add a header like this using Exim's builtin >> features: >> X-Spam-Status: Yes, score=15

Re: [exim] scanning at ACL using external program

2008-12-10 Thread Marcin Krol
BOTNET_IPINHOSTNAME,HTML_MESSAGE,URIBL_BLACK,URIBL_JP_SURBL autolearn=spam version=3.2.3 Which is exactly the header I want. This header is readily added by spamc. Frankly, spamc or other external script/client is a proper place to generate this kind of information. Regards, Marcin K

[exim] scanning at ACL using external program

2008-12-10 Thread Marcin Krol
these days, I am not entirely happy with headers generated (those added by spamc are much nicer from my POV). Regards, Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list -

[exim] Duplicate Exim instances handling emails

2008-02-13 Thread Marcin Krol
quot;Exim child processes segfault" thread, but I semi-fixed it by changing Exim compilation flags - but still, it isn't pretty and more importantly, it can potentially cause some bigger problem. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ##

Re: [exim] Exim child processes segfault

2008-02-08 Thread Marcin Krol
Friday 08 February 2008 12:53:15 Tony Finch napisał(a): > On Fri, 8 Feb 2008, Marcin Krol wrote: > > > > I get very disturbing effect on one of my hosts (Debian Etch), from time > > to time exim creates lots and lots of (child?) processes, they all bog down > > the

Re: [exim] Exim child processes segfault

2008-02-08 Thread Marcin Krol
Friday 08 February 2008 12:53:15 Tony Finch napisał(a): > On Fri, 8 Feb 2008, Marcin Krol wrote: > > > > I get very disturbing effect on one of my hosts (Debian Etch), from time > > to time exim creates lots and lots of (child?) processes, they all bog down > > the

[exim] Exim child processes segfault

2008-02-08 Thread Marcin Krol
--- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 17663 resumed Process 19745 detached And so it runs in loop until I kill Exim. Regards, Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Double quotes in transport command

2008-01-07 Thread Marcin Krol
quotes, backslash is interpreted as an escape character in the usual way. But even if I use -j "\"$h_subject\"" ..the effect is still the same. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.or

Re: [exim] Building Exim in a VServer

2007-12-22 Thread Marcin Krol
en("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "make: ", 6) = 6 write(2, "*** [go] Error 2", 16)= 16 write(2, "\n", 1) = 1 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 close(4)= 0 read(3, "+", 1) = 1 read(3, "", 1) = 0 close(3)= 0 chdir("/usr/local/exim-4.69") = 0 close(1)= 0 exit_group(2) = ? -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] Building Exim in a VServer

2007-12-22 Thread Marcin Krol
e vunify? I look for virtual server technology where I can successfully and economically run separate email server installations. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] Building Exim in a VServer

2007-12-22 Thread Marcin Krol
yes TLS_LIBS=-lssl -lcrypto TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto TLS_INCLUDE=-I/usr/local/openssl/include/ -I/usr/kerberos/include EXTRALIBS=-static INFO_DIRECTORY=/usr/share/info LOG_FILE_PATH=/var/log/exim/%slog EXICYCLOG_MAX=10 COMPRESS_COMMAND=/usr/bin/gzip COMPRESS_SUFFIX=gz ZCAT_COMMAND=/usr/bin/zcat EXIM_PERL=perl.o NO_SYMLINK=yes LOG_DIRECTORY_MODE=0755 LOG_MODE=0644 PID_FILE_PATH=/var/run/exim.pid SUPPORT_MOVE_FROZEN_MESSAGES=yes HAVE_ICONV=yes CFLAGS=-O -I/usr/local/include EXTRALIBS_EXIM=-L/usr/local/lib -liconv -export-dynamic -ldl EXPAND_DLFUNC=yes -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Building Exim in a VServer

2007-12-21 Thread Marcin Krol
hitelist_domains whitelist_hosts whitelist_senders limit usage #rm -rf /usr/local/exim-4.68.tar.gz --><- -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Debugging router "condition"

2007-12-20 Thread Marcin Krol
} file = /home/${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainowners} {$value}}/.out unseen copy_in_virtual_domain: driver = redirect condition = ${if and { \ { !eq [EMAIL PROTECTED] {${readfile{/home/${lookup{$domain}lsearch*{/etc/virtual/domainowners} {$value}}/

[exim] unseen router for incoming mail

2007-12-18 Thread Marcin Krol
${if and { \ { exists{/home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}/.in} } \ { !eq {$received_protocol} {filtered} } \ } \ } file = /home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}/.in unseen -- Ma

Re: [exim] Transparently faked domains

2007-11-21 Thread Marcin Krol
nts if revdns was lacking there. *something/someone* should get them to clean up their act, because their mess is where spammers hide. > If you have a problem with your DNS server, or a network problem makes > your resolver unable to do lookups to certain parts of the internet, > you&

[exim] Transparently faked domains

2007-11-21 Thread Marcin Krol
this could be used for things like increasing SA score or doing fakereject in Exim. Could this work? Pros? Cons? -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] mailgraph.py - producing mail traffic graphs using Exim logs

2007-11-17 Thread Marcin Krol
Hello everyone, Bugfixes, v0.2 now: http://python.domeny.com/mailgraph.py - fixed issue with leaving temporary file around if gzipped logs were used - significantly reduced memory usage -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details

[exim] mailgraph.py - producing mail traffic graphs using Exim logs

2007-11-16 Thread Marcin Krol
: - Python 2.4+ - Gnuplot 4.0+ TWDT: http://python.domeny.com/ -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] Root issues

2007-11-02 Thread Marcin Krol
;s hard to detect for someone who "just uses" this software without dwelling a lot on its internals what and where went wrong. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Root issues

2007-11-01 Thread Marcin Krol
d arguments? P.S. UNIX security model sucks. :-( They really should have implemented ACLs instead of root / user model. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] (Temporarily) defer ALL incoming e-mails

2007-10-29 Thread Marcin Krol
Hello everyone, Is there a simple way of making Exim say to all inbound mailservers say smth like: 422 Maintenance, please try again later exim.org is dead meat at the moment, I can't even search the docs.. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo

Re: [exim] OT (Kinda) - List just slow these days?!

2007-10-15 Thread Marcin Krol
.. Donations, anyone? A little fund-raising? ;-) -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] Wishlist item prop. - logical conditions in string expansion

2007-10-15 Thread Marcin Krol
Hello Phil, > On 2007-10-15 at 17:15 +0200, Marcin Krol wrote: >> Every RBL had to have those 3 conditions tested again right after >> previous RBL verb tested them, so I decided to consolidate condition >> lines into a single user variable and this is what I ended up wit

[exim] Wishlist item prop. - logical conditions in string expansion

2007-10-15 Thread Marcin Krol
Hello everyone, I'd like to propose / ask if the following could be added to Exim wishlist: 1. A user can't use directly functions like lookup in and{}, or{}. Since "lookup" can return different values, it could return Boolean true and false as well, and those values could be used in logical conj

[exim] Bad greylisting

2007-10-01 Thread Marcin Krol
IL PROTECTED] R=lookuphost T=remote_smtp defer (-53): retry time not reached for any host Could that be the case, i.e. could connection drop by remote host right after issuing 4xx result in inability of Exim to deliver the message? If so, is it possible to configure Exim to get around this proble

[exim] ratelimit DB

2007-09-27 Thread Marcin Krol
5s domeny_acl_smtp_quit: accept condition=${if eq{$authentication_failed}{1}} ratelimit = 5 / 4h / badauth:$sender_host_address log_message = -BAD-AUTH: $sender_host_address domeny_acl_smtp_notquit: accept condition=${if eq{$authenticati

Re: [exim] Increasing buffer for command =

2007-09-24 Thread Marcin Krol
il Since this script does my custom spam filtering, I really, really need all those variables, in fact I'm going to need more of them. Esp. $pipe_addreses might be _really_ long list, considering what some mailing list software we have to host is doing - it often tells Exim to deliver a mail wi

Re: [exim] shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

2007-09-24 Thread Marcin Krol
Hello Heiko, > What does "pwd -P" tell you (if you've /bin/bash). What happens if you > "cd ." or "cd `pwd`"? I rebooted the host and the message while restarting is gone. What the?! -- Marcin Krol -- ## List details at http://lists.exim.org/mailma

Re: [exim] shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

2007-09-24 Thread Marcin Krol
/root > > What happens if you > "cd ." or "cd `pwd`"? The same, I stay in /root. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

2007-09-24 Thread Marcin Krol
Hello everyone, I have increased PROCESS_INFO_SIZE to 1024 bytes and the "string overflowed buffer" message is gone, but now I get error like in subject while restarting Exim... -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim

[exim] Increasing buffer for command =

2007-09-24 Thread Marcin Krol
y undesireable side effects you can think of? macros.h: #define PROCESS_INFO_SIZE 256 I have some experience in C coding but nothing approaching the size and complexity of Exim... -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at htt

Re: [exim] HELO/EHLO reject rates

2007-09-24 Thread Marcin Krol
ittle idea how to organize Exim detecting no revdns part. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] string overflowed buffer

2007-09-24 Thread Marcin Krol
Hello everyone, P.S. It's a serious problem for me, because my mailing lists don't work if this error message appears in logs while trying to deliver to mailing list recipients on that host. > I get the error like in subject while delivering message to pipe (in a > transport). > -- Marcin Kr

[exim] string overflowed buffer

2007-09-24 Thread Marcin Krol
Hello everyone, I get the error like in subject while delivering message to pipe (in a transport). lookup yielded: da7 direct command after expansion: argv[0] = /etc/domeny/mailfilter argv[1] = -u argv[2] = da7 argv[3] = -d argv[4] = da7.promo.pl argv[5] = -l argv[6] = "tdp" argv[

Re: [exim] String expansion - deleting everything but a specified set of characters from string

2007-09-18 Thread Marcin Krol
Hello Ted, > You're going to end up with filenames longer than your file system can > handle. I created a monster: maildir_tag = T=${length_50:${sg{${sg{${from_utf8:[EMAIL PROTECTED]&*()~{}\[\]\|"'`;\:/\?<>,\.]\N}{}}}{ +}{_}}}-S=$message_size It works but d

[exim] exim.org - searching docs/spec

2007-09-18 Thread Marcin Krol
sts on exim.org would be very convenient. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] String expansion - deleting everything but a specified set of characters from string

2007-09-18 Thread Marcin Krol
([a-zA-Z0-9]+)\N}{\$1\$2\$3\$4}} But this is not much better really. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] require in acl EXCEPT for a particular recipient

2007-09-18 Thread Marcin Krol
pamtrap is nonexistent. Since I'm a lazy bastard (and partially out of curiosity), I would like to know if there's a way to make Exim create that directory too, if it doesn't exist. Anybody? -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users

Re: [exim] require in acl EXCEPT for a particular recipient

2007-09-17 Thread Marcin Krol
mtrap_addresses file, $acl_m_somevariable gets set and then a router preceding "lookuphost" could be configured that passes the message on to local delivery depending on $acl_m_somevariable? Or is there some simpler way to do it? -- Marcin Krol -- ## List details at htt

[exim] require in acl EXCEPT for a particular recipient

2007-09-17 Thread Marcin Krol
Hello everyone, Suppose I want the following ACL to verify sender except for certain recipient addresses (as you might guess, those are spamtraps): So I converted this acl (called from within acl_smtp_rcpt): acl_nsvdom: accept condition = ${lookup {${lc:$sender_address_domain}} partial1-

Re: [exim] Making Exim does not include IPs of the original sender....

2007-09-17 Thread Marcin Krol
Peter Bowyer pisze: >> >> The user in question is not a spammer, she sent mail from 213.158.196.99 >> (smtp client) via clean MX hosted by us (mail.spbs.pl), and yet the mail was >> rejected bc the today she got dynamic IP that happens to have been blocked >> by Spamcop in the past week. >>

Re: [exim] Making Exim does not include IPs of the original sender....

2007-09-14 Thread Marcin Krol
Magnus Holmgren pisze: > On Thursday 13 September 2007 19:47, Alejandro Lengua wrote: > > Most dynamic IPs from ADSL providers are in blacklists, therefore > when they > > send > > emails from my email server, their emails are bounced even if my mail > > server is not blacklisted. > > Is there a wa

Re: [exim] Weird SMTP auth issue

2007-09-14 Thread Marcin Krol
John Jetmore pisze: > Can you post your config? I don't think what you posted alone will > allow anyone to see what's happening. Here's entire config: perl_startup = do '/etc/exim.pl' system_filter = /etc/system_filter.exim daemon_smtp_ports = 25 : 587 av_scanner = clamd:/var/run/clamav/c

Re: [exim] Weird SMTP auth issue

2007-09-13 Thread Marcin Krol
ev/null remote_smtp: driver = smtp address_pipe: driver = pipe return_output virtual_address_pipe: driver = pipe group = nobody return_output user = "${lookup{$domain}lsearch* {/etc/virtual/domainowners}{$value}}" address_file: driver = appendfile delivery_date_add env

[exim] Weird SMTP auth issue

2007-09-13 Thread Marcin Krol
Hello everyone, I have a situation with SMTP auth that is theoretically impossible - I have this domain hosted that is definitely not an open relay (no tests show that it is open), yet it seems that in a peculiar situation some mail can be relayed without authentication, or at least logs say so:

Re: [exim] Using exim -Mvc in ACLs

2007-09-10 Thread Marcin Krol
15]:2288 helo=[192.168.1.30]) by da2.domeny.com with esmtpa (Exim 4.67) (envelope-from <[EMAIL PROTECTED]>) id 1IUhjS-000MZQ-7J for [EMAIL PROTECTED]; Mon, 10 Sep 2007 13:47:10 +0200 Message-ID: <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2007 13:48:20 +02

[exim] Laying out a spamtrap

2007-09-06 Thread Marcin Krol
Hello, This is slightly OT, but only slightly I believe - I connected statistical filter to Exim, but am lacking spam stream to feed it. I have published spamtrap addr on some webpages and posted the web and e-mail addresses to test Usenet newsgroups, over a month has passed and still no spam is

Re: [exim] Fake ACCEPT (ahem)

2007-08-23 Thread Marcin Krol
Dave Evans pisze: > This is fine, but ONLY if you send the message to the correct person, which is > usually NOT <$sender_address>. Alas in most environments you won't know who > to send it to! > > Do NOT automatically send messages to <$sender_address>! Well of course that would generate mostly

Re: [exim] Fake ACCEPT (ahem)

2007-08-23 Thread Marcin Krol
John Hall pisze: >>> But why would you want to accept and silently discard mail? If the mail >>> contains a virus, don't you think it's better that the sender is told so? >>> >> No! That causes collateral spam! Think faked sender... >> > > Not if you're rejecting during the SMTP trans

[exim] Fake ACCEPT (ahem)

2007-08-23 Thread Marcin Krol
Hello, OK, so as some of you may know, clamav now features filtering out phishing and/or spam as well. The problem is this generates rather unreadable reject messages: SMTP error from remote mail server after end of data: host mail.da4.promo.pl [83.149.102.11]: 550 Wirus (virus): Ema

Re: [exim] Exim creates mail if connections is dropped from client?

2007-08-17 Thread Marcin Krol
;command" in the transport dutifully delivers what it got from filter, i.e. empty mail. Run exim -d -v [EMAIL PROTECTED] to find out. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki

Re: [exim] transport_filter for just a redirect?

2007-08-17 Thread Marcin Krol
" group = mail home_directory = "/tmp" log_output message_prefix = message_suffix = return_fail_output no_return_path_add user = mail This pipes a message into a command. -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] question about exim and spamassassin

2007-08-14 Thread Marcin Krol
Mostafa M.Fouad napisał(a): > that when a message detected as a spam it automatically update the ip address > into the file exim_access_list, even through external perl script > so the next time i recieve spam from the same source it can be blocked from > the connection time...and hence reduce th

Re: [exim] 421 SMTP incoming data timeout - message abandoned (local delivery!)

2007-08-14 Thread Marcin Krol
Thomas Hochstein napisał(a): >> Intermittently I get errors logged like in subject while mail is locally >> spam-scanned (traditional method of external scanning and the mail >> filter re-injecting the message with exim -oMr spam-scanned -bS). >> > > Why don't you do it during SMTP-time? >

[exim] 421 SMTP incoming data timeout - message abandoned (local delivery!)

2007-08-13 Thread Marcin Krol
age_prefix = message_suffix = return_fail_output no_return_path_add transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}} use_bsmtp user = mail # must use a privileged user to set $received_protocol on the way back in! -- Marcin Krol --

Re: [exim] moving spam to a different folder

2007-08-09 Thread Marcin Krol
alexis napisał(a): > So what i want to to is to move out the marked spam to a different > folder reachable by imap and leave the inbox that read's the pop3 > clients with the non marked email. > You could use user filters and a redirect filter: domain_filter: driver = redirect allow_filter

[exim] String expansion in transport filter

2007-08-08 Thread Marcin Krol
domain -l \"$local_part\" -s $message_size -a $sender_address -m $message_id -c $rcpt_count -t $received_protocol -e /home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs -p $pipe_addresses use_bsmtp user = mail Does anybody

[exim] String expansion

2007-08-08 Thread Marcin Krol
plain file that is written by external closed-source software package) -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Trouble with $recipients

2007-08-06 Thread Marcin Krol
re processing high volumes of mail, it all adds up. Am I really limited to hand-coding local_scan() extension in C if I want to do it the right way? -- Marcin Krol -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

Re: [exim] Sender callout verification with warning only

2007-07-06 Thread Marcin Krol
Phil (Medway Hosting) napisał(a): >> I tend to consider them as a way of reducing spam, and everything that >> does is for the Greater Good, IMO. Also, I'm quite happy to receive this >> kind of requests at our server, so I'll happily use them myself - >> according to some principle we read in some

Re: [exim] Sender verify at extreme

2007-07-06 Thread Marcin Krol
Jethro R Binks napisał(a): > I am somewhat near the fence on this issue, so I err on the side of > caution and do not do callouts to arbitrary domains. I can see both > points of view: I can see the value of callouts and the benefits to the > would-be recipient, but I also see the damage that

Re: [exim] Sender callout verification with warning only

2007-07-06 Thread Marcin Krol
Phil (Medway Hosting) napisał(a): > Do you realise that callouts are considered abusive in anti-spam circles and > are often used in certain forms of ddos attacks ? Using "collateral callout" for DDOS to attack host B seems kind of pointless, because the attacker is sending spam to the host A that

Re: [exim] Sender verify at extreme

2007-07-06 Thread Marcin Krol
Graeme Fowler napisał(a): > However, they can be extremely useful in cases such as hosting farms, > dedicated server providers and colos where all the mail goes out through > a smarthost - calling back to *your own network* to check whether or not > a sender is valid is very useful indeed. > The

[exim] Sender verify at extreme

2007-07-05 Thread Marcin Krol
/etc/exim/wildcard_whitelist_domains} {yes}{no}} It is fulfilled, because the wildcard domain "*.playfoto.pl" is added there (and I have tested it in case of domains that have good MX but where sender verify fails for some other reasons, like greylisting). Therefore, correctness of M

Re: [exim] Delays on RCPT TO: in 4.67

2007-05-17 Thread Marcin Krol
83.149.101.180 but without any ident (RFC 1413) callback. This is not for real! ... >>> processing "deny" >>> check dnslists = opm.blitzed.org >>> DNS list check: opm.blitzed.org >>> new DNS lookup for 180.101.149.83.opm.blitzed.org

[exim] Delays on RCPT TO: in 4.67

2007-05-17 Thread Marcin Krol
Hello, We have upgraded from 4.66 to 4.67 and a very weird effect appeared: when normal SMTP session is started, Exim hangs for some 30 seconds up to 2 minutes on RCPT TO:. There is no delay on RCPT TO: when session is started from localhost, and there's always a delay when session is started fro

Re: [exim] sender callout mail_from change

2007-02-23 Thread Marcin Krol
rect response for the OP is to get the admin of the offending > broken mail server to fix it. Failing that, exempt it from callouts. defer_ok in the sender callout seems to work as well, but it makes the sender verification weaker, doesn't it? Suppose this scheme becomes widely availabl

[exim] Feeding Exim Queue IDs into another program / file

2006-12-20 Thread Marcin Krol
Hello, Is it possible to get Exim router or transport acquire and record queue ID this router / transport is processing (or possibly pipe queue ID into another program)? Let's say we have a router like this: domain_filter: driver = redirect allow_filter no_check_local_user condition =

[exim] Omit RBL check for SASL authenticated users

2006-11-22 Thread Marcin Krol
Hello, Due to terrible problems with spam we had to use RBLs (yes, I know, it's not very good solution but it helps in the meantime until we roll out smth better). I tried to make Exim aware that SASL-authenticated users should not be subject to checking by RBLs by adding this line: accept

[exim] exiqgrep or queue handling broken?

2006-10-31 Thread Marcin Krol
Hello everyone, On one of our machines (only one!) the queue processing of Exim seems not to work properly and whatever I do with exiqgrep I get: da3 /var/log % exiqgrep -o 1 Line mismatch: 224d 1FLcig-0006Dg-5S exiqgrepping anything with any option always gives me the above message. Int

Re: [exim] system_filter

2006-10-27 Thread Marcin Krol
Thanks for reply, Tim, that was informative. Tim Jackson napisał(a): > OK, before we go into any more detail, the main issue is that you are > using an "attachment blocking" system filter which is based on one > written by Nigel M and: > > - is over 5 years old > - was a hack at the best of tim

Re: [exim] system_filter

2006-10-26 Thread Marcin Krol
hen when you have found one that is getting caught by the filter test > the filter with that message using exim *-bF > * OK, thanks > * > * > > On 26/10/06, *Marcin Krol* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > Hello everyo

[exim] system_filter

2006-10-26 Thread Marcin Krol
Hello everyone, I'm an Exim newbie, so please don't get annoyed if issues I raise seem obvious to you. :-) I get some legitimate mail discarded by Exim system_filter and the only effect visible in logs is this: /var/log/exim/mainlog.1:2006-10-24 12:22:34 1GcJQR-000DuK-WD => discarded (system