From sam.wun at authtec.com Thu Mar 3 21:12:45 2005 From: sam.wun at authtec.com (sam wun) Date: Fri, 04 Mar 2005 13:12:45 +0800 Subject: [SA-exim] authenticator failed Message-ID: <4227EE4D.8050503@authtec.com> Hi list, I m running Exim4 in FreeBSD 5.3 Stable. Authentication is via pam_pwdfile. Login cyrus_imap is successful, but fail to send authenticated email. The error in exim/mainlog file is as follow: 2005-03-04 12:44:21 plain authenticator failed for ([192.168.1.214]) [220.22.137.56]: 535 Incorrect authentication data (set_id=me at home.com) 2005-03-04 12:44:22 login authenticator failed for ([192.168.1.214]) [220.22.137.56]: 535 Incorrect authentication data (set_id=me at home.com) The following is the authentication defined in the exim/configure file: plain: driver = plaintext public_name = PLAIN server_condition = "${if pam{$2:$3}{1}{0}}" server_set_id = $2 login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if pam{$1:$2}{1}{0}}" server_set_id = $1 login id and password is written in imap.passwd file: me at home.com:$1$4T7FJPbP$acsTSqwUDog9VXfJ9vuGB0 its permission is: # ls -l /usr/local/etc/imap.passwd -rw-r--r-- 1 cyrus cyrus 150 Mar 4 11:05 /usr/local/etc/imap.passwd Is there a way I can debug where the problem is? and how to fix this issue? It is also noted that I can't even send email from the local network. Thanks Sam From ross at biostat.ucsf.edu Thu Mar 10 16:40:24 2005 From: ross at biostat.ucsf.edu (Ross Boylan) Date: Thu, 10 Mar 2005 16:40:24 -0800 Subject: [SA-exim] 297623: Solution to sa-exim permission problems under Debian Message-ID: <1110501624.4811.20.camel@iron.libaux.ucsf.edu> As reported earlier to this bug, sa-exim was getting lots of errors attempting to write logging information. /var/spool/sa-exim/, where it was trying to write, had owner and group of "mail". However, under Debian, exim4 runs as "Debian-exim" for many of its initial operations. sa-exim appears to run under this user id. By executing # chgrp -R Debian-exim /var/spool/sa-exim I seem to have fixed the permission troubles. Probably both the user and group should be Debian-exim. This issue is Debian specific (i.e., it only matters for the Debian package). Note exim4 is the default MTA for sarge. The choice of Debian-exim4 is deliberate, an attempt to conform to Debian policy. So I think it's the sa-exim package that needs to change. Perhaps this is only an issue for upgraders. cc'ing various lists of people who might want to know about this. -- Ross Boylan wk: (415) 502-4031 530 Parnassus Avenue (Library) rm 115-4 ross at biostat.ucsf.edu Dept of Epidemiology and Biostatistics fax: (415) 476-9856 University of California, San Francisco San Francisco, CA 94143-0840 hm: (415) 550-1062 From mjm at cargoplanning.co.za Wed Mar 16 01:57:39 2005 From: mjm at cargoplanning.co.za (marius) Date: Wed, 16 Mar 2005 11:57:39 +0200 Subject: [SA-exim] SA: Debug: SAEximRunCond Message-ID: <00ff01c52a0e$96e69610$d35d14ac@cargoit> Hi I have looked in my main log and saw this: 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: SAEximRunCond expand returned: '1' 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: check succeeded, running spamc 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Action: scanned but message isn't spam: score=-2.0 required=5.0 (scanned in 0/0 secs | Message-Id: 001301c52a0c_3d2eab50_c85d14ac at termserv2). This tells me that spamassassin is working and checking the mail for spam But then I saw this: 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Debug: SAEximRunCond expand returned: '0' 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1DBV8E-0003e2-36). I am not sure if this is a problem or if I can ignore this ?? Thanks for any help -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.merlins.org/archives/sa-exim/attachments/20050316/65479d57/attachment.html From mjm at cargoplanning.co.za Wed Mar 16 01:52:06 2005 From: mjm at cargoplanning.co.za (marius) Date: Wed, 16 Mar 2005 11:52:06 +0200 Subject: [SA-exim] SA: Debug: SAEximRunCond Message-ID: <00d701c52a0d$d0934120$d35d14ac@cargoit> Hi I have looked in my main log and saw this: 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: SAEximRunCond expand returned: '1' 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: check succeeded, running spamc 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Action: scanned but message isn't spam: score=-2.0 required=5.0 (scanned in 0/0 secs | Message-Id: 001301c52a0c_3d2eab50_c85d14ac at termserv2). This tells me that spamassassin is working and checking the mail for spam But then I saw this: 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Debug: SAEximRunCond expand returned: '0' 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1DBV8E-0003e2-36). I am not sure if this is a problem or if I can ignore this ?? Thanks for any help -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.merlins.org/archives/sa-exim/attachments/20050316/15a86d28/attachment.html From marc at merlins.org Thu Mar 17 00:13:03 2005 From: marc at merlins.org (Marc MERLIN) Date: Thu, 17 Mar 2005 00:13:03 -0800 Subject: [SA-exim] SA: Debug: SAEximRunCond In-Reply-To: <00d701c52a0d$d0934120$d35d14ac@cargoit> References: <00d701c52a0d$d0934120$d35d14ac@cargoit> Message-ID: <20050317081303.GO12103@merlins.org> On Wed, Mar 16, 2005 at 11:52:06AM +0200, marius wrote: > Hi > I have looked in my main log and saw this: > > 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: SAEximRunCond expand returned: '1' > 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Debug: check succeeded, running spamc > 2005-03-16 11:48:31 1DBV8h-0003eQ-2o SA: Action: scanned but message isn't spam: score=-2.0 required=5.0 (scanned in 0/0 secs | Message-Id: 001301c52a0c_3d2eab50_c85d14ac at termserv2). > > This tells me that spamassassin is working and checking the mail for spam > > But then I saw this: > > 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Debug: SAEximRunCond expand returned: '0' > 2005-03-16 11:48:02 1DBV8E-0003e2-36 SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1DBV8E-0003e2-36). > > I am not sure if this is a problem or if I can ignore this ?? That's normal, it just means that one of the mails wasn't supposed to be scanned (maybe it was a local mail) See SAEximRunCond in your sa-exim.conf Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f at merlins.org for PGP key From ssmeenk+exim-sa at freshdot.net Mon Mar 21 00:10:35 2005 From: ssmeenk+exim-sa at freshdot.net (Sander Smeenk) Date: Mon, 21 Mar 2005 09:10:35 +0100 Subject: [SA-exim] [FWD] Bug#300103: sa-exim: Greylisting.pm assumes that the connection IP is IPv4 only Message-ID: <20050321081035.GQ28326@freshdot.net> Hello! http://bugs.debian.org/300103 ----- Forwarded message from Daniel Tryba ----- Date: Thu, 17 Mar 2005 18:05:00 +0100 From: Daniel Tryba To: Debian Bug Tracking System Subject: Bug#300103: sa-exim: Greylisting.pm assumes that the connection IP is IPv4 only Reply-To: Daniel Tryba , 300103 at bugs.debian.org Package: sa-exim Version: 4.2-2 Severity: important Greylisting.pm assumes that the connection ipaddress always is a ipv4 addr: line 173: $connectip =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/; When mail is getting deleiverd from an ipv6 capable smtpd filtering will fail with following lines in syslog: Mar 17 17:43:13 arrakis spamd[7065]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm line 176. Mar 17 17:43:13 arrakis spamd[7065]: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm line 177. It appears that the email that caused this error was silently discarded (I can't find it anywhere). -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages sa-exim depends on: ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy ii exim4-daemon-light 4.44-2 lightweight exim MTA (v4) daemon ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii spamc 3.0.2-1 Client for SpamAssassin spam filte -- debconf information excluded ----- End forwarded message ----- -- | Perfection doesn't end in .php | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D