[courier-users] 456 Address temporarily unavailable and aliases

2016-04-14 Thread Jeff Potter
Hi List, What is the expected behavior for incoming email, when: 1) The address is an alias, say, f...@domain.com , that expands to two local users, use...@domain.com and use...@domain.com 2)

[courier-users] Soft quotas for Maildir++?

2016-04-14 Thread Jeff Potter
Is there a way to create soft quotas with a grace period for quota limits on a maildir? We’re seeing too many cases of users coming up against their quotas where we’d like them to be able to go over for some period of time, before enforcing. As for “why not just set the quota larger?”, we

Re: [courier-users] Best practice for SMTP level spam filter

2016-04-11 Thread Jeff Potter
> Most mail gateways that I've worked with deal with this by rejecting > mail when no recipients would accept the message. For messages with > mixed results, the message is accepted and delivered to some and > quarantined for others. Gordon, could one potentially change the replies after the

Re: [courier-users] multiple esmtpd listening ports and Received by line

2015-02-09 Thread Jeff Potter
Normally, primary and secondary MXs are different, separate, servers, running their own mail server; this is a non-issue in that case. You are apparently just using multiple IPs on the same mail server. Yup — which is useful for other reasons (some of the spam filtering stuff doesn’t have

[courier-users] multiple esmtpd listening ports and Received by line

2015-02-08 Thread Jeff Potter
When esmtpd’s PORT is set to multiple IP addresses, is there a way to see in a message which port the connection came in on? That is, assume PORT is set to something like: PORT=10.0.0.1.25,10.2.2.2.25 The header that’s generated and added to emails looks like this: Received: from

Re: [courier-users] multiple esmtpd listening ports and Received by line

2015-02-08 Thread Jeff Potter
I won’t know about those messages, and users won’t know why they didn’t get expected ham… but hopefully that won’t happen much.) -J On Feb 8, 2015, at 6:20 PM, Sam Varshavchik mr...@courier-mta.com wrote: Jeff Potter writes: Is there any way to get it to be “by URL:http

Re: [courier-users] Ports, SSL and STARTTLS for ESMTP

2015-02-07 Thread Jeff Potter
Technically speaking, using port 465 for (authenticated) SMTP over SSL/TLS has been deprecated for a long, long time. Microsoft was long a lone holdout against standards, but recently, Apple and Google have joined them, and if you're running a mail service for some 4-digit number of

Re: [courier-users] Ports, SSL and STARTTLS for ESMTP

2015-02-07 Thread Jeff Potter
I’d support such a project, but based on my experience with my users, the ones for whom it would help wouldn’t care about it or understand the need. I’ve started recommending to my clients to use port 465 by default. Using port 465 instead of 587 “fixes” the STRIPSSL attack. I would believe

Re: [courier-users] Ports, SSL and STARTTLS for ESMTP

2015-02-07 Thread Jeff Potter
It doesn't really do that, because MUAs will likely try ports 587 and 25 if 465 doesn't work. As a user, you need to specify that no fallback is acceptable. For instance, in Apple's Mail, the default in Mavericks is Use default ports (25, 465, 587) and Use Secure Sockets Layer (SSL). You

Re: [courier-users] makehosteddomains and deleted domains

2015-02-05 Thread Jeff Potter
effect. I’ll add “courier restart” back into our scripts. -Jeff On Feb 5, 2015, at 1:13 PM, Gordon Messmer gordon.mess...@gmail.com wrote: On 02/05/2015 08:14 AM, Jeff Potter wrote: Is it possible that courier is cacheing hostnames or MX records for domains in a way that isn’t purged when

[courier-users] makehosteddomains and deleted domains

2015-02-05 Thread Jeff Potter
Hi Sam, One of my users has two domains, both of which were listed in the hosteddomains file. He changed the MX for one of the domains to a third party system, our server removed the domain from hosteddomains and then ran the makehosteddomains command to rebuild the .dat file, and then he

Re: [courier-users] MX should not point to a CNAME?

2015-01-22 Thread Jeff Potter
... My understanding of why CNAMEs are prohibited for MX hosts is that they can introduce loops. The last paragraph of Section 5.1 explains how a sender should attempt to locate itself in the list of MXes, ordered by preference. You may want to compare that paragraph with the historic

Re: [courier-users] MX should not point to a CNAME?

2015-01-22 Thread Jeff Potter
The other issue: a sending server can resolve the CNAME and rewrite the address on you. I saw this years ago. E.g.: foo.com http://foo.com/ with a CNAME of “bar.com http://bar.com/” foo.com http://foo.com/ with an MX of “some-good-mailserver.example.com

Re: [courier-users] Failed filter restarts when restarting courier and filter times out when stopping

2015-01-12 Thread Jeff Potter
Why is filterctl involved in service courier restart at all? As far as I can tell, courier's sysvinit script doesn't invoke filterctl and neither does courierfilter. What am I missing? Yes, that was a misnomer. filterctl enables or disables individual filters; and courierfilter is the

Re: [courier-users] Failed filter restarts when restarting courier and filter times out when stopping

2015-01-10 Thread Jeff Potter
Thanks, Gordon! I don’t know how I missed that. (Well, I do, it was 14 years ago when I wrote this script. Sigh.) -J On Jan 9, 2015, at 6:18 PM, Gordon Messmer gordon.mess...@gmail.com wrote: On 01/09/2015 01:06 PM, Jeff Potter wrote: We have to restart courier many times a day to pick up

[courier-users] Format of Received headers when running in IPv4

2015-01-05 Thread Jeff Potter
Hi Sam, When running courier compiled with “--without-ipv6”, submit.C still formats the Received headers with brackets around the IP address, like so: Received: from mail-qa0-f47.google.com ([209.85.216.47]) Most mail systems format would format it without the brackets in IPv4 cases:

Re: [courier-users] Format of Received headers when running in IPv4

2015-01-05 Thread Jeff Potter
(TL;DR: make sure DNS lookups are enabled in esmtpd conf to avoid RDNS_NONE false positives in SpamAssassin.) When running courier compiled with “--without-ipv6”, submit.C still formats the Received headers with brackets around the IP address, like so: ... Received: from

Re: [courier-users] Remove Received headers in outgoing authed email?

2014-10-03 Thread Jeff Potter
of 10.1.2.3). This works for us because esmtpd-msa is listening on an IP address that’s dedicated for authenticated senders; that is, AUTH_REQUIRED=1”. Thanks! -Jeff On Sep 25, 2014, at 7:05 PM, Sam Varshavchik mr...@courier-mta.com wrote: Jeff Potter writes: Hi Sam, Oh, clever. I wouldn’t

Re: [courier-users] Remove Received headers in outgoing authed email?

2014-09-25 Thread Jeff Potter
SSLPORT with your suggestion.) Ideas? Thanks! -Jeff On Sep 24, 2014, at 6:33 PM, Sam Varshavchik mr...@courier-mta.com wrote: Jeff Potter writes: Hi List, How do we remove the initial Received header in outgoing email from our servers, or at least mask out the IP address of our sending

[courier-users] Remove Received headers in outgoing authed email?

2014-09-24 Thread Jeff Potter
Hi List, How do we remove the initial Received header in outgoing email from our servers, or at least mask out the IP address of our sending user? We have an instance of smtpd running specifically for authenticated users (AUTH_REQUIRED=1). I looked through mailing lists; no luck; and I tried

Re: [courier-users] Remove Received headers in outgoing authed email?

2014-09-24 Thread Jeff Potter
needed. How can we remove authed users source IP address? I would think removing the initial Received from header would be the cleanest way, but other solutions would work, too. -Jeff On Sep 24, 2014, at 10:05 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 24.09.14 08:37, Jeff

Re: [courier-users] Rate limiting

2013-09-11 Thread Jeff Potter
We're seeing this too, more and more recently in the past few months. It would be fantastic if courier could internally incorporate rate-limiting on outgoing mail, preferably per auth-user in esmtpd and per uuid in local. -Jeff On Sep 10, 2013, at 7:24 AM, Mark Constable ma...@renta.net

Re: [courier-users] How to block a local user from sending email?

2013-09-05 Thread Jeff Potter
Thanks, Alessandro -- looking through the documentation, I'm missing where it defines what valid sources are for enablefiltering -- I tried courierd, courierlocal and local, but no luck. If it helps, here's the received header. man courier Search for enablefiltering. Thanks, Sam --

Re: [courier-users] How to block a local user from sending email?

2013-09-04 Thread Jeff Potter
(localhost [127.0.0.1]) (uid 501) by some-hostname-here with local; Wed, 04 Sep 2013 21:04:15 -0400 id 00370289.5227D88F.5763 On Sep 3, 2013, at 2:40 PM, Alessandro Vesely ves...@tana.it wrote: On Tue 03/Sep/2013 17:58:33 +0200 Jeff Potter wrote: Does anyone know how

[courier-users] How to block a local user from sending email?

2013-09-03 Thread Jeff Potter
Hi All, Does anyone know how to block a local user from being able to send email through the command line, while otherwise allowing other users to continue with local submission? (I.e. I'd like to block all email from user id 1043, let's say). I've looked through the docs and searched

[courier-users] ezmlm-idx + courier possible solution

2007-07-12 Thread Jeff Potter
Hi List -- sending this here for the archives, Google-users, and posterity's sake. I've in the past posted questions trying to figure out how to get things like Mailman setup in a vhost fashion (not so easy... Mailman seems to want one install per server) or to get ezmlm-idx installed

[courier-users] couriermlm web interface? webmlm? anything else?

2007-04-03 Thread Jeff Potter
Hi List, Is anyone aware of any web interfaces (a-la mailman) that work with couriermlm for allowing users to subscribe; subscribers to view archives, and admins to view/edit subscriber lists (and other settings)? Sam, if nothing exists yet (webmlm?), would you be open to me writing

Re: [courier-users] Mail.app shows Empty Inbox

2005-09-28 Thread Jeff Potter
Which version of Mail? (Are you running OS X 10.3 or 10.4?) Make sure you set IMAP Path Prefix under Preferences-Accounts-Advance to INBOX. It seems you have to do this before Mail ever downloads any data; so set up a new account; enter an invalid password to prevent it from connecting;

Re: [courier-users] REPOST: Wildcard domains and webadmin?

2005-05-12 Thread Jeff Potter
In the non-webadmin world, if I want courier to handle mail for all domains of the form example.com and *.example.com, I put the following two lines into esmtpacceptmailfor: example.com .example.com And in this same non-webadmin world, I believe that I only should be putting this into

Re: [courier-users] Re: x-uuencode to 7bit question

2005-02-24 Thread Jeff Potter
Hi Sam, I should add a bit more detail, I realize. We've got a client who's getting email from someone else's server, where Courier is modifying an attachment X-Mime-Autoconverted: from x-uuencode to 7bit by courier 0.45. The modified attachment can't be uudecoded on Windows or Unix (but can

[courier-users] x-uuencode to 7bit question

2005-02-23 Thread Jeff Potter
Hi All, If a remote server sends Courier (0.45) what it claims is a uuencoded message, but the message includes non-uuencoded valid bits (e.g. ^M from a Mac); what does Courier do? A) Autoconverts it to 7-bit; leaving all the non-valid characters intact. B) Autoconverts it to 7-bit;

[courier-users] Re: x-uuencode to 7bit question

2005-02-23 Thread Jeff Potter
If a remote server sends Courier (0.45) what it claims is a uuencoded message, but the message includes non-uuencoded valid bits (e.g. ^M from a Mac); what does Courier do? Hi All, I should add a bit more detail, I realize. We've got a client who's getting email from someone else's server,

Re: [courier-users] determine BCC original recipient

2004-12-31 Thread Jeff Potter
Multiple BCC deliveries to one host require an equal number of distinct SMTP sessions, since the BCC recipient is specified via the envelope RCPT TO: and that can only be one address, correct? Therefore, this header could be named X-Original-BCC (or somesuch) and applied in the case that the

[courier-users] SpamAssassin+CourierFilter idea questions

2004-12-22 Thread Jeff Potter
So I have a crazy idea, and want someone (*cough* Gordon *cough* Sam) to tear them to shreds. I'd like to run spamc inside a courier filter, and if the score is too high, reject the message at the smtp layer. (That's not crazy.) The problem with this is that some users invariably do not want

Re: [courier-users] Any way for Courier to run dot-courier before returning status code on SMTP layer?

2004-12-18 Thread Jeff Potter
OK, so the filters are run for every locally delivered message. But can I whitelist some recipients unconditionally, no bloclists applied, or do I have to use BLOCK2. In the latter case, how do I get the corresponding text, what courier returns as the description of the 5xx, so I can print it.

[courier-users] Any way for Courier to run dot-courier before returning status code on SMTP layer?

2004-12-17 Thread Jeff Potter
Hi All, I'm wondering if there's any way that Courier can do this: 1. Receive a message on SMTP 2. After getting .CRLF, but before responding 250 Ok... 3. Attempt to deliver the mail: if there are delivery instructions in a .courier file, run them. 4. If one of the delivery instructions generates

Re: [courier-users] SPF patch proposal (was: 'sender' and 'receiver' attributes in Received-SPF?)

2004-09-01 Thread Jeff Potter
In the absence of any response to my recent email (quoted at the bottom of this message), I am hereby proposing a patch to the latest version of Courier which will solve the problem of us not being able to tell which Received-SPF headers were added by Courier's message processing, and which may

Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-18 Thread Jeff Potter
The trouble with using a .courier-default file (as I've sadly discovered) is that you end up receiving all email, even those which can't possibly be delivered. Of course, the emails that can't be delivered get bounced; but my experience is that the DSN's are undeliverable and so sit in the queue

Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-18 Thread Jeff Potter
Setting to use maildrop just seemed to break things. In what way? What happens? Are there any clues in maillog? And setting it to: DEFAULTDELIVERY=| /usr/lib/courier/bin/preline ./Maildir Just gave a bunch of permission denied errors in the log. Right -- ./Maildir isn't the name of a program. man

Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-18 Thread Jeff Potter
The problem isn't mail sent to valid addresses, it's mail sent to non-existant ones. Normally they would be rejected by esmtpd, but when you have a .courier-default alias they are accepted. ... I suppose you have a couple of options. You could add some logic to your courier-default file to

[courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Jeff Potter
Say you have a single mailbox (virtual or not, doesnt matter): [EMAIL PROTECTED] However, sometimes people (mostly friggen spammers) don't include the TO email address in the email. This gets left out somehow. However, it still Hmm... Is there a way to do this at the server ? I can surely setup

Re: [courier-users] hosteddomains with sub-domains

2004-05-10 Thread Jeff Potter
Just a heads up, but the aliases table is not checked for wildcard dns. You'll need to create a real user [...] Are there any plans to change it? Checking aliases table would be very nice - aliases were thought not to create many dummy users, which only send their e-mail to another account(s).

[courier-users] authmysql and dash-extensions are broken

2004-05-09 Thread Jeff Potter
=== --- ChangeLog Sun May 9 14:51:51 2004 +++ ChangeLog Sun May 9 14:50:52 2004 @@ -1,2 +1,6 @@ +2004-05-09 Jeff Potter [EMAIL PROTECTED] + + * authlib/authmysqllib.c: fixed dash-extensions + 2004-05-01 Brian Candler [EMAIL PROTECTED

[courier-users] Re: quoting Return-Path in header

2004-05-09 Thread Jeff Potter
; - my_rcptinfo.submitfile.Message(headernameorig); my_rcptinfo.submitfile.Message(:); Index: ChangeLog === --- ChangeLog Sun May 9 14:51:51 2004 +++ ChangeLog Sun May 9 14:55:50 2004 @@ -1,2 +1,7 @@ +2004-05-09 Jeff Potter

Re: [courier-users] error 534 Message header size, or recipient list... triggered by message body??

2004-05-09 Thread Jeff Potter
Maybe you could fix it? Heh. That's a good suggestion... ;-) Some of the threads on this list are insane. It would take far less time and effort to simply edit the 2-3 lines of code and recompile than to argue technical minutia day after day and get nothing done. Given that you know the

Re: [courier-users] hosteddomains with sub-domains

2004-05-09 Thread Jeff Potter
aliases --- support: user1   I would like to add the ability to have mail addressed to support go to different accounts according to the sub-domain or domain used. Mail that is addressed to support but not to that specific sub-domain for mydomain.com and mydomain.net should be delivered as

[courier-users] Re: error 534 Message header size, or recipient list... triggered by message body??

2004-05-08 Thread Jeff Potter
2.1.1. Line Length Limits There are two limits that this standard places on the number of characters in a line. Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF. And the next paragraph reads: The 998 character

Re: [courier-users] error 534 Message header size, or recipient list... triggered by message body??

2004-05-08 Thread Jeff Potter
Anyway, how do they get 5000 characters on a line? They must be trying hard, as I rarely send emails with anything near that amount of characters, and any decent email client linewraps at 80-100 characters, even hotmail! Exactly what client are they using, and what are they trying to do? I

[courier-users] Re: quoting Return-Path in header

2004-05-08 Thread Jeff Potter
What other software expects Return-path? How would changing to X- break anything? It's not going to break anything in Courier itself (save for that reformail bit). As far as other stuff out there, there are no guarantees. All bets are off. I tested postfix -- they simply strip spurious

Re: [courier-users] error 534 Message header size, or recipient list... triggered by message body??

2004-05-08 Thread Jeff Potter
Given that the RFCs are vague, and that EVERY server we've tested (except Courier) supports insanely long line lengths (we tested with 1,000,000 byte-long lines), it looks incredibly bad for us and Courier that it doesn't work on our system. There's a lot of RFC-enforcing that I'm willing to argue

[courier-users] error 534 Message header size, or recipient list... triggered by message body??

2004-05-07 Thread Jeff Potter
Hi Sam, We've had a number of people complain about Courier refusing to accept messages with the 534 Message header size, or recipient list, exceeds policy limit error. Problem is, their messages don't exceed the limit in the headers. (I can send you tcpdumps of the smtp transaction off-list

[courier-users] How do I disable starttls?

2004-05-06 Thread Jeff Potter
Ok, Courier-buffs, how do I disable starttls in esmtpd AND have EHLO stop advertising starttls, without recompiling / installing / etc? I'd think that commenting out either the couriertls or pem variable would do it -- and it does, to a degree: issuing starttls in smtp will fail with a message

[courier-users] Re: quoting Return-Path in header

2004-05-03 Thread Jeff Potter
Is quoting extra Return-paths with defined somewhere? (e.g. rfc?) I'd thought you decided to quote extra return-paths to make it unambiguous which one was the real return-path, to prevent looping, etc., as a boundary case. I don't think it's really defined anywhere. It's one of those

[courier-users] Re: RFC 1035

2004-05-03 Thread Jeff Potter
Well, one thing that Courier _could_ do when it encounters an unresolvable MX record would be to try the next MX record in the series. The original post said that the MX records look like this: MX 8 n.n.n.n. MX 10 mail.foobar.com. In this case, Courier could

[courier-users] quoting Return-Path in header

2004-04-30 Thread Jeff Potter
Sam, Is there any problem with changing the quoting of erroneous Return-Path headers from Return-path: to X-Return-path? (Courier escapes incoming messages with stray Return-path headers.) That is, change submit.c line 1302 to be: 1299:// Quote Return-Path:'s at this point

Re: [courier-users] Re: quoting Return-Path in header

2004-04-30 Thread Jeff Potter
There's nothing technically wrong with changing the quoting prefix, however I'd venture a guess that a lot more software expect Return-Path: then the number of broken software written by Microsoft (as hard as this may be to believe). In short: more stuff is likely to break than would get fixed.

Re: [courier-users] Re: minor bug in pop3 server wrt UID and first message

2004-04-29 Thread Jeff Potter
is true for the first message ever received in an email account (e.g., the first message happens to have a unique id of 0), which is causing the shorter UID code to be bypassed for that first message... Is this easy to get fixed? No. This occurs due to legacy reasons. Previously long UIDs

[courier-users] minor bug in pop3 server wrt UID and first message

2004-04-28 Thread Jeff Potter
Hi Sam, A client of mine managed to find the following boundary case in the Pop3 server (I'm running 0.45.something). (1) create a new mail account (2) wait for the maildir to be created [on our system, there are scripts that do this] (3) send a message (from webmail, cone - whatever)

[courier-users] customized quota warning messages? delayed delivery messages?

2004-04-07 Thread Jeff Potter
Hi List, I've had a user request the following 2 features; I don't think Courier supports them. Any chance they can get added to the wish list? Anyone have patches that do this? 1) In quota warning messages, I'd like to see you are using xxxMB out of a quota of MB. Alternatively, to see

[courier-users] upgrading gripe

2004-03-29 Thread Jeff Potter
Hi List, Why does courier always seem to fail in some new way whenever I upgrade it? (Can .dist and .bak files be safely deleted?) Going from 0.44.2 tonight to 0.45.2.20040325, I went from a stable setup (smtp+auth+pop+imap+ssl-on-everything) to a barely functional setup (smtp+pop+imap; no

Re: [courier-users] wildcards in hosteddomains

2004-03-17 Thread Jeff Potter
Using the above example, I have above two lines in hosteddomains, I know the difference between spaces and tabs, I run makehosteddomains, and I have aliases [EMAIL PROTECTED] and [EMAIL PROTECTED] But when I try to send mail to addresses [EMAIL PROTECTED] or [EMAIL PROTECTED], courier says User

Re: [courier-users] wildcards in hosteddomains

2004-03-17 Thread Jeff Potter
mail:~# makealiases aliasexp: ERR: [EMAIL PROTECTED]: 553 Syntax error: [EMAIL PROTECTED] So what now? :) It needs to be defined as an address, not an alias. best, Jeff --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux

Re: [courier-users] wildcards in hosteddomains

2004-03-17 Thread Jeff Potter
Sorry, I was only half-asleep before... You''re adding the entry into the aliases file, not the hosted domain file. The man page is right, it's under the makehosteddomains page, not makealises page. :-) So, in /etc/courier/hosteddomains (or whereever your configs live), you want: pro.onet.pl

Re: [courier-users] RE: Dialback verification? (e.g. smtp sender check)

2004-03-09 Thread Jeff Potter
Julian, thanks! This looks excellent. I'll take a pass at installing your perl filter and integrating CallBack, and post notes to the list if successful. best, Jeff On Mar 6, 2004, at 4:48 AM, Julian Mehnle wrote: Hi Jeff, hi Bill, Bill Taroli [EMAIL PROTECTED] wrote: The relevant part of the

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

2004-02-25 Thread Jeff Potter
Being suspicious of the single quotes, I changed them to double -- it didn't complain either way -- but it caused no change in behavior. I also confirmed there are no other instances where these variables are being set in the file. Doesn't matter in this case. The rule in perl is that single

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

2004-02-22 Thread Jeff Potter
The strange thing I've noticed, upon following the README.courier and the courierfilter manpage, is that .../sbin/courierfilter start never seems to complete. I'm assuming this is because amavisd doesn't daemonize and terminate... but is this expected? If so, I'm wondering whether I need to

[courier-users] Re: Amavis/SpamAssassin/Anti-Virus Recommendations/Experiences

2004-02-17 Thread Jeff Potter
Having got Courier moving mail, I want to add in anti-virus and spam scanning. I've read the docs/homepages for Amavis and SpamAssassin (and Clam) - but would like some recommendations. What version/variant of Amavis (-ng, -new, etc.) seems to play best with Courier? Is a

Re: [courier-users] Re: Amavis/SpamAssassin/Anti-Virus Recommendations/Experiences

2004-02-17 Thread Jeff Potter
This works? How are you invoking it from the Courier side? maildrop? filter? I'm curious because in my own investigations I was under the impression that this setup had drawbacks in function or config... but I can't remember specifics now. amavis-new supports courierfilters natively -- just

Re: [courier-users] freemail list and questions about yahoo...

2004-01-05 Thread Jeff Potter
I found that the freemail option failed for forwarding addresses; e.g. someone from yahoo.com sending legit email to my alum address, which forwards to my courier box, was rejected. Unless you know that no users on your box is forwarding mail in from another location, I'd avoid the freemail

[courier-users] enablefiltering for smtp but not auth-smtp?

2003-12-22 Thread Jeff Potter
Hello List, With courierfilters, are authenticated esmtp transactions filtered as well? (enablefiltering contains esmtp.) Is there any way to turn off courierfilters for auth-smtp? I'm running Gordon's excellent pythonfilter, but had issues with Eudora (5.2.1) barfing all over the retry-send

[courier-users] Re: Wildcard DNS + Courier? (20031211 patch)

2003-12-12 Thread Jeff Potter
: ChangeLog === --- ChangeLog Sun Nov 23 14:06:00 2003 +++ ChangeLog Sun Nov 23 15:39:17 2003 @@ -1,2 +1,9 @@ +2003-11-23 Jeff Potter [EMAIL PROTECTED] + + * courier/libs/islocal.c: Added .domain.com checks so that hosteddomain

[courier-users] Re: Wildcard DNS + Courier? (revised patch)

2003-11-23 Thread Jeff Potter
+406,3 @@ /BODY /HTML - \ No newline at end of file + Index: ChangeLog === --- ChangeLog Sun Nov 23 14:06:00 2003 +++ ChangeLog Sun Nov 23 15:39:17 2003 @@ -1,2 +1,9 @@ +2003-11-23 Jeff Potter [EMAIL PROTECTED] + + * courier

Re: [courier-users] Private email domain??????

2003-11-21 Thread Jeff Potter
You might be able to get away with running a local DNS server on your mailserver (djbdns's tindydns / dnscache would be easy). Only define that domain in DNS; and don't point to any root servers -- effectively, DNS sandbox it. You may want to add firewall rules to prevent IP-addressed based

[courier-users] Re: Wildcard DNS + Courier? (fix patch included)

2003-11-21 Thread Jeff Potter
this into the main branch? best, Jeff - Index: ChangeLog === --- ChangeLog Tue Nov 18 18:21:39 2003 +++ ChangeLog Fri Nov 21 17:07:14 2003 @@ -1,2 +1,7 @@ +2003-11-21 Jeff Potter [EMAIL PROTECTED

Re: [courier-users] Re: Wildcard DNS + Courier? (comments on patch)

2003-11-21 Thread Jeff Potter
There's a problem with this approach. Someone specifying a recipient address of [EMAIL PROTECTED], with sufficient intensity, can cause a DDOS attack. Although DB lookups are relatively fast, this is still something that cannot be ignored. This kind of attack can be mitigated by requiring a

[courier-users] Re: Wildcard DNS + Courier?

2003-11-20 Thread Jeff Potter
I'm working on getting subdomains to work with wildcard dns. I'm still lost, but have tracked down that Courier doesn't even hit the DB with the mysql_select_clause, so my earlier thought of a solution won't work with Courier, as I understand it. Sam, if the line .foobar.com is in

[courier-users] Re: Wildcard DNS + Courier?

2003-11-19 Thread Jeff Potter
What am I missing? A crazy client? ;-) One of my account holders needs this functionality; and having reviewed what he wants to do, it *is* logical, although I'd probably have done it differently. Design decisions aside, though; he's able to run it in sendmail elsewhere (and already in

Re: [courier-users] Re: Wildcard DNS + Courier?

2003-11-18 Thread Jeff Potter
if the line .foobar.com is in esmtpacceptmailfor, why does the mail server accept RCPT TO's in any wildcard subdomain, but then not bother looking up the subdomain info in authlib? Only addresses in local domains are looked up: domains listed in locals or hosteddomains. That would make sense.

Re: [courier-users] Re: Wildcard DNS + Courier?

2003-11-18 Thread Jeff Potter
Do you have *both*: domain.com AND .domain.com - and in that order? Fingers crossed, hoping that'd be it, but nope. Both entries exist, and in that order, in both esmptacceptmailfor and hosteddomains/. I generate all my conf files using some perl scripts tied into a sql db; the only thing I

[courier-users] Re: Wildcard DNS + Courier?

2003-11-18 Thread Jeff Potter
if the line .foobar.com is in esmtpacceptmailfor [and in hosteddomains], why does the mail server accept RCPT TO's in any wildcard subdomain, but then not bother looking up the subdomain info in authlib? I seem to recall seeing this before... have some 3100+ messages on this ML in a Moz

[courier-users] Re: Wildcard DNS + Courier?

2003-11-18 Thread Jeff Potter
Does hosteddomains not support .domain.com? Any reason against supporting it? (I.e., would it break anything?) Because that for a given domain in hosteddomains, .domain.com means that you now have local mailboxes [EMAIL PROTECTED], [EMAIL PROTECTED], etc It's doubtful that you will want to

[courier-users] Wildcard DNS + Courier?

2003-11-17 Thread Jeff Potter
Howdy, List. How can I set Courier up to accept mail for wildcard DNS? I'm using authmysql / courier 0.44. Here's what I would expect to work: 1. mx record for *.foobar.com points at mx.myserver.com 2. .foobar.com added in myserver's esmtpacceptmailfor (note the leading '.') 3.

Re: [courier-users] Wildcard DNS + Courier?

2003-11-17 Thread Jeff Potter
Hi, I'm working on getting subdomains to work with wildcard dns. I'm still lost, but have tracked down that Courier doesn't even hit the DB with the mysql_select_clause, so my earlier thought of a solution won't work with Courier, as I understand it. Sam, if the line .foobar.com is in

Re: [courier-users] Calling a Mail Server's TLS Bluff

2003-07-31 Thread Jeff Potter
I'll second this as a wish-list item -- I recently had to turn off starttls for outbound messages as well, and was surprised that Courier didn't gracefully fall-back. best, Jeff Is there a flag, available today, that can be set that tells courier to _try_ TLS? In other words, if STARTTLS is

Re: [courier-users] Re: return-path header and '' character?

2003-07-29 Thread Jeff Potter
There's nothing to fix. The Return-Path: header is added when mail is delivered to a local mailbox, and contains the envelope return address. Any existing Return-Path: headers in the original message are quoted, so that the message's return address is unambiguous. Duh, of course. MAIL FROM...

[courier-users] return-path header and '' character?

2003-07-28 Thread Jeff Potter
Heo, list! I'm noticing the character gets prepended to the Return-Path line in headers, at least on my system (latest release, running maildrop as delivery agent). How do I fix this? That is, when I manually telnet to port 25, do helo, mail from, rcpt to, data, and give the mail server

[courier-users] quota bounces and delivering second copy elsewhere?

2003-07-28 Thread Jeff Potter
Hello, Is there a way to deliver messages that were sent to a full account to a second account? I.e., how can I get step 3: 1. Mail is sent to user '[EMAIL PROTECTED]'. 2. bob's account is full (using maildrop -w 90), generating bounce to sender. 3. message is then ALSO sent to '[EMAIL

Re: [courier-users] Strange Feature Request...hints/ideas requested

2003-02-21 Thread Jeff Potter
If PHB's just want something 'redundant', do: 1. set up 2 boxes w/ courier; box A and box B. 2. set MX records for mail.domain.com pointing to both A and B; give A priority 10, B priority 20. 3. set all mail to be delivered to, say, /home/mail/X (on both boxes; although when everything's up,

Re: [courier-users] Squirrel Mail set up and working great. Need SSL for security now

2003-02-21 Thread Jeff Potter
To paraphrase sam: Wrong list. The apache list is down the hall, last door on the right. You need to set http://blah's conf to issue redirects to https://blah, and run squirrelmail under the https docroot. Squirrel Mail has no clue it's running under https or http. -J On Friday, February 21,

Re: [courier-users] imap/pop over ssl

2003-02-21 Thread Jeff Potter
Does anyone know of a step-by-step howto for courier-imap ssl? Where can i find out more about what is happening (log files entries?). in imapd-ssl, make sure IMAPDSSLSTART=YES is set. That's all I had to do. Are you sure it's running? % netstat -anp | grep 993 -j

Re: [courier-users] Autoreply not working

2003-02-19 Thread Jeff Potter
And the contents of .mailfilter are (adapted from maildropex): [correo@m3lnxsva02 test]$ cat .mailfilter cc $DEFAULT xfilter reformail -r -t /^To:.*/ getaddr($MATCH) =~ /^.*/; MATCH=tolower($MATCH) #for testing `echo $MATCH vacation.lst ;` to | ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL

[courier-users] USER env variable - can someone w/ authmysql check me?

2003-02-19 Thread Jeff Potter
Howdy, I sent a message to the list a few days back, but didn't hear anything; if you have authmysql installed and are using it with multiple domains, can you do the following as a quick sanity check for me? 1. In one the the virtual users's .courier, add: | env ENV 2. 'cat ~user/ENV | grep

Re: CRAM-SHA1 sucks. was: [courier-users] ESMTP Auth and LDAP problems

2003-02-19 Thread Jeff Potter
On Wednesday, February 19, 2003, at 07:17 PM, Kurt Bigler wrote: The requirement here is that HASHA(HASHB(x)) equals HASHB(HASHA(x)) and perhaps this is not achievable for existing HASHA functons in common use by client software. I don't know anything about CHAP or other methods - these are

Re: [courier-users] Couple quick questions

2003-02-18 Thread Jeff Potter
1.) When I set the ESMTPD to auth required, the esmtp daemon requires authentication even to emails being delivered to the domain. Is this normal? Basically, I would like a way for my road warriors to be able to authenticate and use the SMTP without getting a relaying denied error. I haven't

Re: [courier-users] how to make email addresses case insensitive

2003-02-18 Thread Jeff Potter
touch /etc/courier/locallowercase (or wherever your courier files live) -j On Tuesday, February 18, 2003, at 01:38 PM, Kiran Kumar Vangaveti wrote: Hi, Does any one have an idea howto make the email addresses case insensitive. regards KIRAN

Re: [courier-users] Apple's Mail.app + courier-imap

2003-02-18 Thread Jeff Potter
Set 'IMAP Path Prefix' (under Advanced) in Mail-Preferences-(account) to 'INBOX' (*no* period after), BEFORE you finish setting up the account. If you've already set up the account, remove and re-add it with INBOX set before you let Mail check the account. -jeff On Tuesday, February 18, 2003,

Re: [courier-users] Re: Problem with authmysql on Debian. Help, please!

2003-02-17 Thread Jeff Potter
Speaking of which, is there any definitive list of which order field have to be returned in when you use MYSQL_SELECT_CLAUSE? I ask as the example and the list seem to differ. username, cryptpw, clear, uid, gid, homedir, ?(maildir?), quota, ?(real name?) This is the order that I'm using; the

[courier-users] User / Host env variables incorrect in authmysql w/ vhosting

2003-02-16 Thread Jeff Potter
Is this the correct behavior? Using authmysql, with a table that defines 'address', with entry: '[EMAIL PROTECTED]' In authmysqlrc, using MYSQL_SELECT_CLAUSE (yup, labeled 'EXPERIMENTAL'), Select blah, blah, ... blah where address = '$(local_part)@$(domain)' In [EMAIL PROTECTED]'s .courier:

Re: [courier-users] Problems with aliasing

2003-01-29 Thread Jeff Potter
touch /etc/courier/locallowercase -j On Wednesday, January 29, 2003, at 01:44 PM, Hakan Uysal wrote: Hi, we're running 0.39.3 on a RedHat 7.3 machine without any big problems. but today I saw, that our server makes problems using the aliases files. It seems, that the entries there are used

Re: [courier-users] Backing up Maildirs

2003-01-15 Thread Jeff Potter
Hi James, You'll probably want to use rsync - man rsync for details. cheers, Jeff Hi I am trying to work out a way to back up Maildirs to a SMB mounted device. I have being trying to use mirrordir but it seems to skip a lot of files as if they were locked. Do I need

  1   2   >