Re: [exim] SMTP timeout sending mail to gmail

2006-04-09 Thread Jakob Hirsch
Quoting Avleen Vig: I don't think that should be the case. If Daniel is sending packets larger than 400 bytes, it is his OWN router that should complain that the packets are too large before they leave the network. If Google/gmail is really blocking icmp fragmentation-needed (which I doubt),

Re: [exim] SMTP error: subscribers are not permitted to directly connect to this mail server

2006-04-14 Thread Jakob Hirsch
Quoting Menekhem M. Zviman: host gateway-r.comcast.net [204.127.198.26]: 550-69.250.247.7 blocked by ldap:ou=rblmx,dc=comcast,dc=net 550 Comcast.net subscribers are not permitted to directly connect to this mail server. Looks like the same as T-Online is doing: The MXs are not

Re: [exim] spam_score_int signed or unsigned?

2006-04-15 Thread Jakob Hirsch
Quoting W B Hacker: Can anyone confirm that spam_score_int is (and is intended to be) an *unsigned* integer? Of course not, many scores are negative, like your mail: X-Spam-Score: -2.6 (--) Oh, and please don't steal threads (last point of MailingListEtiquette). -- ## List details at

Re: [exim] lock file

2006-04-15 Thread Jakob Hirsch
Quoting Alex: Where place exim the lock file? It's been a while since I used mbox, but AFAIR the lock file is, by convention, put in the same directory as the mbox. Chapter 26 of the spec tells you how to enable locking. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users

Re: [exim] spam_score_int signed or unsigned?

2006-04-15 Thread Jakob Hirsch
Quoting W B Hacker: Steal threads *how* ?? I started a new one. No, you replied to a message in an existing thread, otherwise there would have been no References and In-Reply-To header. Still not sure where the negative spam score is coming from BTW low bayes score, whitelisting, whatever

Re: [exim] linefeeds in check_data acl

2006-04-15 Thread Jakob Hirsch
Quoting Marten Lehmann: can I tell exim to send the message to spamd or av_scanner using CRLF-sequences instead of just LF? For routers and transports there is looking at spool_mbox.c, I'd say no (apart from changing the code). But why would you want to do that? -- ## List details at

Re: [exim] TLS Problem #1

2006-04-21 Thread Jakob Hirsch
Doug Jolley wrote: My first problem is that in response to this: $ openssl s_client -connect localhost:25 -starttls smtp Which openssl version? see http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20060206/msg00072.html -- ## List details at

Re: [exim] run an MTA reliably without a static IP and reverse DNS

2006-04-22 Thread Jakob Hirsch
Quoting Sub Zero: How would you do it, to the full extend? Use dyndns? Exactly... There were already lots of discussion about this topic in the past. The bottom line is: If it's not guaranteed that your IP address will never be assigned to somebody else (as with most dialin/DSL services), you

Re: [exim] TLS Problem #1

2006-04-22 Thread Jakob Hirsch
Quoting Doug Jolley: know why 0.9.7a doesn't work. The problem with 0.9.7h is that with it, I don't see an advertisement of the LOGIN and PLAIN methods. You have to say EHLO something after the SSL connection is established. The output you see from openssl is the unencrypted one. -- ##

Re: [exim] Why is this list so abusive?

2006-04-22 Thread Jakob Hirsch
Quoting Marc Sherman: I'd particularly enjoy it if we could all start addressing each other by our last names. I'm pretty sure that Mr. Haber would agree with me Cool idea! In future, I'd like to be referred to as Mr. White. If that's taken, Mr. Pink would also be ok. Anyway, I don't know

Re: [exim] Maildir Quota excluding Trash folder.

2006-04-24 Thread Jakob Hirsch
Quoting Daniel Tiefnig: Sadfully this is not the case with every IMAP installation out there. (Cyrus e.g. may use / instead of . to delimit subfolders.) This may be true for the frontend (IMAP), but surely not for the backend, which is the only thing that matters to Exim. Cyrus uses some

Re: [exim] Abusing transport to execute SQL delete

2006-04-24 Thread Jakob Hirsch
Quoting Andrew Lewis: I have a desire to execute mysql delete statements in my remote_smtp transport :) which would be rather useful to me. I'm having problems finding a suitable place to put this though. I was abusing Basically, any option that is expanded, but you should use harmless one,

Re: [exim] Why is this list so abusive?

2006-04-24 Thread Jakob Hirsch
I added this to the Wiki. Feel free to go there and make it better. done. For the future, I suggest that this page should be modifiable only by the site or list administrators (considering the official character of it, I think this is appropriate). At least, it should say itself that it's not

Re: [exim] Abusing transport to execute SQL delete

2006-04-25 Thread Jakob Hirsch
Wakko Warner wrote: I have a desire to execute mysql delete statements in my remote_smtp transport :) which would be rather useful to me. I'm having problems How about: condition = ${lookup mysql {...} {yes}{yes}} That was also my first guess and I'd prefer that, but condition is only valid

Re: [exim] Limit msg to people at smtp talk

2006-04-26 Thread Jakob Hirsch
Jakob Hirsch wrote: handle lower limits. OTOH, the designated error code is 552, which clients ah, only in rfc 821, 2821 specifies 452. sorry for the noise. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki

Re: [exim] Exim ACL to Limit Incoming Server Sources

2006-05-04 Thread Jakob Hirsch
Quoting Chris Miller: In other words, if the user's domain is listed in +filtered_domains, only accept it from +filtering_servers, otherwise process normally. in acl_check_rcpt: defer message = use the proper MX domains = +filtered_domains hosts = +filtering_servers use deny instead of

Re: [exim] Exim ACL to Limit Incoming Server Sources

2006-05-05 Thread Jakob Hirsch
Chris Miller wrote: That is true, there will be messages from localhost that should be accepted. How can I allow it from localhost, but have the rule applied to remote hosts? simply add localhost (127.0.0.1) to the list of allowed hosts, either in filtering_servers (not so good) or the acl

Re: [exim] Deny vs. Drop

2006-05-07 Thread Jakob Hirsch
Quoting Daniel: incomming connections, and REJECT outgoing connections. DROP will send the packet to nowhere making you somewhat invisible and make the initiating connection wait and wait (this is good) However, you should No, that's security by obscurity, which is not good and its

Re: [exim] Deny vs. Drop

2006-05-07 Thread Jakob Hirsch
Quoting Marc Sherman: Even if you know positively that the sender is a spammer, their SMTP service will keep reconnecting over and over for each additional message (if dropped at MAIL/DATA) or recipient (if dropped at RCPT) that is still queued. That's true for real SMTP servers. It's false

Re: [exim] Favorite Blacklists Survey

2006-05-09 Thread Jakob Hirsch
Dave Holland wrote: So - just an informal survey of blacklists. What's your most favorite, semi-favorite, and least favority black lists? This is a personal opinion... BEST: sbl-xbl.spamhaus.org cbl.abuseat.org relays.ordb.org relays.visi.com relays.visi.com is down since Dec 2004...

Re: [exim] Favorite Blacklists Survey

2006-05-10 Thread Jakob Hirsch
Quoting Dave Holland: Please keep list traffic on the list. And I think no single external list is valid for DENY. Each to their own. Sure, that's why I wrote I think :) I used a few in the past for blacklisting myself, but I had not a good feeling about it. I don't like to rely on

Re: [exim] Filtering spam bounces

2006-05-14 Thread Jakob Hirsch
Quoting Alastair Campbell: I would like to have a rule somewhere that says If email subject matches ('failure notice' | 'Undelivered' | 'Returned mail') and is not addressed to a specific (known) email address, dump it. dump is bad, deny tells the sender that you don't want that mail. To

Re: [exim] Filtering spam bounces

2006-05-14 Thread Jakob Hirsch
Quoting Alastair Campbell: Thanks for the reply Jakob. Are you saying that it would be best to use the second option (quoted above), instead of the first, or as well? I'd use only the first one. That second one doesn't seem to identify that it's a bounce, or am I misunderstanding?

Re: [exim] Filtering spam bounces

2006-05-15 Thread Jakob Hirsch
Alastair Campbell wrote: I'd use only the first one. Ok, thanks. I'll look up acl_smtp_data in the Exim docs to get my bearing, and hopefully find a way of testing it before it becomes active. Oh, sorry, braino (it was way too late), I meant the second one, i.e. in acl_check_rcpt, because

Re: [exim] Filtering spam bounces

2006-05-16 Thread Jakob Hirsch
Alastair Campbell wrote: Jacob's suggestion was for acl_check_rcpt: ^ harrumph :) deny senders = : ! local_parts = [EMAIL PROTECTED] : [EMAIL PROTECTED] message = This address never sends out mail, so it cannot get bounces. Is there is a way of selecting the catch all, in my case

Re: [exim] Filtering spam bounces

2006-05-16 Thread Jakob Hirsch
Alastair Campbell wrote: So you have your normal addresses in this file and this wildcard entry at the end? Then you can use this: ! local_parts = lsearch;/etc/mail/virtual/domain.com Now, um, which file is that in? Just grepping for lsearch in the routers The same as before, where your

Re: [exim] Integrating URI Blacklists into Exim

2006-05-19 Thread Jakob Hirsch
Quoting Steven Wayne: system filter: I prefer: in my .muttrc Sure, different approach, same result. I like to have it on the server, like the filter for the imap subfolders, to be independent from the MUA. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim

Re: [exim] Outgoing Mail

2006-05-23 Thread Jakob Hirsch
Grant Peel wrote: Thanks for the reply magnus, but the reason I was asking was for my own selfish reasons. I have some clients I know are emailing huge attachments and things and I want that to be reflected in their bandwidth usage via ipa dn ipfw. to do this, I need the outgoing data to be

Re: [exim] group daemon was not found ?

2006-05-28 Thread Jakob Hirsch
Pablo L. Arturi wrote: [EMAIL PROTECTED] log]# echo pseudo-tst | exim -d+all-memory [EMAIL PROTECTED] ... 21:23:50 31285 group daemon was not found Hm... other things to try: $ ls -l /usr/sbin/exim -rwsr-xr-x 1 root root 2511326 May 2 13:39 /usr/sbin/exim $ ls -l /etc/group -rw-r--r-- 1

Re: [exim] How to modify the Subject header

2006-06-06 Thread Jakob Hirsch
Tim Jackson wrote: You are, of course, right. I must be going completely barking. Yes, those are in a router. The key point still stands though, that it is cleaner than some other proposed solutions as a) it's simple and b) it's all in one place. That's only true if all the mail you want the

Re: [exim] Client SMTP keepalive methods?

2006-06-07 Thread Jakob Hirsch
Chris Blaise wrote: Note that the SMTP standard requires clients to wait at least 10 minutes for the post-DATA response. If Outlook only waits 1 minute then it is not compliant with the specification. What a surprise! Well, no. RFC 2821 says SHOULD in this matter, not MUST. and RFC 2112

Re: [exim] netzero forgeries?

2006-06-07 Thread Jakob Hirsch
B. Cook wrote: Is anyone else being bombarded by these? grep -c H=(netzero.com) /var/log/exim/mainlog 167232 I have something like 35k uniq ips.. or am I the only lucky one today? About 160 (small server), started on June 1st. The usual EHLO friend is still No 1. Most of the clients are on

Re: [exim] Feature Request - Exim needs more MySQL Support

2006-06-08 Thread Jakob Hirsch
John W. Baxter wrote: It would indeed be nice to be able to produce arbitrary queries within Exim (not just for MySQL although that's the one we use). Um... the exim spec doesn't limit queries to SELECTs and say you have to use the results of a query, so something like this works perfectly

Re: [exim] Variables

2006-06-16 Thread Jakob Hirsch
Stefan Klatt wrote: - main variables like qualify_domain - integer variables like max_rcpt how can i set them with ldap queries? looking at the spec, I'd say you can't, because they are not expanded. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] Variables

2006-06-17 Thread Jakob Hirsch
Quoting Stefan Klatt: - main variables like qualify_domain - integer variables like max_rcpt how can i set them with ldap queries? looking at the spec, I'd say you can't, because they are not expanded. Both? where is this information? From spec.txt: |qualify_domain|Use: main|Type:

Re: [exim] Condition for router

2006-06-22 Thread Jakob Hirsch
Martin Klewitz [gamigo AG] wrote: Is there a possibility to read the matching emails from a plain text file where all the addresses that should be relayed are listed one per line? this should do: additional_route: driver = manualroute condition = ${lookup [EMAIL PROTECTED] \

Re: [exim] Using GeoIP to block spammers - anyone?

2006-06-23 Thread Jakob Hirsch
Odhiambo G. Washington wrote: I have have a server which is where all deliveries are done. This server is not advertised anymore in DNS, but spammers are still sending to it in defiance of my TTL from DNS configuration. I know that most of my clients who use this server are located within

Re: [exim] Forwarding messages from gmail

2006-06-27 Thread Jakob Hirsch
Alex Miller wrote: Is there any history with problems with gmail, in particular, with forwarding? Nothing I remember (but my memory is a little faulty :) When I send an email FROM [EMAIL PROTECTED] to [EMAIL PROTECTED] the email gets destroyed. The host provider says that it's nothing they

Re: [exim] Whitelist

2006-06-27 Thread Jakob Hirsch
Jess Mooers wrote: ASSP used to have a list that I could enter email addresses and domains that I could whitelist. These whitelisted domains/addresses would not check with dnsbl's or the spam filters. I have a list that I have built over the last 2 years, and don't want to have to start

Re: [exim] Router to filter off a specific address

2006-06-30 Thread Jakob Hirsch
Doug wrote: test_router: condition = ${if eq {${lc:[EMAIL PROTECTED] fail}: driver = manualroute transport = remote_smtp route_list = * x.x.x.x Test it with exim -d+expand -f [EMAIL PROTECTED] [EMAIL PROTECTED] to see what is going wrong. btw, condition is not needed.

Re: [exim] saving variables

2006-07-03 Thread Jakob Hirsch
Rainer Sigl wrote: I would like to save the content of $local_part into another variable that I can use the orignal value later. How to do this? That's what address_data is for. Depending on what you are doing, you could also use $original_local_part. -- ## List details at

Re: [exim] Random number generation in an ACL

2006-07-06 Thread Jakob Hirsch
Ian P. Christian wrote: To do this, I obviously need to generate a random number - is this possible in the ACLs? I've hacked it in using perl at the moment, but I'm just curious as I don't think it's a good idea to do such stuff in the MTA, during SMTP connections. Anyway, this might help

Re: [exim] SMTP authentication with Courier userdb

2006-07-10 Thread Jakob Hirsch
Quoting Wayne Pascoe: This SMTP AUTH setup works for me: [ . . . deletium . . . ] # End of Exim configuration file I've just tested that and it works beautifully! Thanks a stack :D Note that this config is a little dangerous. You are probably better off using the config from the wiki

Re: [exim] SMTP authentication with Courier userdb

2006-07-12 Thread Jakob Hirsch
Quoting Wayne Pascoe: (http://www.exim.org/eximwiki/FAQ/Policy_controls/Q0730). I think I'm being thick, but I can't really see the major difference between what is in the Wiki and what Juha posted. Could someone please enlighten me? Actually, Juha's version is also in the Wiki

Re: [exim] sender verify and greylisting

2006-07-14 Thread Jakob Hirsch
Quoting W B Hacker: http://conducive.org/threading.tiff You miss a very effective way to read mailing lists. See how it could look like: http://plonk.de/stuff/threading.png And, again, will someone kindly tell me what headers leave alone so as to help *others*? um... I told you a while

Re: [exim] sender verify and greylisting

2006-07-14 Thread Jakob Hirsch
Quoting W B Hacker: look like: http://plonk.de/stuff/threading.png Thanks - but that is exactly the sort of artistic but useless eye-confusion I need to avoid, and the primary reason I use threading ONLY to check the point. Well, tastes obviously differ. I usually don't even look into the

Re: [exim] handling nulls in SQL lookups

2006-07-23 Thread Jakob Hirsch
Quoting Ian P. Christian: set acl_m3 = ${lookup sqlite {SQLITE_DB SPAM_COUNT}{$value}} However, this will obviously return nothing if the host has never mailed before, and the 'Spam total' reports as NULL. set acl_m3 = ${lookup sqlite {SQLITE_DB SPAM_COUNT}{$value}{0}} Will

Re: [exim] handling nulls in SQL lookups

2006-07-23 Thread Jakob Hirsch
Quoting Ian P. Christian: set acl_m3 = ${lookup sqlite {SQLITE_DB SPAM_COUNT}{$value}} However, this will obviously return nothing if the host has never mailed before, and the 'Spam total' reports as NULL. set acl_m3 = ${lookup sqlite {SQLITE_DB SPAM_COUNT}{$value}{0}} Will

Re: [exim] HELO given check at MAIL or RCPT time?

2006-07-26 Thread Jakob Hirsch
Quoting Marc Haber: I am wondering whether it is appopriate to do that check at MAIL or at RCPT time. What do you think? (Default config's) Sender verification is done in the RCPT ACL, so I'd say this is also the right point for other checks that would logically belong into the MAIL ACL. (HELO

Re: [exim] HELO given check at MAIL or RCPT time?

2006-07-26 Thread Jakob Hirsch
Quoting Chris Meadors: I keep thinking I want to move the HELO checks to the HELO ACL, and test You cannot test in the HELO ACL if the sender issued no HELO. the envelope sender in the MAIL ACL. But then I remember I do want to accept mail from broken severs and bad senders that is

Re: [exim] HELO given check at MAIL or RCPT time?

2006-07-26 Thread Jakob Hirsch
Quoting Marc Haber: IIRC, the reason for that was that some broken MTAs do not recognise permanent errors on MAIL FROM as permanent, so they keep trying to send until their queue timeout hits. I wonder if such trash is still in use today. Yes, but these broken MTAs send HELO, and will thus

Re: [exim] Seeing which user authenticated

2006-07-27 Thread Jakob Hirsch
Quoting Luca Bertoncello: server_set_id = $value $value is not defined outside ${lookup ...}. Use $1 (or $auth1 since 4.61). -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list -

Re: [exim] Global config to filter per-user globally?

2006-08-03 Thread Jakob Hirsch
Quoting Troy Engel: directory = /var/spool/vmail/Maildir/\ ${if eq {$h_X-Spam:}{Yes} {.Junk/}} Oh. That should've been directory = $home/Maildir/... or file = /var/spool/mail/$local_part/... or whatever mailbox type you use. But I guess you figured that out already. :) -- ## List

Re: [exim] dnslists logical expressions

2006-08-09 Thread Jakob Hirsch
Quoting Коваленко Иван: Is there a way to combine logical expressions in dnslists. Is this a question. Lists in the same dnslists condition are ORed. Conditions are ANDed. Task: reject hosts which are in list1.list but not in list2.list deny dnslists = list1.list ! dnslists = list2.list

Re: [exim] restarting spamd makes spam slip through?

2006-08-09 Thread Jakob Hirsch
Quoting Marc Haber: Same thing happens when clamav is reloading its virus databases after an upgrade. No big deal, but annoying, since the panic log gets these messages and log checking mechanisms are going to fire. I'd like exim to behave a little more tolerant here. It probably should,

Re: [exim] Spamd Issues.

2006-08-15 Thread Jakob Hirsch
Quoting Jon Scottorn: I am wondering if anyone can tell me what I am missing. I was previously running Exim4 ver 4.60 with spamassassin ver 3.1.1. I just upgraded both exim to 4.62 and spamassassin 3.1.4. Now exim is not even atempting to check with spamassassin. I am using the same

Re: [exim] How can i expand a mysql query ?

2006-08-15 Thread Jakob Hirsch
Quoting Stanislaw Halik: expand ${eval: 1 + 2}/.spambox Unfortunately, this will expand to `/.spambox' instead of an empty string if the ${lookup returns an empty string. ${lookup mysql {...} {${value}/.spambox}} But where should it be delivered, when the lookup fails? When the transport's

Re: [exim] Using Postgres lookup for SMTP auth

2006-08-15 Thread Jakob Hirsch
Quoting Rory Campbell-Lange: server_set_id = \ ${if and {{eq{$2}${lookup pgsql { SELECT password FROM users where userid || '@' || domain = '${quote_pgsql:$1}' {yes}{no}} I don't really understand you problem, but I would use this: public_name = PLAIN ...

Re: [exim] How to disable logging unroutable addresses?

2006-08-16 Thread Jakob Hirsch
Quoting Kjetil Torgrim Homme: most people these days use GNU grep (the fastest grep in the West, as the slogan goes): $ ls -l /bin/egrep /bin/fgrep lrwxrwxrwx 1 root root 4 2006-08-11 05:53 /bin/egrep - grep lrwxrwxrwx 1 root root 4 2006-08-11 05:53 /bin/fgrep - grep Sure, and fgrep is

Re: [exim] How to disable logging unroutable addresses?

2006-08-16 Thread Jakob Hirsch
Quoting Kjetil Torgrim Homme: most people these days use GNU grep (the fastest grep in the West, as the slogan goes): Sure, and fgrep is the same as grep -F. But matching fixed strings is usually faster than matching regexes (depending on CPU and IO speed). yes, but the expression used was a

Re: [exim] Finding emails with a given attachment

2006-08-17 Thread Jakob Hirsch
Quoting Stanier, Alan M: Is it possible to use the system-filter to detect emails with an attachment of a certain name? Maybe (i.e., I don't know), but you'd better use the MIME ACLs for that. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] Can't build 4.63 on solaris 8

2006-08-18 Thread Jakob Hirsch
Quoting Ian Eiloart: I got this error: make: Fatal error: Don't know how to make target `dk.h' I've not chosen to use any of the experimental modules, and don't seem to from exim.h: #ifdef EXPERIMENTAL_DOMAINKEYS #include dk.h #endif so you seem to have domainkeys support activated. Or

Re: [exim] Convincing Exim to use Sendmail's mailertable

2006-08-20 Thread Jakob Hirsch
Quoting Odhiambo G. Washington: I believe my problem is just how to get rid of the parentheses from the result of the lookup. ${sg {$value} {\N[\[\]]\N} {}} strips all [ and ] -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/

Re: [exim] redirect from one external user to anyone internal, to a specific account

2006-08-29 Thread Jakob Hirsch
Quoting W B Hacker: Urgh, yuck. Why not use an ACL variable? Simple reason here was that we don't have any left to spare. (unless Phil bumped from 0-9 to 0-99 when I wasn't looking...) It's (compile time) configurable since 4.61, I think. And with a little luck, one of the next releases will

Re: [exim] ACL Per Domain

2006-08-31 Thread Jakob Hirsch
Quoting Gordon McKee: I get the following error temporarily rejected after DATA: cannot test domains condition in DATA ACL Been looking through the web for age to no avail!! You cannot test domain in the data acl, because a message can have more than one recipient. Solutions are well

Re: [exim] ACL Per Domain

2006-08-31 Thread Jakob Hirsch
Quoting Gordon McKee: No not trying anything fancy with fetchmail - just using smtp. well, whatever you want, but it could be much easier in fetchmail. I have the relay domains in relay_to_domains and this domain in local+domains. I have tried accept hosts = 127.0.0.1 : +relay_domains but

Re: [exim] Relaying for IP address range

2006-09-14 Thread Jakob Hirsch
Quoting Mark Adams: I'm having problems setting up a relay for an external IP address range, the following has been setup in acl_check_rcpt accept hosts = SPECIAL_RELAY log_message = SPECIAL ACCEPT: $sender_address locally specially whitelisted SPECIAL_RELAY is defined in

Re: [exim] request to have dovecot authenticator driver 'officially' included/supported

2006-10-02 Thread Jakob Hirsch
Quoting W B Hacker: server_setid = $auth1 We would need (at least) two separate variables for the challenge-response process. Our passwords and UID's do not resemble user@domain Fine, that would make a lousy password anyway :) - and are neither the same, nor even the same

Re: [exim] Undefined variable in eval: (string expansion)

2007-07-06 Thread Jakob Hirsch
Quoting Toralf Lund: What do I get if I do something like ${eval:$some_variable+1} when some_variable is not actually defined? An undefined variable expands to nothing (except for acl_m/acl_c variables, if you have the strict_acl_vars option set), so this is the same as ${eval:+1}, which

Re: [exim] Greylisting - how do you implement?

2007-07-09 Thread Jakob Hirsch
Quoting Peter Bowyer: My big worry about this is that you're completely dependent on the behaviour of the other MTA - you've no logging, nothing to tweak, can't whitelist, just have to trust that the people sending you wanted mail are going to do the 'right thing'. That alone has kept me from

Re: [exim] Condition for senders domain for use in a router

2007-07-11 Thread Jakob Hirsch
[EMAIL PROTECTED] wrote: I need to add a condition to a router that is triggered by the senders domain. I am struggling to find an example in the Wiki and the specification. All of the examples for routers seem to be based on destination rather than source :-( See

Re: [exim] Try next router, on defer

2007-07-27 Thread Jakob Hirsch
Mike Cardwell wrote: I have a manualroute router that connects to a server that quite often sends 45x responses at the end of the data phase, for periods of a few hours. What I would like if this happens, is for the next router to be tried instead (dnslookup). Because of the way Exim

Re: [exim] Sign-key solution for backscatter-spam?

2007-08-28 Thread Jakob Hirsch
Quoting Johann Spies: I don't want to use SPF and don't want to start a flame war on it (again) but I want to stop backscatter-spam. Isn't that what Exim's builtin BATV prvs is about? Note that it assumes (as probably all solutions like that) that all mail is sent through systems controlled

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

2007-09-13 Thread Jakob Hirsch
Alejandro Lengua wrote: Is there a way to make EXIM, not include the original IP of the sender? I use this modified received_header_text on my private server: received_header_text = Received: \ ${if !def:authenticated_id \ {${if def:sender_rcvhost \ {from $sender_rcvhost\n\t} \

Re: [exim] I'm off this list

2007-09-28 Thread Jakob Hirsch
Quoting Philip Hazel: Just so you all know: this is my last day at work before retiring. I am about to unsubscribe from the exim-users list. However, I will stay on the exim-dev list for the moment and I am continuing to maintain PCRE. It's been fun interacting with all you over the

Re: [exim] Wrong documentation for server_set_id?

2007-10-01 Thread Jakob Hirsch
Quoting Roland Illig: Return-Path: [EMAIL PROTECTED]@server.de See http://exim.org/exim-html-current/doc/html/spec_html/ch40.html#id2712900 and http://exim.org/exim-html-current/doc/html/spec_html/ch44.html#SECTsubmodnon and

Re: [exim] Transport directory based on sender address

2007-10-03 Thread Jakob Hirsch
Brent Jones wrote: directory = ${lookup{$sender_host_address}lsearch{/etc/storetable}} And here is what the /etc/storetable contains 10.0.0.1: /var/mail/catch/main/ appendfile: file or directory name is not absolute I'd say it should, but it seems that the lookup returns nothing, so

Re: [exim] Heads up: Beware pipelining + delay command

2007-10-11 Thread Jakob Hirsch
Quoting Dave Pooser: Until I discovered that if pipelining_advertise_hosts is set to all (as per default) and the sending server is pipelining to 3 users, there's no response until all three delays have occurred-- and in this case 60s was enough for the sending server to timeout. This was

Re: [exim] Help with expansion condition for an autenticator with server_condition.

2007-12-06 Thread Jakob Hirsch
Robert Bannocks wrote: As said both work on their own. However when I try to combine them with an or statement things break. I am missing something here quite fundamental. Can anyone assist? What was the exact expansion you tried? Something like ${if or { \ {crypteq {...}} \ {ldapauth

Re: [exim] Skipping local delivery, a good idea?

2007-12-11 Thread Jakob Hirsch
Quoting [EMAIL PROTECTED]: Local deliveries are just a low percentage of all the e-mail traffic and I consider to skip them and deliver all e-mails via smtp. For example I could comment out the following line from the lookup-router: domains = ! +local_domains You can do that, but you'll have

Re: [exim] Regex documentation question

2008-01-10 Thread Jakob Hirsch
Quoting Neil Youngman: When trying to decide whether a match was case sensitive or not, all I could find in the documentation was the PCRE_CASELESS option is set when the matching is required to be case-insensitive. It seems that PCRE_CASELESS is set for this condition condition=${if or

Re: [exim] ipv6 dnsbl errors

2008-01-17 Thread Jakob Hirsch
Quoting Phil Pennock: droplog_message = REJECT mail from rbl message = rejected because $sender_host_address is \ in a black list at \ $dnslist_domain\n$dnslist_text dnslists =

Re: [exim] ipv6 dnsbl errors

2008-01-17 Thread Jakob Hirsch
Phil Pennock wrote: Huh? Which list? The only list involved here is dnslists, and there's no ipv6 address given. (2) There clearly is an IPv6 address given, since the default lookup value is $sender_host_address which, in the given case, was IPv6. So you think $sender_host_address is

Re: [exim] How does exim (as sender) handle timeouts on large+ recipient lists? (was: How to set exim to manage the number of CC or BCC addresses?)

2008-01-23 Thread Jakob Hirsch
Quoting Heiko Schlittermann: Couldn't it be a kind of smart behaviour, if Exim (as sending MTA) would detect the fact, that the connection died at some point during the RCPT TO phase? And then for the next attempt Exim could reduce some internal max_rcpt to higher the chance that at least

Re: [exim] remote_max_parallel by domain?

2008-03-28 Thread Jakob Hirsch
Quoting Marten Lehmann: we have used remote_max_parallel = 20 for a long time and it worked fine. But currently we cannot deliver emails to a big German ISP (t-online), because their mailservers respond with 421 IP:x.x.x.x - Maximum parallel connections for your IP-Address reached It

Re: [exim] Using alternate SMTP server for certain domains.

2008-04-02 Thread Jakob Hirsch
CR wrote: What I want to do is setup Exim to take an incoming message destined for Excite.com and have it use the SMTP server from the DNS provider to get the job done. Ideally, I would have a text file with domains where this operation would be necessary to deliver mail, as I am positive

Re: [exim] Logging to SysLog just some events

2008-04-08 Thread Jakob Hirsch
Quoting Luca Bertoncello: Unfortunately, I can't do it from Exim, because there is no ACL called after an authentication failure. There are possibilities to work around this: - instead of fail at the end of your server_condition, use ${lookup your_db {INSERT INTO ... ON DUPLICATE KEY

Re: [exim] Logging to SysLog just some events

2008-04-09 Thread Jakob Hirsch
Quoting Luca Bertoncello: Just another question: is it possibile to DROP the connection if the authenticator fails? AFAIK not immediately, because that would need something like acl_smtp_postauth, which is not implemented in exim. But you can drop it after the next command (which could be

Re: [exim] SMTP timeout while connected to x after sending data block

2008-05-08 Thread Jakob Hirsch
Hi, this likely to be an issue at the receiving end, or a networking issue between the two hosts, or is it a simple misconfiguration at my end? could be - the notorious MTU issue, caused by dumb ICMP filtering (on your side or the remote, but then they'd have this problem with most sites).

Re: [exim] catching newlines with ${sg {}{}{}}

2008-06-17 Thread Jakob Hirsch
Marten Lehmann wrote: I need to extract the value X-purgate-ID from $spam_report: X-purgate: Spam X-purgate-ID: 150741::080616223818-6C9786C0-73CE72D8/2129941411-0/0-3 X-purgate-Ad: For more information about eXpurgate please visit http://www.expurgate.net/ Does this work?

Re: [exim] bounce rules

2008-09-05 Thread Jakob Hirsch
Searcher wrote: Say I am sending an email to [EMAIL PROTECTED] and I want my MTA to attempt the delivery only ONCE. In case the email has been bounced back discard that particular email from the queue and move on. All other emails on the system should use the default resending options. Uhm,

Re: [exim] Adding a per-recipient message header

2006-10-15 Thread Jakob Hirsch
Quoting Philip Hazel: This problem wouldn't exist if there were some inbuilt functions for working with hash style acl variables, other than extracting from them. Agreed. I'd love to see that in future exim versions... The next release of Exim allows you to make up your own names for ACL

[exim] match_domain and named list with query style lookup

2006-10-22 Thread Jakob Hirsch
Hi, according to the spec, match_domain can be used with named domain lists, like ${if match_domain{$domain}{+local_domains}{... But what happens, if the named list has a query style lookup, like domainlist virtual_domains = mysql;SELECT name FROM domain WHERE name='${quote_mysql:$domain}'

Re: [exim] dbm/dbmnz 'write' lookup?

2006-10-28 Thread Jakob Hirsch
Quoting W B Hacker: Is it possible to have Exim write to a dbm/dbmnz as part of a string expansion or are only reads possible? Not sure SQLLite is the best of the SQL's for 'sidestepping' the issue where writes may be involved. ISTR it works against a file and has rather basic or 'coarse

Re: [exim] dbm/dbmnz 'write' lookup?

2006-10-29 Thread Jakob Hirsch
Quoting W B Hacker: FWIW, there's a configurable lock timeout for sqlite (defaults to 5s), which should be sufficient as long as you are not excessively updating/inserting, which is unlikely in an MTA. '...as long as..' The important word was excessively. Locking and concurrency is an issue

Re: [exim] Pass custom variable on to next router

2006-10-30 Thread Jakob Hirsch
Quoting Online4You: How can I pass on information between routers so the next router can check for something set in the previous router? address_data -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with

Re: [exim] match_domain and named list with query style lookup

2006-11-07 Thread Jakob Hirsch
Quoting Philip Hazel: domainlist virtual_domains = mysql;SELECT name FROM domain WHERE name='${quote_mysql:$domain}' This should always work, as the spec also says: ... , whenever a domain list is being scanned, $domain contains the subject domain. I think I have found the bug that you have

Re: [exim] builtin greylisting?

2006-11-08 Thread Jakob Hirsch
Quoting Marten Lehmann: Is there anything planned for exim that includes builtin greylisting support? I don't think so. Why should anybody spend time for something that can be done easily within Exim, probably much more flexible than an builtin solution... If not, which solutions are

Re: [exim] Paging Marc Perkel: rDNS on junkemailfilter.com checking host(s)

2006-11-08 Thread Jakob Hirsch
Quoting Larry Rosenman: Nov 8 08:12:24 thebighonker exim[32310]: H=5.ctyme.com (pascal.ctyme.com) [69.50.231.5]:35579 I=[192.147.25.65]:25 Can you get the rDNS to be more legitimate? What's wrong with that rDNS? Is it because of the 5? That seems like a bit of an overzealous rule on your

Re: [exim] builtin greylisting?

2006-11-09 Thread Jakob Hirsch
Quoting Marten Lehmann: I prefer my own. :) http://plonk.de/sw/exim/greylist.txt that looks very small and neat. That was my intention. Which values for the initial delay are commonly used? I think you choosed 14 minutes, right? Is that choosen with the background that other mailservers

<    1   2   3   4   5   >