Re: [exim] Limit on outgoing SMTP connections per host

2006-01-16 Thread xyon
You could always do some iptables magic with '-m recent' as well. On Mon, 2006-01-16 at 09:12 +, Philip Hazel wrote: On Mon, 16 Jan 2006, Michael Kyed wrote: Hi exim-users, Just like smtp_accept_max_per_host can be used to limit the number of incoming connections from one

[exim] Local and SMTP exim configuration

2006-01-16 Thread Leonid Shulov
Hi exim-users, I want use exim for sending mail from local root to local user or via SMTP mail server. May be you have examples for this configuration. Thank you Leonid -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ##

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Jochen Gensch
Sam Michaels schrieb: http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-4.html I forget if I adapted something from that or googled it. This would make a great entry in the exim wiki. I was actually looking for some documentation related to sasl(authd) and pam, for instance with

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Jochen Gensch
Paul Dekkers schrieb: As others suggested you could try sasl (especially if you need it anyway). (If you're using the FreeBSD ports for exim you'll find sasl is not included by default. And even after including it I had the same errors about a facility.) Your guess was right, it is a FreeBSD

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Jan-Piet Mens
On Mon Jan 16 2006 at 15:13:30 CET, Tony Finch wrote: Use nwildlsearch. For example, deny set acl_m0 = ${lookup {$mime_filename} \ nwildlsearch {/etc/exim/mime_regexes} } condition = ${if !={$acl_m0}{} } message = This message contains a prohibited

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Jan-Piet Mens
On Mon Jan 16 2006 at 15:39:09 CET, Jan-Piet Mens wrote: condition = ${if !={$acl_m0}{} } Changed to condition = ${if !eq{$acl_m0}{} } Works wonderfully. Thanks, -JP -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Jakob Hirsch
Jan-Piet Mens wrote: failed to expand ACL string ${if !={$acl_m0}{} }: executable files dangerous in email is not a number I'm using Exim 4.60. Is there something wrong in the equality? != should be !eq. =, etc. are for numeric comparisons. -- ## List details at

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Jakob Hirsch
Marc Sherman wrote: ${if def{acl_m0}} should work, too. that would be ${if def:acl_m0}. But it's nicer than eq with {}, that's right. Don't know why all the people use it. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Tony Finch
On Mon, 16 Jan 2006, Jakob Hirsch wrote: that would be ${if def:acl_m0}. But it's nicer than eq with {}, that's right. Don't know why all the people use it. People forget about it :-) (Actually, I have trained myself to consider something being undefined and something having the value to be

Re: [exim] Regular expressions from file for match{

2006-01-16 Thread Marc Perkel
Tony Finch wrote: On Mon, 16 Jan 2006, Jan-Piet Mens wrote: Is it possible have a single condition retrieve a list of RE to be matched from a file? Use nwildlsearch. For example, deny set acl_m0 = ${lookup {$mime_filename} \ nwildlsearch

[exim] Hard-link Message Copies with Exim?

2006-01-16 Thread richs
Using Exim 4.60, we're investigating ways to create hard-link copies of messages delivered by the appendfile Maildir transport. For example, immediately before moving a message from tmp to new, a hard-link in a bak directory might be made. This could allow us to backup mail that might

Re: [exim] Hard-link Message Copies with Exim?

2006-01-16 Thread Tony Finch
On Mon, 16 Jan 2006, [EMAIL PROTECTED] wrote: Using Exim 4.60, we're investigating ways to create hard-link copies of messages delivered by the appendfile Maildir transport. For example, immediately before moving a message from tmp to new, a hard-link in a bak directory might be made. This

Re: [exim] Hard-link Message Copies with Exim?

2006-01-16 Thread Nigel Metheringham
On Mon, 2006-01-16 at 17:33 +, Tony Finch wrote: If you want to keep delivering into maildirs, I'd suggest patching Exim. or using a hacked external delivery agent. An alternative might also be to use a hacked imap daemon (if your users don't have direct access to the store) with a modified

Re: [exim] Spamassassin is spamming maillog

2006-01-16 Thread Slawomir Orlowski \(CYMPAK\)
Hello, Yes spamassassin is logging directly: In my /var/log/maillog for every checked e-mail by spamd I'm getting: Jan 15 21:04:02 diamond spamd[6723]: spamd: result: Y 17 - ALL_TRUSTED,DNS_FROM_RFC_POST,FORGED_HOTMAIL_RCVD2,HEAD_ILLEGAL_CHARS,HTML_M

Re: [exim] Hard-link Message Copies with Exim?

2006-01-16 Thread Tony Finch
On Mon, 16 Jan 2006, Nigel Metheringham wrote: An alternative might also be to use a hacked imap daemon (if your users don't have direct access to the store) with a modified delete/expunge that moves the message somewhere. The real expunge could be done as part of the backup process (with

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Jochen Gensch
By the way, it must be an exim problem. If I test saslauthd with testsaslauthd, it works perfectly :-(. SU mail ~:testsaslauthd -u USER -p PASS 0: OK Success. Jochen -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Sam Michaels
On 1/16/06, Jochen Gensch [EMAIL PROTECTED] wrote: By the way, it must be an exim problem. If I test saslauthd with testsaslauthd, it works perfectly :-(. When in doubt, -bd -d+all -oX 3456 and try authentication. If you don't see the cause in that, try strace. Still sounds like a permission

Re: [exim] Hard-link Message Copies with Exim?

2006-01-16 Thread richs
On Jan 16, 2006, at 10:21 AM, Tony Finch wrote: On Mon, 16 Jan 2006, Nigel Metheringham wrote: An alternative might also be to use a hacked imap daemon (if your users don't have direct access to the store) with a modified delete/expunge that moves the message somewhere. The real expunge

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Jochen Gensch
Sam Michaels schrieb: You should definitely do what I suggested earlier and use the debug output to see EXACTLY what is happening. Your are right. Here we go: [...] 22:10:12 51666 250-SIZE 52428800 22:10:12 51666 250-PIPELINING 22:10:12 51666 250-AUTH PLAIN LOGIN 22:10:12 51666 250 HELP

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Sam Michaels
On 1/16/06, Jochen Gensch [EMAIL PROTECTED] wrote: 22:10:19 51666 Running saslauthd authentication for user USER 22:10:19 51666 saslauthd userid='USER' servicename='' realm='' 22:10:19 51666 Answer 'NO PAM start error' received. 22:10:19 51666 saslauthd: access denied (NO PAM start error)

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Jochen Gensch
Sam Michaels schrieb: Looks like a socket problem. Did you check the permissions like I mentioned? Mine always has the wrong permissions upon reboot when the socket is recreated. Socket is defined in the Local/Makefile on compile. You mean permissions of /var/run/saslauthd/mux? Those are

Re: [exim] Automatic user removal using mysql

2006-01-16 Thread B. Johannessen
Tony Finch wrote: On Mon, 16 Jan 2006, Juuso Töytäri wrote: When i send message to my mailing list i get a whole lot of user unknown answers. Is it possible to make exim remove those addresses automatically from mysql database? No. For that you need a proper mailing list manager, such as Gnu

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Sam Michaels
On 1/16/06, Jochen Gensch [EMAIL PROTECTED] wrote: Er, looks like it parses the wrong files under pam.d. ftpd, kde(?), gdm... Make sure 'saslauthd' and 'system-auth' in /etc/pam.d are both readable by everyone. Also, check /var/log/debug. I think it writes any errors to the syslog debug

Re: [exim] Fatal: no entropy gathering module detected

2006-01-16 Thread Bill Hacker
Jeremiah Foster wrote: On Mon, 2006-01-16 at 06:20 +0800, Bill Hacker wrote: *SNIP* - Unintended / attempted multiple invocation. ~/exim/paniclog and ~/exim/mainlog, and /var/log/messages (or the Debian equivalents) should be helpful. If that doesn't reveal an obvious misconfiguration,

Re: [exim] Current solutions for smtp auth via pam

2006-01-16 Thread Sam Michaels
On 1/16/06, Jochen Gensch [EMAIL PROTECTED] wrote: Here it IS openning pam.d/other, even though I'm wondering aber the service name imap here. So it looked as if I needed to pass a service name to saslauthd. I did this in my exim conf (used imap as a first try), and it worked immediately. Your

[exim] How to Auto Decode RFC2047 Messages

2006-01-16 Thread Craig Whitmore
Hi There I am trying to write an auto decoder for RFC2047 Messages (AKA Auto-Forwarded Message as Attachment) system in exim. For example.. Someone Gets Spam They forward as attachment the message to [EMAIL PROTECTED] exim decodes the message (or messages) forwarded and places them into a