[toaster] Urgent prob: Qmail returns relay denied for non vpopmail virtual domain
Hi, (I sent this to the vchkpw mailing list, but it's probably more applicable to this one?) I built a Qmail box following Bill Schupp's instructions on the web. For various reasons I then needed to add a normal qmail domain for a normal local shell account (ie, not via vpopmail). For some reason, if I try and send mail to this domain, I get a 500 relay denied error, even though the domain has been added to rcpthosts and virtualdomains. Why is this? Do real qmail domains no longer work on a box which has vpopmail installed? How can I get this to work? I'm about 90% sure this WAS working at one stage, but then I moved the domain to another box and now it isn't working when I try and move it back. Any help would be greatly appreciated as I'm off on holiday at the end of the week and really need to get this sorted before I go! Thanks, Nick...
Re: [toaster] Urgent prob: Qmail returns relay denied for non vpopmail virtual domain
Fixed! I have no idea why, but somehow Exim had jumped on to my box. I certainly haven't installed manually but perhaps something had it as a dependancy when I installed something else or maybe did a yum update. Anyway - now that I've uninstalled Exim, everything is working OK. No wonder my qmail config files didn't seem to be working! Nick...
Re: [toaster] SMTP AUTH problem
PS: I also have this line in /var/log/maillog May 16 20:56:23 blue vpopmail[22654]: vchkpw-smtp: vpopmail user not found nick@:127.0.0.1 ..which implies that perhaps it's only looking for vpopmail users rather than /etc/passwd users. I would like it to work for /etc/passwd users only, or both - whichever is easier. Thanks!
Re: [toaster] Spamassassin per-user rules
Yes, during the toaster install, /usr/lib/courier-imap/authdaemonrc is edited to remove all but authvchkpw. I had already changed that back, but I'm getting some errors in /var/log/maillog: [EMAIL PROTECTED] log]# cat maillog May 12 09:46:01 blue authdaemond: stopping authdaemond children May 12 09:46:01 blue authdaemond: restarting authdaemond children May 12 09:46:01 blue authdaemond: modules=authuserdb authpam authpgsql authldap authmysql authcustom, daemons=5 May 12 09:46:01 blue authdaemond: Uninstalling authpam May 12 09:46:01 blue authdaemond: Uninstalling authcustom May 12 09:46:01 blue authdaemond: Installing libauthuserdb May 12 09:46:01 blue authdaemond: libauthuserdb.so: cannot open shared object file: No such file or directory May 12 09:46:01 blue authdaemond: Installing libauthpam May 12 09:46:01 blue authdaemond: Installation complete: authpam May 12 09:46:01 blue authdaemond: Installing libauthpgsql May 12 09:46:01 blue authdaemond: libauthpgsql.so: cannot open shared object file: No such file or directory May 12 09:46:01 blue authdaemond: Installing libauthldap May 12 09:46:01 blue authdaemond: libauthldap.so: cannot open shared object file: No such file or directory May 12 09:46:01 blue authdaemond: Installing libauthmysql May 12 09:46:01 blue authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory May 12 09:46:01 blue authdaemond: Installing libauthcustom May 12 09:46:01 blue authdaemond: Installation complete: authcustom I have a feeling that something's gone horribly wrong :( Nick...
Re: [toaster] Spamassassin per-user rules
Yeah, you did not do what I suggested in my last email. Change the authmodule list to include only the authpwd one. Then restart authdaemon. You're not setup for any of those other modules. But there's no such thing as authpwd. In /usr/lib/courier-imap/etc/authdaemonrc it says: # The available modules you # can use are: authcustom authcram authuserdb authvchkpw authldap (which does not include authpwd). If I add authpwd anyway, I get the following errors: May 12 14:31:53 blue authdaemond.ldap: Unknown module 'authpwd' skipped May 12 14:31:53 blue authdaemond.ldap: FAIL, all modules rejected May 12 14:31:53 blue imapd: authdaemon: REJECT May 12 14:31:58 blue imapd: LOGIN FAILED, ip=[:::195.166.37.20] Nick...
Re: [toaster] Spamassassin per-user rules
Thanks for your replies. Is there a way I can bypass the vpopmail system for a single domain and control it using normal .qmail files and mailfilter? What tells qmail that a particular domain is handled by vpopmail? Nick...
[toaster] Spamassassin per-user rules
Hi, Is it possible to have per user rules with SpamAssassin in this configuration (ie using vpopmail)? If so, how do I do this? Thanks, Nick...
Re: [toaster] Spamassassin per-user rules
Is it possible to have per user rules with SpamAssassin in this configuration (ie using vpopmail)? If so, how do I do this? I use the vdelivermail - spamassassin + maildrop patches that I recently posted here on the list for vpopmail. Then, I run spamassassin with preferences in MySQL. Lastly, I add the sasql plugin to squirrelmail so that users can edit their preferences there. Hmm.. this is all getting rather complicated for little me. Thanks very much for all your help but I'm coming to the conclusion that I'll probably have to use a commercial product. As my colleague always says Linux is only free if your time has no value - and I've already spent 3 evenings trying to get the various parts to work properly and now I find it can't even filter mail into folders. sigh Nick...
Re: [toaster] Spamassassin per-user rules
Hmm.. this is all getting rather complicated for little me. Thanks very much for all your help but I'm coming to the conclusion that I'll probably have to use a commercial product. Well, do whatever works for you. But it has been my experience that while some of this stuff can be difficult to setup, once you get it working you'll have a far better understanding of how it works, and you'll be much more qualified to maintain it. True. But the question is, will I *ever* understand it without spending more time than I would like to? I've only really just got into Linux and this isn't the most trivial of things to get working even with your excellent setup guide :) Bare in mind that I'm used to using products like MDaemon which installs in about 10 minutes and tend to work reliably for years. I was just trying to save myself the cash as I need a mail server for only a handful of people. As my colleague always says Linux is only free if your time has no value That's a pretty loaded statement. I strongly disagree, but will refrain from engaging it on this list. I don't agree either to be honest and I shouldn't have said it - but I do think there's a *little* truth in it. Linux solutions to tend to take a lot more time to get working than the commerical ones (unless you're unlucky with the commercial products) and if your time would be better spent doing something else, then going with a 'free' solution doesn't always end up being 'free'. Getting filtering working with the patches I described is trivial. And you can bypass them if are ok with manually configuring .qmail files for any user that wants filtering. I only use the patches because I want to use qmailadmin with the spam detection scheme. Bare in mind that before last week - I've never patched or installed anything in my life :) Maybe as I'll only have about 5 users, the vpopmail part of the install is more hassle than it's worth and I might have an easier time if I create 'normal' linux users and configure things with .qmail files like I used to on my old box (which someone else set up for me). Will that approach still work on a ShuppToaster(tm) or does the vpopmail stuff mangle the configuration too much? I only really *need* the smtp-auth, SpamAssassin, Simscan/clamav and webmail support because I'm not really going to be dealing with more than a few users. I *want* a linux install to work, but it scares me how much patching needs to be done to get VERY basic features into qmail that you'd think a lot of people would need (eg smtp-auth). I REALLY wish someone made a Qmail Toaster distribution that has all the common stuff already installed to start with such that almost nobody will need to patch it. That way you would effectively have a 'standard' install that was very well supported and not different because everyone's used a different distribution/patches etc. I'd pay for it. maildrop is pretty powerful, and well documented. My recommendation is to hold out on a commercial product, and read more docs. I'll take your advice and I'll persevere a little longer with qmail, but it might have to wait until the weekend as looking at the screen all day is doing my head in :) Nick...
[toaster] Spamassassin and spamc giving very different results.
Hi, I've asked this on the SA mailing list as well, but I think it's more likely it's a setup issue. I've followed Bills instructions exactly - the only additions being that I've installed Razor2 and DCC. Why do I get (VERY) different results on the same machine if I call spamassassin in two different ways? Eg: spamassassin -D spam.txt Gives: X-Spam-Status: Yes, score=10.8 required=5.0 tests=AWL,HELO_DYNAMIC_COMCAST,INFO_TLD,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_SORBS_DUL,URIBL_OB_SURBL,URIBL_SBL autolearn=unavailable version=3.0.3 but: spamc spam.txt gives: X-Spam-Status: No, score=4.8 required=5.0 tests=HELO_DYNAMIC_COMCAST,INFO_TLD autolearn=no version=3.0.3 Surely they should both give exactly the same result? Thanks, Nick...
[toaster] simscan query
Hi, How do I verify that simscan is actually running and working? I've installed it and configured it (I think!) but I'm not sure how to verify that it's actually being called. Can someone please give me some pointers how I can verify my setup. Thanks, Nick...
Re: [toaster] simscan query
In that case, simscan isn't working on my box. I have no headers inserted. I'm not really sure why. I started out with a qmailtoaster.com install and then followed the instructions on the page below to install simscan: http://www.shupp.org/toaster/#simscan Do I need to do something else? Or is the qmailtoaster.com setup incompatible with B.Schupp's setup? Thanks, Nick... Alex wrote: If you look into e-mail details (header) you should be able to see if simscan is called. Here is an example of your e-mail I have recieved from toaster mailing list: Received: (qmail 7690 invoked by uid 89); 3 May 2005 22:00:46 - Received: by simscan 1.1.0 ppid: 7684, pid: 7685, t: 0.3201s scanners: attach: 1.1.0 clamav: 0.83/m:31/d:858 spam: 3.0.2 Received: from unknown (HELO mail1.russianeast.com) (172.30.100.1) by 0 with SMTP; 3 May 2005 22:00:46 - Received-SPF: none (0: domain at shupp.org does not designate permitted sender hosts) Received: from [67.43.175.66] (helo=mail.merchbox.com) by mail1.russianeast.com with esmtp (Exim 4.30) id 1DT5Re-0002Hp-7R for [EMAIL PROTECTED]; Tue, 03 May 2005 18:00:46 -0400 Received: (qmail 5380 invoked by uid 530); 3 May 2005 22:00:37 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Post: mailto:toaster@shupp.org List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] Reply-To: toaster@shupp.org Delivered-To: mailing list toaster@shupp.org Received: (qmail 5374 invoked by uid 530); 3 May 2005 22:00:37 - Received-SPF: none (0: domain at nickgilbert.com does not designate permitted sender hosts) Message-ID: [EMAIL PROTECTED] Date: Tue, 03 May 2005 23:00:28 +0100 From: Nick Gilbert [EMAIL PROTECTED] User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: toaster@shupp.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [toaster] simscan query X-Scan-Signature: c03760373adc782a8412eea9d6045da1 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail1.russianeast.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.0 tests=none autolearn=disabled version=3.0.2 As you can see on second line its clearly stating that simscan was called. Alex quote who=Nick Gilbert Hi, How do I verify that simscan is actually running and working? I've installed it and configured it (I think!) but I'm not sure how to verify that it's actually being called. Can someone please give me some pointers how I can verify my setup. Thanks, Nick... # Russian East# # http://russianeast.com #