Re: [courier-users] SSL/TLS stopped working (with solution)

2008-11-29 Thread Chris Petersen
Sam Varshavchik wrote: > Chris Petersen writes: > > >> I'm also occasionally getting this error from authlib when I log in >> without TLS/SSL: >> >> authdaemond: Deprecated pam_stack module called from service "imap" > > You need to i

[courier-users] SSL/TLS stopped working (with solution)

2008-11-28 Thread Chris Petersen
I tried to send this earlier, but sourceforge's servers rejected it because of broken TLS. If you're receiving this, all is well. - I upgraded something on my CentOS 5.2 box the other day, and courier started rejecting all SSL connections, with messages like: mail imapd-ssl: couriertls: acc

Re: [courier-users] Building RPM on Centos

2007-04-17 Thread Chris Petersen
Jay Lee wrote: > Verbatim? Have you made any changes to CentOS since installing? I have > successfully built courier-authlib on RHEL5 so it would seem either > CentOS broke something in the rebuild or you did :-) I can confirm that things compile fine in centos5. -Chris signature.as

[courier-users] prevent sqwebmail from archiving Sent messages?

2007-04-15 Thread Chris Petersen
(Apologies if this comes through more than once, it appears that Thunderbird is having trouble sending mail / copying to the Sent folder) I don't use sqwebmail often, but I went in recently and noticed that it moved my year and a half worth of Sent mail into Sent/2007/03-Mar. I can't find any set

[courier-users] prevent sqwebmail from archiving Sent messages?

2007-04-15 Thread Chris Petersen
I don't use sqwebmail often, but I went in recently and noticed that it moved my year and a half worth of Sent mail into Sent/2007/03-Mar. I can't find any settings in there to prevent it from doing this. Is there another way? (using Courier 0.55) -Chris signature.asc Description: OpenPGP di

[courier-users] AWStats + Courier?

2007-02-20 Thread Chris Petersen
I've searched around for an answer to this, but all I find are people asking if this is possible, but never any replies. Is there another stats package that works better with courier? -Chris signature.asc Description: OpenPGP digital signature --

Re: [courier-users] Weird backscatter bounce

2007-02-20 Thread Chris Petersen
Sam Varshavchik wrote: > You probably have all the information you need, already, in maillog. > You should've logged the original bounce. Unfortunately, I have no way to know if I did or not. There is only one instance in my logs from that server (alerts.chase.com), so I have no way to trace bac

Re: [courier-users] Weird backscatter bounce

2007-02-19 Thread Chris Petersen
Sam Varshavchik wrote: > No glitch. It's working as intended. Now, find the reason from the > preceding bounce, and fix it. You're accepting mail, but during local > delivery the mail bounces, and gets suppressed as backscatter -- and > rightfully so. Is that bofh setting the correct thing to s

[courier-users] Courier template/plugin for cacti?

2007-02-19 Thread Chris Petersen
I recently started playing with cacti, and was wondering if anyone here has a template/plugin for Courier. I've seen a couple of mentions of things on the cacti forums, but figured I'd get a better answer from the Courier community. -Chris signature.asc Description: OpenPGP digital signature -

[courier-users] Weird backscatter bounce

2007-02-18 Thread Chris Petersen
After thinking that there was something wrong with one of my credit card companies' mail server, I noticed the following in my maillog: > Feb 12 09:17:37 mail courierd: newmsg,id=00164819.45D0A131.1C49: dns; > localhost (localhost [127.0.0.1]) > Feb 12 09:17:37 mail courierd: > started,id=00

Re: [courier-users] new/updated rpm spec for courier-authlib

2006-09-26 Thread Chris Petersen
> I did look, and I've taken all but one of your changes (I kept the > dependency on ltdl.h instead of libltdl.a). Cool. I'll grab that from cvs and see what the fedora guys say about it. > Although you're welcome to try, I'm somewhat skeptical that you'll > accomplish anything, especially on Cou

Re: [courier-users] new/updated rpm spec for courier-authlib

2006-09-25 Thread Chris Petersen
> I haven't had a chance to look at your specfile yet, Any idea on when you'll have some time to look into this? If you accept it (or tell me what I'd need to fix to make it so), I'd like to get it submitted to fedora soon so I can start working on courier itself. -Chris signature.asc Descrip

[courier-users] new/updated rpm spec for courier-authlib

2006-09-15 Thread Chris Petersen
http://rpm.forevermore.net/courier-authlib/courier-authlib.spec Sam, I didn't know where else to submit this, and for a spec, it's easier to submit the whole file than a patch (which I can send if you want). Changes are in the %changelog section, and mainly relate to modernizing things a bit and

[courier-users] questions about specfiles

2006-09-07 Thread Chris Petersen
I thought I'd poke around and see what it takes to get the courier and courier-authlib specs updated so they build properly on modern systems, pass rpmlint, etc. (I'm hoping to some day get them to a point where only a small amount of work would be required to get them into the fedora extras reposi

Re: [courier-users] possible patch idea

2006-07-14 Thread Chris Petersen
Sam Varshavchik wrote: > Chris Petersen writes: > >> Someone just pointed out the following site to me: >> >> http://da.andaka.org/Doku/imapspamfilter.html >> >> I couldn't find any info about it in the list archives, so I figured I'd >> pas

[courier-users] possible patch idea

2006-07-13 Thread Chris Petersen
Someone just pointed out the following site to me: http://da.andaka.org/Doku/imapspamfilter.html I couldn't find any info about it in the list archives, so I figured I'd pass it along. I'm also wondering if this would be the kind of thing that would get accepted if I converted this into a real p

Re: [courier-users] SqWebMail alternative for adding the maildrop filters

2006-07-05 Thread Chris Petersen
> - how can I combine 2 requirements in one filter .. like from contains xyz > and > subject contains abc. This would be a big one for me. I have all kinds of "if (x && !y && !z)" kind of filters that prevent me from using sqwebmail to manage them. >> You could check horde - I'd guess there ar

[courier-users] courier in fedora extras repository?

2006-06-07 Thread Chris Petersen
Sam, I see you on the fedora extras list occasionally, and hear that you maintain some packages. Do you have plans to get courier added to the bunch? It would make installs/upgrades so much easier for some of us. -Chris ___ courier-users mailing list

Re: [courier-users] Big Brother access

2006-06-07 Thread Chris Petersen
Matt wrote: > I need to allow management (ie easy) access to the bigbrother mail > archive on our server. Legal arguments aside, has anyone got any ideas > or done something clever (web access?) in regards to presenting the data > so management can do their snooping? Read-only shared maildir?

Re: [courier-users] freemail not working as expected

2006-03-24 Thread Chris Petersen
Sam Varshavchik wrote: > Chris Petersen writes: > >> I've been using the following bofh entry for a long time: >> >> freemail hotmail.com microsoft.com msdn.com >> >> Recently, I've been receiving reports that some hotmail messages are >>

[courier-users] freemail not working as expected

2006-03-24 Thread Chris Petersen
I've been using the following bofh entry for a long time: freemail hotmail.com microsoft.com msdn.com Recently, I've been receiving reports that some hotmail messages are getting blocked. The log messages below show that: Mar 23 16:31:35 indra courieresmtp: id=00100996.44233DD5.

Re: [courier-users] Dealing with mail servers that claim TLS but don't actually use it.

2006-03-08 Thread Chris Petersen
Scott wrote: > Chris Petersen wrote: >> We've recently started running into the occasional bounce when our >> mail server (courier) tries to talk to another that claims TLS, but >> for some reason or another the TLS connection fails. >> >> Other than turning

[courier-users] Dealing with mail servers that claim TLS but don't actually use it.

2006-03-08 Thread Chris Petersen
We've recently started running into the occasional bounce when our mail server (courier) tries to talk to another that claims TLS, but for some reason or another the TLS connection fails. Other than turning off outbound TLS (globally or for that specific ip), is there another option? Is ther

Re: [courier-users] courier and spamd

2006-01-17 Thread Chris Petersen
Hope I'm not repeating stuff other people have already covered... I think you likely need the AuthCourier module for spamassassin. One thing to note is that on my system (fc4, rpm's compiled from courier's tarball) the socket is in a different place, so I had to edit the file to account for t

Re: [courier-users] replicated mail servers...

2005-10-15 Thread Chris Petersen
Did you reach any conclusions about that? Yeah. VPN and just host the imap server on our dsl line. It's fast enough for the few times that people will be checking their mail from home. One further possibility would be to play with a sibling domain, e.g. MyCompany.com and MyCompany.net, eac

[courier-users] replicated mail servers...

2005-09-27 Thread Chris Petersen
I've been toying with an interesting idea at work, and since I couldn't come up with any ideas on my own (or my circle of friends/coworkers), I thought I'd present it here for more opinions (since courier is our current choice of mail server). Our goal is to set up one server at our colo for f

Re: [courier-users] Autoresponder functionality?

2005-08-26 Thread Chris Petersen
I just had a read over the faq to see if this had been covered, but it appears not to have been, what I'm after is an autoresponder for courier mta with mysql virtualised accounts, something like the old unix vacation program for shell accounts. Is such functionality available in courier? Woul

Re: [courier-users] Blocking connections

2005-08-16 Thread Chris Petersen
IPallow,BLOCK="500 Blocking misconfigured server" On this note, does the tarpit activate on this? I've been getting dictionary-spam-attacked lately, and though I know that some things hit the tarpit (I'm *hoping* that "unknown user" does), it'd be nice to be able to specify it for a range of

Re: [courier-users] Courier Authentication Library 0.57

2005-08-01 Thread Chris Petersen
spec needs some updates: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/courier-authlib-0.57-1.4-root error: Installed (but unpackaged) file(s) found: /usr/lib/libltdl.a /usr/lib/libltdl.la /usr/lib/libltdl.so /usr/lib/libltdl.so.3 /usr/lib/libltdl.so.3.1.0

Re: [courier-users] Courier Authentication Library 0.57

2005-08-01 Thread Chris Petersen
Download: http://www.courier-mta.org/download.php#authlib spec needs some updates: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/courier-authlib-0.57-1.4-root error: Installed (but unpackaged) file(s) found: /usr/lib/libltdl.a /usr/lib/libltdl.la /usr/lib/libltdl

Re: [courier-users] makedatprog

2005-02-14 Thread Chris Petersen
"$makedat="/usr/local/libexec/courier-authlib/makedatprog;". makedatprog should also be installed by courier-authlib. Might it be a good idea, then, to have makeuserdb check both the courier-authlib location AND the normal courier location for the existence of makedatprog? -Chris ---

Re: [courier-users] bug: rpm/makeuserdb path issue

2005-02-05 Thread Chris Petersen
There have been a couple of recent reports that claim that makedatprog does not get installed by courier-authlib. ahh. no, in my case, it gets installed by courier itself. I cannot reproduce it myself, so there's nothing that I can do right now. You need to look into why you do not end up with m

Re: [courier-users] bug: rpm/makeuserdb path issue

2005-02-05 Thread Chris Petersen
makeuserdb is now in the courier-authlib package. makedatprog is also installed by courier-authlib: as of which version? > rpm -qf /usr/lib/courier/libexec/courier/makedatprog courier-0.48.2-1.3 $ rpm -q -l courier-authlib | grep makedat /usr/libexec/courier-authlib/makedatprog I'm running courier-

[courier-users] bug: rpm/makeuserdb path issue

2005-02-04 Thread Chris Petersen
just upgraded to 0.48.2 and the new authlib stuff. when I did, I kept getting "no such file or directory" errors from makeuserdb. after some poking around in the code, I noticed that $makedat (line 30 or so) is set to /usr/libexec/ but when compiled into an rpm, courier puts the file at:

Re: [courier-users] documentation about courier's tarpit?

2005-02-04 Thread Chris Petersen
Because eventually they will hit a valid mailbox. No tarpit is perfect. But why is courier not tarpitting these connections as quickly as the others? It seems that they can get off 10-20 attempts a couple of seconds apart, compared to 3-4 from others. (or maybe it's the multiple-connection th

Re: [courier-users] documentation about courier's tarpit?

2005-02-03 Thread Chris Petersen
You're looking for the fact that the same IP address is not filling up the logs with error messages. At most you should see only a few error messages from the same IP address, spaced widely apart. Maybe my definition of "a few" is too low: Jan 31 01:08:11 indra courieresmtpd: started,ip=[::

Re: [courier-users] documentation about courier's tarpit?

2005-02-02 Thread Chris Petersen
Yes. Courier tarpits all SMTP errors, including user unknown. Check your mail logs. What am I looking for in the logs? I don't see anything about tarpits. But even with the tarpit in place you shouldn't be seeing so much crap coming through. Unless you've installed a virtual domain alias catch

[courier-users] documentation about courier's tarpit?

2005-02-02 Thread Chris Petersen
I've searched through the courier documentation online, but can't seem to find anything about how it sets up its tarpit (and/or what triggers it). Someone has been running a dictionary-type spam attack (eg. joe@, bob@, martha@) on one of my wife's domains for the last few months, to the point w

[courier-users] documentation typo

2005-02-02 Thread Chris Petersen
http://www.courier-mta.org/?courier.html~SPF under "Sender Policy Framework Keywords" you have "pass" listed twice. -Chris --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-dr

[courier-users] couple of ideas

2004-12-19 Thread Chris Petersen
My wife's domain gets a lot of spam, and most of it seems to be dictionary-attack type spam (she likes to have all mail to the domain go to her via courier's alias@ function, so her friends can make up cute recipient names for her). I'm wondering if anyone else would find it useful to have a b

Re: [courier-users] mailfilter "deliver and mark as read" option?

2004-11-02 Thread Chris Petersen
I currently have a mailfilter rule that copies certain incoming messages to an "archive" maildir. These come in marked as new messages, so I'm wondering if there is a way via the mailfilter to mark them as read so they don't trigger new-message notification in my mail clients. There is no way

[courier-users] mailfilter "deliver and mark as read" option?

2004-11-02 Thread Chris Petersen
I currently have a mailfilter rule that copies certain incoming messages to an "archive" maildir. These come in marked as new messages, so I'm wondering if there is a way via the mailfilter to mark them as read so they don't trigger new-message notification in my mail clients. -Chris -

Re: [courier-users] spamassassin 3.0.0

2004-10-06 Thread Chris Petersen
on integration of spamassassin with courier still valid with the new version of spamassasin? Anybody tested this already? I just apt-get upgraded to SA 3.0 the other day with no problem. my current xfilter in /etc/courier/maildroprc is: import USER if ($LOGNAME ne "") { xfil

Re: [courier-users] Re: forged mail message issue

2004-08-10 Thread Chris Petersen
sorry I meant that how did you "know" that reverse dns was the issue thanks everyone for the heads up, the server wasn't hacked for we used to host the domain "neocipher.net" on the server, I just have to figure out how to get the dns server straightened out. The reverse for an IP is controlled by

Re: [courier-users] RE: SPF support for Courier

2004-07-02 Thread Chris Petersen
PHP, etc. only give you a "from" field, and the language then parses that out as the envelope sender. The only solution would be to hand- code all of your SMTP connections, and when it's a choice between that and using a single-fire function called mail(), 99% of web coders are going to opt for th

Re: [courier-users] SPF support for Courier

2004-07-01 Thread Chris Petersen
SPF isn't meant to be applied to message headers ("From:", "Sender:", whatever), but to the envelope sender address that's specified by the sender through the "MAIL FROM" command during the SMTP dialog. That is irrelevant when it comes to web solutions. PHP, etc. only give you a "from" field, and

Re: [courier-users] An Interview with the Lead Developer of SPF

2004-07-01 Thread Chris Petersen
The article makes me question Sam: What do you think about these frameworks? Will be implemented in courier someday or be relayed to other authors (pythonfilter|perfilter comes to my mind) There is already an SPF module for pythonfilter. Unfortunately, I had to disable it because so many web servic

Re: [courier-users] Sub-sub-sub folder question

2004-06-29 Thread Chris Petersen
> A space is a valid character in a directory name, there's no reason to > replace it. If your scripts can't cope with spaces then fix them, the > scripts are broken, not the server. Agreed. and for those who use mailfilter for this, it's just a matter of putting quotes around the maildir name:

Re: [courier-users] Spam Mails

2004-05-27 Thread Chris Petersen
> what is the way to reject mails from <> > i thing this is a spammer and i dont like this Spammers *have* been using this technique a lot recently. However, if you blocked these messages, you'd also end up blocking a bunch of automated system messages (unknown user, etc) that you DO want to rece

[courier-users] freemail question

2004-05-27 Thread Chris Petersen
In my attempt to combat spam, I've been building a rather large bofh file. Part of this is a decently-sized section of freemail definitions. I recently passed these to a friend who gets more mail traffic than I do, and he noticed that freemail aol.com was causing messages to be rejected. His

Re: [courier-users] Re: grrrr

2004-05-21 Thread Chris Petersen
> Anyway, now when I try to send mail to any other email address but mine > (e.g. [EMAIL PROTECTED]) from work, which is not my localhost, it > will not relay. Does this mean that for every user that is a remote > user I have to add their IP to the smtpaccess file to allow them to > send email?

[courier-users] key/crt/pem (slightly OT)

2004-05-20 Thread Chris Petersen
Was talking with a friend about ssl cert stuff, and he was explaining the .pem files to me as a concatination of .crt files. However, when I look at the imapd.pem autogenerated by courier, I see that it also contains a private key and an entry called "DH Parameters"... So now I'm confused. I'd l

Re: [courier-users] Rejecting empty To: messages

2004-05-17 Thread Chris Petersen
> For that matter how does one reject a message with a To: field that is > not even at my domain? You don't want to do this. Many listserv programs send "to" themselves (including this one). Also, don't forget that it's also completely possible to have a blank To field and a full Cc field (weir

Re: [courier-users] Re: bofh badfrom weirdness...

2004-05-16 Thread Chris Petersen
> > Do legit servers ever send messages with no envelope sender? > Yes. All bounces are sent with an empty envelope sender. Ah, well then good reason not to block them. Guess I look into writing a From pythonfilter to supplement bofh. thanks. -Chris -

[courier-users] bofh badfrom weirdness...

2004-05-16 Thread Chris Petersen
I like to block as many spammers as I can, so when I see several messages come in "from" the same domain, and it's not a legit domain that might try to send me real email, I drop a line in bofh about it. But I've run into some weirdness... When trying to find the envelope sender for these message

Re: [courier-users] Re: changing passwords/etc via authdaemon?

2004-05-08 Thread Chris Petersen
> > Haven't tried it yet but I have seen courier password changing plugin > > here: http://www.squirrelmail.org/plugin_view.php?id=21 I know of people who have tried a number of these, and couldn't get any of them to work. I was able to quite easily make Horde's (IMP) password program change cou

Re: [courier-users] Failed to create cache file: maildirwatch

2004-05-07 Thread Chris Petersen
> famd is the name of the fam daemon. Just like imapd is the name of the > IMAP daemon Yes, I gathered that. Except that in fedora at least, it's just "fam"... That was my confusion. Anyway, it's fixed now. No idea why restarting xinetd didn't help, or why fam stopped working (or maybe it was

Re: [courier-users] Failed to create cache file: maildirwatch

2004-05-07 Thread Chris Petersen
> I don't think FAM is part of the problem here. The logs beg to differ: May 7 16:18:27 indra imapd-ssl: Error: Input/output error May 7 16:18:27 indra imapd-ssl: Check for proper operation and configuration May 7 16:18:27 indra imapd-ssl: of the File Access Monitor daemon (famd). sorry for

[courier-users] Failed to create cache file: maildirwatch

2004-05-07 Thread Chris Petersen
I just noticed these in my maillog. After a quick google search, I see that I need to have fam installed (it is) and running (according to chkconfig it's set up to run via xinetd). Problems still persisting. portmap is running just fine, too, so this isn't (presumably) the problem, either. Anyt

Re: [courier-users] RE: RFC to block "user.foo@bar.com" addresses

2004-05-05 Thread Chris Petersen
> Still, hard-coding a list of valid TLDs is bad -- in a year the list might > very well be outdated. Why not just do a DNS (MX) lookup of the domain > that has been entered? Yes. I had originally opted not to do this for bandwidth reasons (long ago), but it does seem the more valid option. I t

Re: [courier-users] RE: RFC to block "user.foo@bar.com" addresses

2004-05-05 Thread Chris Petersen
> No, it doesn't. There have meen numerous long discussions in various Perl > newsgroups about the topic, and the conclusion is that you shouldn't try > to match e-mail addresses with a regular expression of your own, but use > the Email::Valid Perl module instead (or a similar module which does i

Re: [courier-users] RFC to block "user.foo@bar.com" addresses

2004-05-04 Thread Chris Petersen
> Is there any RFC that says this is an invalid format for email address? > (don't confuse with POSIX usernames, I'm talking straight email > addresses) it's somewhat cryptic, but the following regex will match the RFC 822 (with the TLD's manually added by me, since the rfc isn't that specific)

Re: [courier-users] sendmail error 450 revisited

2004-04-25 Thread Chris Petersen
Well, after another from-scratch install, I think I've finally tracked this filters error down to, well, Gordon's pythonfilter. For some reason it seems to be returning some sort of error message to sendmail when sendmail is invoked from the command line. Anyway, thanks for putting up with me. I

Re: [courier-users] sendmail error 450 revisited

2004-04-25 Thread Chris Petersen
let me correct my "groups" issue... I originally did this chmod very late at night and for some reason it never occurred to me that anything other than the "daemon" user would be in the "daemon" group... Obviously that was an issue, but this sendmail thing started long before I had done this. Re

Re: [courier-users] Re: sendmail error 450 revisited

2004-04-25 Thread Chris Petersen
> You've modified the ownership and permissions of one of the internal Courier > directories, and you have no idea why a bunch of things stopped working? You've obviously read on, and see that it still doesn't work. > Do you actually believe that the ownership and permissions of the hundreds >

Re: [courier-users] Re: sendmail error 450 revisited

2004-04-25 Thread Chris Petersen
> No, it doesn't. This shows that the submit process is unable to connect to > authdaemond because it does not have the permission to connect to the > filesystem socket. ah. > Then this means that either this filesystem is mounted with nosuexec mount > option set, or authdaemond is running un

[courier-users] sendmail error 450 revisited

2004-04-25 Thread Chris Petersen
Well, I finally found the time to reconfigure and reinstall courier from scratch, and this problem still exists. As a non-root user, I run: /usr/lib/courier/bin/sendmail -t -i [EMAIL PROTECTED] 450 Service temporarily unavailable. [EMAIL PROTECTED]: invalid address. where [EMAIL PROTECTED] is ac

Re: [courier-users] sendmail error 450?

2004-04-22 Thread Chris Petersen
On Wed, 2004-04-21 at 19:51, David Newall wrote: > On Thu, 2004-04-22 at 03:06, Chris Petersen wrote: > > -r-s--x--x 1 root daemon 140187 Apr 6 21:07 > > /usr/lib/courier/bin/sendmail* > Are you running /usr/lib/courier/bin/sendmail or a sendmail from > somewhere els

Re: [courier-users] sendmail error 450?

2004-04-21 Thread Chris Petersen
> probably the sticky bit on your sendmail is wrong it should look something > like this > 28 -r-s--x--x1 root daemon 28120 Apr 6 08:42 > /usr/sbin/sendmail > looks set to me: -r-s--x--x 1 root daemon 140187 Apr 6 21:07 /usr/lib/courier/bin/sendmail* -Chris --

Re: [courier-users] sendmail error 450?

2004-04-21 Thread Chris Petersen
> you cannot send a spamtrap email address to a mailing list? makes no > sense... Everything runs on my dsl line. Even the connections coming in that get denied will slow down my connection. > 450 Service temporarily unavailable. > typically means that it cannot connect to the backend, is this

[courier-users] sendmail error 450?

2004-04-21 Thread Chris Petersen
After a recent courier upgrde to .45.x (I'm running .4 but it started with the .45 series), the commandline sendmail wrapper seems to be working oddly or not at all.. if I type: sendmail [EMAIL PROTECTED] where [EMAIL PROTECTED] and __.__ are of course just @ and . I get: 450 Service temporari

Re: [courier-users] Re: changing passwords/etc via authdaemon?

2004-04-20 Thread Chris Petersen
> "imap", "pop3", "webmail", or "system". So out of curiosity, which one of these do I use? Is it the service I'm connecting from? Or the service of the password I'm changing? (which doesn't make sense since the password is global). Anyway, if anyone is interested, I have a password-changing m

Re: [courier-users] Re: changing passwords/etc via authdaemon?

2004-04-19 Thread Chris Petersen
> Yes, it does. The socket command is: > PASSWDserviceuseridoldpasswordnewpassword By "service", do you mean the word "service" or the name of a service? If it is the latter, could you give me some examples? I've tried just the word "service" and it changes my userdb passwords - I just want to

Re: [courier-users] Re: changing passwords/etc via authdaemon?

2004-04-16 Thread Chris Petersen
> This is because both of them are nothing more than glorified IMAP clients, > and IMAP has no facility to change passwords. well, yes. but both have password-changing plugins that support several different password-changing methods (ldap, etc). > Yes, it does. The socket command is: > PASSWDs

[courier-users] changing passwords/etc via authdaemon?

2004-04-15 Thread Chris Petersen
I was just discussing virtual-user password changing with a friend, and how annoying it is not to have a way to easily change passwords via either squirrelmail or imp. Short of writing a kludge for either of these systems to interact directly with the userdb file, I was wondering if the authdaemon

Re: [courier-users] How to get $LOGNAME for virtual users

2004-04-13 Thread Chris Petersen
> Hi, i need to find out localpart and domain for destination virtual user > in maildroprc - $LOGNAME is empty.. this is what I use: import USER if ($LOGNAME ne "") { xfilter "spamc -u $LOGNAME" } else { xfilter "spamc -u $USER" } and yes, it's EXTREM

Re: [courier-users] Supporting multiple email domains

2004-03-17 Thread Chris Petersen
> 1) Inbound mail to "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]" will be properly > delivered (I understand the setup of virtual users) This is what an MX record is for. > 2) Outbound mail that they send to others will be verifiable (against an > MX record?) so as not to be categorized/rejected

Re: [courier-users] wildcards in hosteddomains

2004-03-17 Thread Chris Petersen
> I have 30 linux machines in the same domain and I want all mail from taht > machines to go to my server. And I don't want to make 30 entries in > aliases :( Why not just set up a root alias on each machine to point to [EMAIL PROTECTED] This is what I do with my own machines - instead of forward

[courier-users] bofh badfrom

2004-03-14 Thread Chris Petersen
m Is it really necessary to do both of these? or does the "." one also match domain.com without any subdomain? -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php

Re: [courier-users] amavisd-new-20030616-p7 and Courier

2004-02-25 Thread Chris Petersen
: > Value: $a > Value: foo Actually, single quotes don't parse escaped characters, either... You'd get: Value: $a\nValue: foo -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http:/

Re: [courier-users] integrating courier + virus + spam checking

2004-02-09 Thread Chris Petersen
You could probably set SpamAssassin up with a mysql user database. But that's probably better left to their list. -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php

[courier-users] USER vs LOGNAME in maildroprc

2004-01-14 Thread Chris Petersen
xfilter "spamc -u $LOGNAME" } This is just weird, since from what I've seen, LOGNAME only exists when USER doesn't. I figured I'd mention this, since it ju

Re: [courier-users] deleting messages reviewed...

2004-01-13 Thread Chris Petersen
at just to dump a message? What ownership issues? /dev/null is world-writable. I use "to /dev/null" in my .mailfilter all the time. Or am I misunderstanding what you're trying to do? -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blad

Re: [courier-users] Backup MX configuration

2004-01-11 Thread Chris Petersen
the original sender (which is why my friend who secondaries the rest of my services told me to stop using him as a secondary MX - he refuses to "give in" to spammers by imposing manual bofh rules). This is one reason why spammers prefer to direct mail towards secondary MX servers rather

Re: [courier-users] Re: SPF record support

2004-01-09 Thread Chris Petersen
bofh, just check to see that an SPF record exists, and if it does, reject the message as spam if it comes from an unauthorized source. That way, SPF will essentially "work" for domains that use it, but still be backwards compatible with those who don't. -- Chris Petersen Programm

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-07 Thread Chris Petersen
These happen SOMETIMES if I use $LOGNAME, but always if I use $USER (do I need to import $USER?). -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php 1U Servers: http:

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-07 Thread Chris Petersen
This seems to work, but just seems overkill - isn't there ONE variable somewhere that will list the courier-user in all instances? -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.c

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-07 Thread Chris Petersen
27;ve tried LOGNAME and USER but these aren't always set properly (eg. when running maildrop via fetchmail). -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php 1U Servers:

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-05 Thread Chris Petersen
Here's my version with the $socket_path variable added, and some code to check both "standard" path locations if the main path isn't found. -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.silic

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-03 Thread Chris Petersen
> I modified my copy of AuthCourier.pm to put this into a $socket > variable, but perhaps a better solution would be to set $socket to a > default initially, and then check that against several defaults (and fix > it) until the file is found. make that a $socket_path variable - it took me a bit to

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-03 Thread Chris Petersen
ok, I think I have it working now. However, I thought I should point out that your hard-coded location of the socket file isn't a good idea. I use the rpm built straight from sam's tarballs, and it puts the socket into /var/spool/courier/authdaemon/socket I modified my copy of AuthCourier.pm to

Re: [courier-users] spamc, virtual accounts and user_prefs

2004-01-02 Thread Chris Petersen
> use Mail::SpamAssassin::AuthCourier; Did this ever get sent in to the SA group? I posted on the SA list about it, but didn't get any replies. It'd be nice to not have to patch each and every version of SA that I install. -- Chris Petersen Programmer / Web Designer Silicon Mec

RE: [courier-users] spamc, virtual accounts and user_prefs

2003-12-20 Thread Chris Petersen
> I didn't see you post there - maybe you should? > It could get incorporated into the main distro that way. I agree. If the SA people could add it as a flag to spamd (--courier-auth or something) as part of the official tree, that would ROCK. Then again, YOU rock. I'm going to have to play wit

Re: [courier-users] spamc, virtual accounts and user_prefs

2003-12-16 Thread Chris Petersen
> spamc passes the username to spamd, which then looks up the user's home > directory. I don't think that moving spamc into place as courier's > delivery agent is going to help, as HOME will not be used. I don't > think that HOME is ever used by SpamAssassin. It's mentioned once in > the cod

Re: [courier-users] spamc, virtual accounts and user_prefs

2003-12-15 Thread Chris Petersen
> (I like feedback :-) Wouldn't a cron job be easier? Like at least a few others, I have "should be spam" and "not spam" maildirs, and a cron job set up (in my case, hourly) to scan those directories with sa-learn (and in my case, delete the messag

Re: [courier-users] regex/pattern .courier-user files?

2003-11-28 Thread Chris Petersen
> This doesn't solve your current problem since you've already done things > this way, but I think a better way to do this in the future is to create > an account called "[EMAIL PROTECTED]", and submit email addresses in the > form of "[EMAIL PROTECTED]" (letting the .courier-default file > sen

[courier-users] regex/pattern .courier-user files?

2003-11-28 Thread Chris Petersen
curious... At some point in the past I decided to track which companies might sell my email address, so following the pattern of a friend, I've started submitting email addresses in the form of [EMAIL PROTECTED] - it works great, and I've even been able to bitch at a couple of companies for viola

[courier-users] courier userdb and user-changed passwords?

2003-11-24 Thread Chris Petersen
I currently use courier for my mail server for a handful of friends/family and about 8 domain names (around 30-40 users). Because the interface is better for novice users, I've set up Horde/IMP as my preferred webmail server. However, it seems that courier's is the only password-changing module m

Re: [courier-users] Re: bofh + secondary MX

2003-10-29 Thread Chris Petersen
> I hope you realize that by using a secondary MX you have gained absolutely > and totally nothing. The only difference that made is that instead of mail > queueing up on the senders' mail relays, the mail gets queued up on the > secondary MX. And exactly what did that gain you? wouldn't it a

[courier-users] bofh + secondary MX

2003-10-28 Thread Chris Petersen
After a 4-hour blackout, I recently (finally) found the energy to get a friend to secondary my mail server, but he now reports a number of annoyances. I have a hefty bofh file - manually adding a lot of badfrom and badmx entries that kill a good 50-75% of my incoming spam. The problem is that whe

  1   2   >