From marc at merlins.org Sat Apr 1 09:16:55 2006 From: marc at merlins.org (Marc MERLIN) Date: Sat, 1 Apr 2006 09:16:55 -0800 Subject: [SA-exim] Cannot send message to self using external smtp server In-Reply-To: <200604011340.07170.chris@northfolk.ca> References: <200604011340.07170.chris@northfolk.ca> Message-ID: <20060401171655.GD9680@merlins.org> On Sat, Apr 01, 2006 at 01:40:07PM +0800, Chris Purves wrote: > If I send a message to myself using a 3rd party SMTP server, sa-exim rejects > the message and I receive the following message in the returned mail: > > : host mail.northfolk.ca[220.234.29.148] said: 500 error > ? ? (in reply to MAIL FROM command) this reject is not from SA-Exim, it's from Exim itself. You should debug your Exim config for that (and try exim-users if you need further help) 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 torsten at archesoft.de Thu Apr 13 03:12:43 2006 From: torsten at archesoft.de (Torsten Mueller) Date: Thu, 13 Apr 2006 10:12:43 +0000 Subject: [SA-exim] Can't locate object method "greylisting" Message-ID: <443E241B.1000304@archesoft.de> Hello, I have seen this in my mail logs. Anyone can give a hint, why GREYLIST_ISWHITE could fail ? Thanks Torsten Apr 13 12:03:56 nethawk spamd[4982]: spamd: connection from localhost [127.0.0.1] at port 4143 Apr 13 12:03:56 nethawk spamd[4982]: spamd: processing message <443E21FA.5050202 at archesoft.de> for exim:65534 Apr 13 12:03:56 nethawk spamd[4982]: Can't locate object method "greylisting" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/PerMsgStatus.pm line 2581. Apr 13 12:03:56 nethawk spamd[4982]: rules: failed to run GREYLIST_ISWHITE test, skipping: Apr 13 12:03:56 nethawk spamd[4982]: _(Can't locate object method "greylisting" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/PerMsgStatus.pm line 2581. From ssmeenk at freshdot.net Thu Apr 13 05:21:27 2006 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Thu, 13 Apr 2006 14:21:27 +0200 Subject: [SA-exim] Cannot send message to self using external smtp server In-Reply-To: <20060401171655.GD9680@merlins.org> References: <200604011340.07170.chris@northfolk.ca> <20060401171655.GD9680@merlins.org> Message-ID: <20060413122127.GF3363@freshdot.net> Quoting Marc MERLIN (marc at merlins.org): > > : host mail.northfolk.ca[220.234.29.148] said: 500 error > > ? ? (in reply to MAIL FROM command) > this reject is not from SA-Exim, it's from Exim itself. You should debug > your Exim config for that (and try exim-users if you need further help) Even so it is weird that disabling sa-exim makes the message go through ;) -- | Intaxication: Euphoria at getting a tax refund, which lasts until you | realize it was your money to start with. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From chris at northfolk.ca Thu Apr 13 22:10:49 2006 From: chris at northfolk.ca (Chris Purves) Date: Fri, 14 Apr 2006 13:10:49 +0800 Subject: [SA-exim] Cannot send message to self using external smtp server In-Reply-To: <20060413122127.GF3363@freshdot.net> References: <200604011340.07170.chris@northfolk.ca> <20060401171655.GD9680@merlins.org> <20060413122127.GF3363@freshdot.net> Message-ID: <443F2ED9.9070108@northfolk.ca> Sander Smeenk wrote: > Quoting Marc MERLIN (marc at merlins.org): > >>> : host mail.northfolk.ca[220.234.29.148] said: 500 error >>> (in reply to MAIL FROM command) >> this reject is not from SA-Exim, it's from Exim itself. You should debug >> your Exim config for that (and try exim-users if you need further help) > > Even so it is weird that disabling sa-exim makes the message go through ;) > It seemed that it was a coincidence that it worked one time when disabling sa-exim. Later attempts didn't get the same results. In the end I was able to determine that it was not my machine that was sending the 500 error. The messages were being rejected somewhere in the middle. Either my ISP or government firewalls (I live in Shanghai) think I shouldn't be able to receive mail from myself. You can imagine my relief when I realised it was not a technical problem. ;-) -- Good day, eh. Chris From marc at merlins.org Fri Apr 14 10:25:54 2006 From: marc at merlins.org (Marc MERLIN) Date: Fri, 14 Apr 2006 10:25:54 -0700 Subject: [SA-exim] Can't locate object method "greylisting" In-Reply-To: <443E241B.1000304@archesoft.de> References: <443E241B.1000304@archesoft.de> Message-ID: <20060414172554.GC27216@merlins.org> On Thu, Apr 13, 2006 at 10:12:43AM +0000, Torsten Mueller wrote: > Hello, > > I have seen this in my mail logs. > Anyone can give a hint, why GREYLIST_ISWHITE could fail ? > > Thanks Torsten > > Apr 13 12:03:56 nethawk spamd[4982]: spamd: connection from localhost > [127.0.0.1] at port 4143 > Apr 13 12:03:56 nethawk spamd[4982]: spamd: processing message > <443E21FA.5050202 at archesoft.de> for exim:65534 > Apr 13 12:03:56 nethawk spamd[4982]: Can't locate object method > "greylisting" via package "Mail::SpamAssassin::PerMsgStatus" at > /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/PerMsgStatus.pm line 2581. > Apr 13 12:03:56 nethawk spamd[4982]: rules: failed to run > GREYLIST_ISWHITE test, skipping: > Apr 13 12:03:56 nethawk spamd[4982]: _(Can't locate object method > "greylisting" via package "Mail::SpamAssassin::PerMsgStatus" at > /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/PerMsgStatus.pm line 2581. If you are using debian, it should work out of the box. If not, check that you have the equivalent of: /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm and that your SA config does have: loadplugin Greylisting /usr/share/perl5/Mail/SpamAssassin/Plugin/Greylisting.pm Cheers, 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