Re: [exim] MTAs not trying all MX records?

2006-11-09 Thread Jakob Hirsch
Quoting Marc Perkel: I was just wondering if there were known MTAs that don't try all MX records but only the lowest? Is this something that's common? I guess by lowest, you mean the lowest preference number, i.e. the highest priority. qmail ist known for strange behaviour. AFAIR, it does

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

2006-11-09 Thread Jakob Hirsch
Quoting W B Hacker: Use of '$interface' and 'helo_data' should allow you to force what Exim uses to match what you have already published in the DNS. It was pointed out a few times on this list that you cannot user $interface there, because the transport does not know, which address will be

Re: [exim] DynaStop - It works for me.

2006-11-09 Thread Jakob Hirsch
Quoting Ian Eiloart: Well, I think that there are spam filters that are more reliable than humans at detecting spam. That is; the spam filters get fewer false positives. For the common definition of spam as mail I don't want this cannot be true. As long as there is no machine copy of my

[exim] $interface_address, was: Paging Marc Perkel: rDNS on junkemailfilter.com checking host(s)

2006-11-10 Thread Jakob Hirsch
Quoting Philip Hazel: As soon as a server starts processing a TCP/IP connection, this variable is Perhaps I should add the word incoming, just in case it isn't obvious. I'd say so. There were some people on the list stumbling over that, so it seems to be not that obvious. Probably even

Re: [exim] $interface_address

2006-11-10 Thread Jakob Hirsch
Quoting Philip Hazel: I'd say so. There were some people on the list stumbling over that, so it seems to be not that obvious. Probably even in detail, like It is not set on outgoing connections, as Exim does not know the address the OS will choose. But it *is* set on outgoing connections -

Re: [exim] questions regarding exim.comf file

2006-11-14 Thread Jakob Hirsch
Quoting Phillip Ryker: I tried to do this but exim would not suck in any of the domains. I That's because Exim does not suck. g anyway, -be and debug mode ist your friend. With this in your exim.conf: domainlist test_domains = /tmp/test_domains and this in /tmp/test_domains: example.com

Re: [exim] Unseen Deliver Bounces

2006-11-16 Thread Jakob Hirsch
Quoting Dean Brooks: Use something like [EMAIL PROTECTED] in the errors_to clause of the unseen deliver, where [EMAIL PROTECTED] is aliased to /dev/null. Or just leave it empty, as the spec says... not hard to find, really. -- ## List details at

Re: [exim] [Stupid Question]using exim.whitelist

2006-11-17 Thread Jakob Hirsch
Quoting Agus Ramadona: senders = /usr/local/etc/exim/exim.whitelist in exim.whitelist i type : googlegroups.com yahoogroups.com senders is looking for the full sender address. You want is sender_domains. -- ## List details at

Re: [exim] [Stupid Question]using exim.whitelist

2006-11-17 Thread Jakob Hirsch
Quoting Agus Ramadona: senders = /usr/local/etc/exim/exim.whitelist in exim.whitelist i type : i try to change that one too but exim still reject the mail, i must be made mistakes.. you probably have it at the wrong place. Run a fake smtp session with exim -d+expand+acl -bh

Re: [exim] Redhat and Maildir....

2006-11-19 Thread Jakob Hirsch
Quoting Jacob Lester: After trying the suggestions in the post and googling in vain for another solution, I continue to get the 'option maildir_format unknown' - could anyone help my sanity and/or know of a work-around? exim -bV should show something like this: # exim -bV ... Transports:

Re: [exim] message-id related spam filtering is rejecting my mails...

2006-11-26 Thread Jakob Hirsch
Quoting Dave Evans: As it happens I'm currently trying to concoct a recipe for rewriting Message IDs - not to make them more FQDN-ish, but to make them less spammer-harvestable. Thunderbird (and other MUAs too for all I know) generates Message IDs that end in @domain of your email address,

Re: [exim] nested condition for authentication

2006-12-04 Thread Jakob Hirsch
Quoting Kerstin Espey: public_name= LOGIN server_prompts = Username:: : Password:: server_condition = ${if and { \ { or { \ { eq {$2}{${lookup{$1}dbm{/etc/exim4/authpwd.db \ { eq {$2}{${lookup pgsql{select m_pwd from m_accounts where

Re: [exim] Retry on 550 errors

2006-12-06 Thread Jakob Hirsch
Quoting Chris Lightfoot: Yes, it would be nice if a 5xx message could always be taken to mean ``there is no point in retrying automatically'', but that's not a description of the world as it currently is. True, but what do you thing Exim should do about it? Treat 5xx always as temporary? I

Re: [exim] Faking TLS session for testing with -bh

2006-12-06 Thread Jakob Hirsch
Quoting Bill Moseley: connection? That is, something to fake the secure session. swaks should be able to do that, with swaks --pipe exim -bh 10.1.1.1 -tls -q mail but unfortunately, it does not work: ... - STARTTLS host in tls_verify_hosts? no (option unset) host in

Re: [exim] exim in init.d

2006-12-11 Thread Jakob Hirsch
Quoting Jeremy Harris: reload() { exim -bV /dev/null || exit 1 kill -HUP `cat $pidfile` || restart sleep 1; status exim } though status is redhat-specific, AFAIK. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] making my HELO = my RDNS

2006-12-12 Thread Jakob Hirsch
Quoting John Robinson: I believe the problem is that the option is being expanded before an actual connection is being established. No, smtp_active_hostname is expanded after connection, to suit multi-homed hosts: Which helps nothing, because the option we are talking about is helo_data.

Re: [exim] Match if previous router matched

2006-12-14 Thread Jakob Hirsch
Quoting Jörg Sommer: Ehm, my question was not if I should use unseen. I want to know if it's possible to match a router upon the previous or another router matched. Or how else I can prevent duplicating of the rules if I need two transports. A combination of unseen and address_data (set in

Re: [exim] How to set the outgoing SMTP IP address

2006-12-17 Thread Jakob Hirsch
Quoting Grant Peel: For a number of weeks now, I have been trying to figure out how to set the outgoing IP address when an authenticated user sends an email. I have not been successful as of yet. I want to do this to I presume you vhost setup is separated by domains, so you can use the sender

Re: [exim] How to set the outgoing SMTP IP address

2006-12-17 Thread Jakob Hirsch
Quoting Grant Peel: helo_data = ${lookup dnsdb{defer_never,ptr=$interface_address}{$value}{$primary_hostname}} interface = $interface_address So the interface address the mail was delivered through will be used for the outgoing connection? Looks clever to me, almost too

[exim] [OT] ORDB is shutting down

2006-12-18 Thread Jakob Hirsch
Hi, for the people not subscribed to their announce list: http://ordb.org/news/?id=38 ... DNS and the mailing lists will vanish today, December 18, 2006. ... -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki

Re: [exim] ACL problem in 4.64

2006-12-21 Thread Jakob Hirsch
Quoting Nicklas Hardman: After upgrading to 4.64 i get temporarily rejected after DATA: failed to expand ACL string ${if or {{eq {$sender_address_domain}{hb.se}} {={$message_size}{100k}}} {0}{1}}: integer expected but found inside or{...} condition

Re: [exim] ACL problem in 4.64

2006-12-21 Thread Jakob Hirsch
Quoting Nicklas Hardman: Ok, thanks But how do I solve my problem? First, please don't top post. And use proper quoting. temporarily rejected after DATA: failed to expand ACL string ${if or {{eq {$sender_address_domain}{hb.se}} {={$message_size}{100k}}} {0}{1}}: integer expected but

Re: [exim] ACL problem in 4.64

2006-12-22 Thread Jakob Hirsch
Quoting Magnus Holmgren: I hate to say I knew it... but, I knew it. :) I'm not sure exactly what you knew, but ... I hate it even more to say I only thought I knew it. Thanks for your thorough investigation of this problem. Strange that nobody using the snapshots (including me) stumbled over

Re: [exim] exim bulk mail creation

2006-12-28 Thread Jakob Hirsch
Quoting Mostafa M.Fouad: Please quote properly and don't top post (see mailing list etiquette and e.g. http://www.netmeister.org/news/learn2quote.html). execuse me can u please show me example if $acl_m_spam_score contains (++ # 10 then seen finish elif $acl_m_spam_score contains

Re: [exim] Strip IP address from received header

2007-01-02 Thread Jakob Hirsch
Quoting Joachim Boltz: due to privacy issues I want to strip the IP address of authenticated change received_header_text to your needs. I do this to remove the EHLO [pri.vate.IP.address] Thunderbird uses: received_header_text = Received: \ ${if def:sender_rcvhost {from ${if

Re: [exim] More integer annoyances in 4.65

2007-01-02 Thread Jakob Hirsch
Quoting Dean Brooks: Ok, installed 4.65 and immediately was hit with more integer annoyances and had to downgrade back to 4.63. 1. The variable $spam_score_int defaults to a blank value. Therefore, ${if {$spam_score_int}{50}} 2. Any numeric tests against ACL variables will need

Re: [exim] More integer annoyances in 4.65

2007-01-02 Thread Jakob Hirsch
Quoting Dean Brooks: ${if {${spam_score_int}0}{500}} ${if {${acl_m}0}{1000}} I see why that works, but that is really a hack IMO. The average user, and perhaps the more advanced user, may not see that as an obvious way to handle it. Right. I'm just relaying what I was told back then. I

Re: [exim] More integer annoyances in 4.65

2007-01-03 Thread Jakob Hirsch
Quoting Magnus Holmgren: ${if {0${spam_score_int}}{50}} It would, if it weren't that $spam_score_int can be negative (and eval doesn't like things like 0- either). eval is ok, since you would only have the cases 0-123, 0 and 0123. But better use eval10. :) -- ## List details at

Re: [exim] More integer annoyances in 4.65

2007-01-03 Thread Jakob Hirsch
Quoting Dean Brooks: For example, the following (made-up) example will generate an error with Exim 4.65 where it worked fine previously: ... deny condition = ${if {$acl_m0}{0}} As $acl_* is empty by default (unless strict_acl_vars is set, as of 4.64), you should use ${if !def:acl_m0}.

Re: [exim] More integer annoyances in 4.65

2007-01-04 Thread Jakob Hirsch
Quoting Dean Brooks: As $acl_* is empty by default (unless strict_acl_vars is set, as of 4.64), you should use ${if !def:acl_m0}. Wow. When was strict_acl_vars added to the spec? In 4.64, together with the new named acl variables ($acl_c_something, $acl_m_anything). I see absolutely no

Re: [exim] interface option in remote_smtp doesn't work

2007-01-10 Thread Jakob Hirsch
Quoting Kjetil Torgrim Homme: # ip a show eth0 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc htb qlen 1000 link/ether 00:b0:d0:73:d5:94 brd ff:ff:ff:ff:ff:ff inet 80.53.26.122/29 scope global eth0 inet 80.53.26.124/29 scope global eth0 this looks very fishy to me. 122/29 and

Re: [exim] User filters in Exim 4: save action

2007-01-18 Thread Jakob Hirsch
Quoting Manuel Molina Cuberos: ... where the delivery should have take place in /opt/data/mail/mailstorage02/38/1b5/380/b68bda85/[EMAIL PROTECTED]//Maildir/.F1165853268/ Any ideas ? Same as always: run a test delivery with exim -d+expand+filter -bm [EMAIL PROTECTED] /some/test/message 21

Re: [exim] How to determine address of network by IP address of host

2007-01-25 Thread Jakob Hirsch
Quoting Alexander Shikoff: I know that *_data variables is used when a match in a host list in an ACL happens as a result of a lookup. But in some cases (where lookups are needless and lists are used) it would be great to get in some variable the item from the list that was matched. As I

Re: [exim] Sender verification, permanent vs. transient error codes

2007-01-25 Thread Jakob Hirsch
Quoting Eric Messick: When I telnet to my own address, I get the 220 greeting immediately. When they try the sender verify, I give them at least a 30 second delay, and they close and fail the verify. I have seen such behaviour with broken firewalls (somewhere on the way, could be on yours or

Re: [exim] conditions

2007-01-27 Thread Jakob Hirsch
Quoting Shine, Gary: first, please read the list etiquette on http://www.exim.org/eximwiki/MailingListEtiquette, esp. last point thread stealing denycondition = ${if eq{$sender_helo_name}{{212.151.164.171}{yes}{no}} How do I specify more IP addresses from the spec file: ${if

Re: [exim] Exim and auth behind Cisco kit?

2007-01-30 Thread Jakob Hirsch
Quoting David: 220 0 200***0** EHLO [192.168.20.175] 500 unrecognized command As others pointed out, this is because of the notorious Cisco smtp f*ckup. As I have read a while ago, Cisco finally saw the light and fixed it in recent software versions. Talk to your

Re: [exim] Defining Virtual

2007-01-30 Thread Jakob Hirsch
Quoting W B Hacker: ... domain ... ...servers, services, or whatever. Where is the 'virtual'? Thinking of the historical meaning of a domain, where hosts in a network are something like host.section.example.net, a mail-/web-/$anyservice-server handling (*.)example.net (and probably other

Re: [exim] RCPT delays and PIPELINING

2007-02-01 Thread Jakob Hirsch
Quoting Philip Hazel: But I am really interested in views as to whether doing the automatic flush is a good idea or not. I am also in favour of the flush-before-delay. The client will get the responses for the previous commands, so he will have at least that, and the server will not appear to

Re: [exim] Persistent storage per-message

2007-02-01 Thread Jakob Hirsch
Quoting Matthew Hodgson: When routing an address in a router, is there a way to store a flag in a variable/header such that when the message is finally delivered by a transport to one of the other recipients, the transport's behaviour can Hm, I think address_data is separate to each

Re: [exim] Persistent storage per-message

2007-02-01 Thread Jakob Hirsch
Quoting Matthew Hodgson: ACL based verification only seems to happen currently when the MTA receives a message through SMTP - is there a way to ensure it happens during local submission too? I'd obviously need the same behaviour regardless of the protocol by which the message arrived. I

Re: [exim] TLS errors on SMTP (non-AUTH) connections

2007-02-05 Thread Jakob Hirsch
Quoting Philip Hazel: These options are only for incoming connections. There is no specific option for stopping the use of pipelining on outgoing connections. ... Perhaps there should be an option specifically to turn off pipelining, as it seems to be causing problems. postfix has a nice

Re: [exim] maildir_format tmp/stime.HmtimePpid.host

2007-02-09 Thread Jakob Hirsch
Quoting Sachin Sharma: I am writing a file with logwrite, having following information. ... I want somehow, this also include Name of a file, Created by transport while delevering user's inbox i.e. 1171006621.H447180P1154.alkem.com,S=30402. Here maildir_format option is I'd say that's not

Re: [exim] Exim resend email many times

2007-02-14 Thread Jakob Hirsch
Quoting Marco Zeni: 2007-02-14 13:52:36 [EMAIL PROTECTED] R=static_route T=static_smtp defer (110): Connection timed out: SMTP timeout while connected to 192.168.1.102 [192.168.1.102 after end of data (46606 bytes written) Our internal mail server receive the email correctly and delivery

Re: [exim] Manual router with mysql lookup...

2007-02-15 Thread Jakob Hirsch
Quoting James Price: route_data = ${lookup{$domain} mysql; select domain,route from Only select 'route' (if it contains target.mta.host) here. defer (-1): failed to expand ${lookup{$domain} mysql; select route from relaydomains where domain='$domain';: unknown lookup type mysql; A query

Re: [exim] Exim 5: suggestion for string expansions

2007-02-22 Thread Jakob Hirsch
Quoting Mark Moseley: Just throwing this suggestion in since you mentioned variables. It'd be nice (and shoot me if it's already possible) to be able to set acl-style variables on a per-recipient basis, as opposed to per-connection or per-message only. I run into situations where I'm doing

Re: [exim] forwarding [EMAIL PROTECTED] to one person

2007-02-26 Thread Jakob Hirsch
Quoting Robert Van Horn: The mail server handles a hundred or so domains. Some users are aliased in the aliases file and some are cyrus users. The owner of the company wants [EMAIL PROTECTED] to be forwarded to him. Aside from I don't like this very much - I don't have a good idea about how

Re: [exim] Case-(In)sensitive Plus Addressing with Maildir Delivery?

2007-02-28 Thread Jakob Hirsch
Quoting Rich, Whidbey Telecom: Does anyone have a suggestion to tell Exim how to deliver to Topic, even if the $local_part_suffix is topic? Other than using a case insensitive filesystem: no, or at least nothing nice. Exim would have to iterate over all directories in

Re: [exim] Spamassassin + Exiscan

2007-03-02 Thread Jakob Hirsch
Quoting Mark Adams: I have been looking around the net to try find how exactly exiscan scores compare with spamd scores. is it just x10 as it seems to be? Any help, or links to advice would be very much appreciated. http://exim.org/exim-html-4.66/doc/html/spec_html/ch41.html#id2719254 says

Re: [exim] Spamassassin + Exiscan

2007-03-03 Thread Jakob Hirsch
Quoting Arthur Hagen: says about $spam_score_int: The spam score of the message, multiplied by ten, as an integer value. Imprecise documentation there - is arithmetic rounding, floor, ceiling or other method used? Will 4.95 translate to 49 or 50? For enlightenment, try printf(%d, (int)49.5)

Re: [exim] Planning MBOX to MAILDIR Migration

2007-03-03 Thread Jakob Hirsch
Quoting W B Hacker: The 'classical' has them as subdirs under .INBOX, and/or further subdirs under subdirs etc. ad (some finite, but arbitrarily large, OS fs-sepcific) limit. http://www.inter7.com/courierimap/README.maildirquota.html: --- cut -- Can folders have subfolders, defined in a

Re: [exim] Planning MBOX to MAILDIR Migration

2007-03-04 Thread Jakob Hirsch
Quoting W B Hacker: The 'classical' has them as subdirs under .INBOX, and/or further subdirs under subdirs etc. ad (some finite, but arbitrarily large, OS fs-sepcific) limit. Can folders have subfolders, defined in a recursive fashion? The answer is no. I'd have to re-install it to

Re: [exim] Planning MBOX to MAILDIR Migration

2007-03-05 Thread Jakob Hirsch
Quoting W B Hacker: Step two - we look at one of those above, '.Suspect' as was shown in the screenshot: conducive# ls -lF /data/mail/conducive.org/wbh/Maildir/.Suspect Why are you showing this? There are no subfolders in this folder (except the Maildir-specific cur, new and tmp, of course).

Re: [exim] acl_smtp_quit

2007-03-06 Thread Jakob Hirsch
Quoting Ted Cooper: I've played around with it a little and it seems (laughably enough), that acl_smtp_quit is only called on ... a quit! Works as designed, I'd say :) Is there some way to detect a discon? There seems to be no acl_smtp_disconnect, but as Exim detects disconnects and logs

Re: [exim] exim + greylisting

2007-03-06 Thread Jakob Hirsch
Quoting Paulo Andre: Hi Renaud, I was using this system for quiet sometime and found that as the database got bigger, then exim would use all connections to the database, break other solutions. I tried increasing max connections and The reason for that is obviously the blatant lack of

Re: [exim] RDNS lookup failures...

2007-03-09 Thread Jakob Hirsch
Quoting Arthur Hagen: There's also a boatload of small, but legitimate businesses who, in order to save money, make do with an ADSL line and a single IP address. Ah, this topic again... My 2c: That's fine, if it works for them. But the should not expect all the people they want to send mail to

Re: [exim] emailsize

2007-03-25 Thread Jakob Hirsch
Stefan Klatt wrote: has anybody a correct transportconfiguration for maildir with the size (S=xxx and W=xxx) at email filenames ? I played with it a while ago, and the best I could come up with was this: vdeliver: driver = appendfile maildir_format ... use_crlf maildir_tag =

Re: [exim] How to get an exim coredump?

2007-03-25 Thread Jakob Hirsch
Marc Haber wrote: Is there anything more to it than setting the appropriate ulimit and start an exim SMTP listener daemon? Where will exim put the core file? Did you set /proc/sys/fs/suid_dumpable to 1 or (safer) 2? Core dumps are created in the cwd of the process, which is exim's spool

Re: [exim] emailsize

2007-03-27 Thread Jakob Hirsch
Quoting Stefan Klatt: Is maildir_tag = ,S=$message_size not enough? For maildir++ qouta it's good i think. I guess so, if you only need it for quota, but I don't use quota, so I don't know. Why do you use a 2 at the beginning of you maildir_tag?

Re: [exim] .forward and aliases

2007-03-27 Thread Jakob Hirsch
Quoting Beginner: I have been trying to get the out-of-office message for joe. When I email [EMAIL PROTECTED] the .forward file works. If I email [EMAIL PROTECTED] it doesn't. ... if personal then http://exim.org/exim-html-4.66/doc/html/filter.html#SECTpersonal says: The personal

Re: [exim] Result repeated and contains a newline character ?

2007-03-28 Thread Jakob Hirsch
Quoting jaco engelbrecht: 08:52:54 31741 expanding: ${sg{$header_X-Spammark:}{\N(\d+)\.(\d+)\N} {\$1}} 08:52:54 31741result: 0 08:52:54 31741 0 Can anyone also please confirm if it's normal to print the result and a newline when testing with -be? The reason for that is just several

Re: [exim] $header_* not defined in router?

2007-04-02 Thread Jakob Hirsch
Carlo Wood wrote: When called as verification from a RCPT ACL this is correct, yes. I don't see debug output for non-verification, shouldn't the last time it passes through the router show that the header is present? I wonder _why_ you even want to do your routing depending on the To:

Re: [exim] Exim 4.6x and amavisd-new

2007-04-11 Thread Jakob Hirsch
Quoting Jens Strohschnitter: Bankverbindung: WGZ Bank AG, Duesseldorf (BLZ 300 600 10) Konto-Nr.: 300 011 OT: Do you really need to put your bank account details in your email signature? Saves the phishers a job, I suppose Yes. In germany we have to add the disclaimer to any outgoing

Re: [exim] Retrying after being graylisted

2007-04-12 Thread Jakob Hirsch
Quoting Lorenzo Marcantonio: exim[1353]: 2007-04-11 15:00:00 1HbcQU-Lm-RX SMTP error from remote mail server after RCPT TO:[EMAIL PROTECTED]: host xxx.xxx.xxx [xxx.xxx.xxx.xxx]: 450 [EMAIL PROTECTED]: Recipient address rejected: Greylisted, see

Re: [exim] - Need help on ACL statement (subcondition)

2007-04-13 Thread Jakob Hirsch
Quoting Laurent RISSE: ${if or { { ${if and {{eq {${lc:$sender_helo_name}}{string2}} {eq{$sender_host_address}{XX.XX.XX.XX}}} {true}{false} } ${if... returns a string, but what you need is a condition. Just remove the interior ${if...s, like that: ${if or { { and

Re: [exim] exim4 + imap sent items

2007-05-15 Thread Jakob Hirsch
Quoting Ireneusz Czajka: I have a little problem :| I have exim4 (4.63 from debian etch) and courier imap, and I have to save messages sent by users into sent-items folder. I use Maildir I configured my MUA (Thunderbird) to bcc every message to a special address (e.g. [EMAIL PROTECTED]) and

Re: [exim] acl_mX variables

2007-05-17 Thread Jakob Hirsch
Tom Bombadil wrote: Basically, if acl_m(n) could be used on a per-recipient basis - or if an acl_r(n) for recipient was available - we could just talk to the DB once to get all the data needed for recipient checking + routing/delivery. I think technically this is still possible, no? To

Re: [exim] acl_mX variables

2007-05-17 Thread Jakob Hirsch
Kjetil Torgrim Homme wrote: Then, in the rcpt acl I use: accept verify=recipient set acl_m0 = $address_data $address_data is per recipient, $acl_mX is per message. just use $address_data directly :-) I wanted to write the same, but the spec says: In both cases (recipient and sender

Re: [exim] Manual route

2007-05-24 Thread Jakob Hirsch
Quoting Jeroen van Aart: http://www.exim.org/eximwiki/DontObfuscate I am sorry for not describing my exact problem. The problem is that exim I think this was more about using 222.333.444.555 and smtp1.mydomain.org instead of the real values. does a dns lookup for smtp1.mydomain.org and

Re: [exim] W= maildir tag in exim

2007-05-26 Thread Jakob Hirsch
Arkadiusz Miskiewicz wrote: ,W=vsize: vsize contains the file's RFC822.SIZE, ie. the file size with Can we somehow get that size in exim? http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20070319/msg00166.html -- ## List details at http://www.exim.org/mailman/listinfo/exim-users

Re: [exim] W= maildir tag in exim [WISHLIST]

2007-05-27 Thread Jakob Hirsch
Arkadiusz Miskiewicz wrote: Can we somehow get that size in exim? http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20070319/msg00166. html Bad hacks. Well, you asked for somehow. New expansion variable would be nice like $message_size_rfc822. You are free to put that on the

Re: [exim] W= maildir tag in exim [WISHLIST]

2007-05-28 Thread Jakob Hirsch
Arkadiusz Miskiewicz wrote: You are forced to do crlf conversion here even if message_linecount is fixed No. Reread the archived message. There are two independent options: - with use_crlf, $message_size contains what you want without any changes to exim - without use_crlf, $message_linecount

Re: [exim] Change to $sender_host_name between exim 4.62 and 4.67?

2007-06-02 Thread Jakob Hirsch
Jeroen van Aart wrote: Multiple results are legal, but unusual. What about the wildcard? It is legal, at least done in this way: *.odd.example.com.IN A10.10.10.100 Which is a totally different case. It is handled by the server internally and not part of the protocol, so the

Re: [exim] EHLO unavailable from remote host?

2007-06-11 Thread Jakob Hirsch
Quoting Thomas Hochstein: Any ideas what I've done wrong here, Nothing. You should contact the PIX operator and ask him to disable SMTP fixup. FWIW JFTR: This was fixed a while ago, don't know in which version of the PIX software. If it does not work with you, it means you have very old

Re: [exim] Max messages per SMTP connection

2007-06-18 Thread Jakob Hirsch
Quoting James Price: I'm seeing these errors in my logs: no immediate delivery: more than 10 messages received in one connection I have what I thought was the correct setting to alleviate this problem: smtp_accept_max_per_connection = 1000 This is only a notification. What you set is the

Re: [exim] line length detection

2007-06-18 Thread Jakob Hirsch
John Jetmore wrote: has anyone found a clever way to detect line lengths from inside of exim? No, but something like that might do it for you: warn regex = \N^.{1000,}\N log_message = long line detected set acl_m_longline = 1 -- ## List details at

Re: [exim] Just for your information

2007-06-22 Thread Jakob Hirsch
Quoting Christopher Glanville: server_condition = ${lookup{$1}lsearch{/etc/exim/passwd.client}{${if eq {$value }{$2}{yes}{no{no}} Besides the issues that Philip pointed out, you will probably act as an open relay with this config. You will authenticate anybody with an invalid

Re: [exim] System Filter regex problem.

2007-06-25 Thread Jakob Hirsch
Quoting Michael Strauss: Why? The Regex is the same above ... . matches everything but \n. To change that, use the s modifier: $ exim -be ${sg{bla\nblub}{\N^.+$\N}{ersetzt}} bla blub ${sg{bla\nblub}{\N(?s)^.+$\N}{ersetzt}} ersetzt -- ## List details at

Re: [exim] smtp authentication using default domain

2007-06-30 Thread Jakob Hirsch
alexis wrote: server_condition = ${if and { \ {eq {${domain:$1}}{}{defaultdomain.com}} \ Um? That doesn't make any sense. Move the default domain stuff into the query: ... domain='${quote_mysql:${if !eq {${domain:$auth1}} {} {${domain:$auth1}} {DEFAULT_DOMAIN}}}' (you

Re: [exim] smtp authentication using default domain

2007-06-30 Thread Jakob Hirsch
alexis wrote: sounds dangerous. What sounds dangerous? Please use proper quoting. If you meant the sql injection stuff: Just use quote_mysql with every externally provided string. In your query, it would be $auth1, which is already quoted in my example for the domain part. Just do the same

Re: [exim] Bogus HELOs

2005-05-20 Thread Jakob Hirsch
Mark Smith wrote: Are there any *valid* reasons for a mailserver's HELO greeting not matching the hostname obtained from rDNS? This topic comes up every now and then... You will get (and already got) opinions in a wide range. It depends on what you consider a *valid* reason. Fact is, there are

Re: [exim] SMTP callbacks and greylisting

2005-06-06 Thread Jakob Hirsch
V. T. Mueller wrote: In fact, I'm quite pd about folks using greylisting in a way that SMTP callbacks are rendered useless: we reject mail temporarily since the callback is deferred by greylisting at the sending site. What makes you think that your FUSSP-attempt is any better than

Re: [exim] combining authentication methods

2005-06-08 Thread Jakob Hirsch
Raphael Reich wrote: server_condition = ${if or\ {${lookup mysql{SELECT '1' FROM users WHERE username = '${quote_mysql:$2}' AND clear = '${quote_mysql:$3}'} {yes}{no}}}\ This would not work anyway, because or expects a condition result (like eq, crypteq etc.) and not

Re: [exim] combining authentication methods

2005-06-08 Thread Jakob Hirsch
Hi, First I have to mention, that I am not a programmer or anything similar... (I think you easyly noticed that) You don't have to, everything is explained in the exim spec. Of course it's easier if you have some programming experience. Perform the sql-lookup. If it succeeds, then give back

Re: [exim] Issues with exim communicating with another server ( rfc1413 ? timeout ? tls ? )

2005-06-23 Thread Jakob Hirsch
Jonathan Vanasco wrote: retry time not reached for any host after a long failure period RTFF: http://exim.org/exim-html-4.50/doc/html/FAQ_6.html#TOC217 I noticed a starttls error in one of the logs. Oddly though, I don't remember setting exim to speak via tls to MTAs - just MUAs

Re: [exim] Why doesn't MIME file extension match on this ACL?

2005-06-24 Thread Jakob Hirsch
Philip Hazel wrote: ^(?.*)(?=abc|defg|hijkl|...) errr... have to look up what this in detail means. is the fastest way to match ends with abc or defg or hijkl or... because there is no backtracking. The only restriction is that each alternative must be of a fixed length. so your example

Re: [exim] acl variables, a little problem

2005-06-24 Thread Jakob Hirsch
Craig Jackson wrote: { eq{$acl_m6}{0}{1}} \ { eq{$acl_m7}{1}{1}} \ What do you mean by that? eq takes exactly two arguments, not three. I personally would prefer something like { def:acl_m6} \ { def:acl_m7} \ ... you can (and have to) leave out the warn set acl_... then.

Re: [exim] 550-errors verification failed... unrouteable address....

2005-06-24 Thread Jakob Hirsch
paul cooper wrote: Im very new to this . Mail isnt going out from various php applicitons send_to_gateway router local_part=my.name domain=uni.ac.uk calling send_to_gateway router send_to_gateway router called for [EMAIL PROTECTED] domain = uni.ac.uk route_item =

Re: [exim] 550-errors verification failed... unrouteable address....

2005-06-25 Thread Jakob Hirsch
paul cooper wrote: the problem im going to have is that ts not clear to me on reading the stuff whether there is any difference in exim receiving mail from localhost (is this the same as 'locally hosted domains') or from the www directed for locally hosted domains Depends on your routers. You

Re: [exim] Mail get stuck in the mailing queue

2005-06-27 Thread Jakob Hirsch
Tony Marques wrote: auto_thaw = 0s No one should be using auto_thaw, but if you are, then set it to That's right, but 0s is default setting, meaning it is disabled. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use

Re: [exim] What about pop3?

2005-06-27 Thread Jakob Hirsch
meka wrote: What is recomended for pop3? I would like to have mailbox format popa3d. (easier to backup), but popa3d doesn't work on my box (FreeBSD-5.4). oops. Doesn't work is not really a useful problem description, but you'd better ask on the popa3d list. Besides this, I used tpop3d

Re: [exim] problem with Exim::expand_string

2005-06-28 Thread Jakob Hirsch
Николаев А.Г. wrote: my $user = Exim::expand_string{'$local_part'}; my $lp = Exim::expand_string('$local_part'); What is happen with $local_part in Exim::expand_string? I'm not using Perl in Exim, but it's obvious that the brace types don't match ( {} vs. () ). -- ## List details at

Re: [exim] a large number of domains fronted by Exim are refusing bounces...

2005-06-30 Thread Jakob Hirsch
Greg A. Woods wrote: But I never saw a person using empty sender and cannot think of a reason why somebody should do it. I guess you've never seen me manually testing MTAs with telnet then! ;-) Well, using is not testing. Anyway, I rarely use for testing, it's only a special case. A

Re: [exim] a large number of domains fronted by Exim are refusing bounces...

2005-06-30 Thread Jakob Hirsch
Greg A. Woods wrote: In any case the fault is not that of cPanel or its users -- the fault lies squarely on Exim which makes it so easy for these people, i.e. those building and/or installing cPanel, to break SMTP error handling. Exim is not responsible for misconfiguration by its users.

Re: [exim] acl example

2005-06-30 Thread Jakob Hirsch
Terry Danter wrote: Could some one give me an example acl for white listing that could be placed at the top of my alc's put accept acl = whitelist at the beginning of the ACLs you want to use this in. I would love to include some like sender_domains = /usr/local/etc/exim/exim.whitelist

Re: [exim] Exim4 not Obeying queue_only

2005-07-05 Thread Jakob Hirsch
Mike Bartmon wrote: My goal is to have Exim receive messages but not deliver them until I am ready for them. Then you shouldn't have put the -q5m here: 2005-07-05 14:14:33 exim 4.33 daemon started: pid=26002, -q5m, simply run exim -bd and exim will not do queue runs without you telling

Re: [exim] Exim Problem with sending larger mails

2005-07-06 Thread Jakob Hirsch
Elmar Leirich, CONCEPTNET GmbH wrote: I have a Problem with Exim4 running on Debian with Mysql, Spamassassin and ClamAV. When I try to send a mail with about 1 MB Attachment the Mailclient (Outlook) says Sending Mail. You are the content scan at smtp time? Scanning large mails with

Re: [exim] ldapm lookup for 'senders =' in redirect router?

2005-07-07 Thread Jakob Hirsch
Jason Martens wrote: in ${sg {${lookup ... }} {\s+} { : } }. Ah, ok. So the senders thing needs stuff in a list format. That little bit of code you sent me looks like black magic. Where in the docs can I read about how to do that?

Re: [exim] Per-User SpamAssassin config

2005-07-11 Thread Jakob Hirsch
Marc Sherman wrote: local_parts = /etc/exim/spam_free_users This advice is incorrect. local_parts= is not available in the DATA Yes, of course. Sorry for the thinko... -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please

Re: [exim] MessageLabs 554 SMTP synchronisation error

2005-07-11 Thread Jakob Hirsch
Frank S. Bernhardt wrote: I'm getting grief from Message Labs in that they are complaining that they are receiving a '554 SMTP synchronization error' when they do a So they send their HELO/EHLO before getting your server's greeting. There is a recent thread SMTP protocol violation? which

Re: [exim] Whitelist?

2005-07-13 Thread Jakob Hirsch
j2 wrote: I am trying to put together a white-list for a few users, basically do an accept of the mail based on sender-email and recipient email via an sequential search in a flat file. But I can't get it to fly on my 4.41 installation. put together a file with [EMAIL PROTECTED]: [EMAIL

<    1   2   3   4   5   >