Re: [courier-users] Slow sending out port 587

2014-12-16 Thread Sam Varshavchik
Mark Constable writes: Thunderbird often hangs when picking up IMAP (starttls) and I've tried all manner of tweaks but it still persists BUT now for the past week trying to send email via port 587 is also taking up to 1 and 2 minutes before the message actually gets accepted and sent from TB.

[courier-users] Updated release of courier, sqwebmail, maildrop, and cone packages

2014-12-14 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html A minor version bump, to correct a makefile issue on some platforms in the last release. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actu

Re: [courier-users] alias user in virtual tables

2014-12-14 Thread Sam Varshavchik
Mark Constable writes: Just a real low priority suggestion that may not be possible but having to have an extra alias@domain user entry in a virtual password table has always annoyed when using the same table with other services. ATM I am seeing 2 SQL lookups, one to check user id/password and

Re: [courier-users] New versions of courier, courier-imap, sqwebmail, maildrop, and cone packages released

2014-12-13 Thread Sam Varshavchik
Hanno Böck writes: Hi sam, unfortunately this introduced another linking order issue. See attached patch. (you probably only need the Makefile.am part and can auto-generate the Makefile.in part) To avoid these in the future you could try to build courier with LDFLAGS="-Wl,--as-needed" in the f

[courier-users] New versions of courier, courier-imap, sqwebmail, maildrop, and cone packages released

2014-12-13 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html Update to the default TLS configuration settings. Resolves several SPF lookup issues. Fixes build issues on some platforms. Changes: • Updated OpenSSL TLS_PROTOCOL settings. Changed the default setting value to support TLS 1, and higher, o

Re: [courier-users] Added whitespace breaks DKIM signatures

2014-12-12 Thread Sam Varshavchik
Alessandro Vesely writes: Right, so it must have been Apple's server (http://www.appmaildev.com/en/dkim/) I tentatively installed the following patch. It prevents wrapping without apparently causing any blatant malfunction. What would you say about it? (I didn't explore what unexpected effe

Re: [courier-users] Added whitespace breaks DKIM signatures

2014-12-11 Thread Sam Varshavchik
Alessandro Vesely writes: Sam, when MAL wrote me about this bug I thought it was a sendmail idiosyncrasy. He found that a long display phrase makes the From: header wrapped. I checked several DKIM validators and found (only) one of them succeeded; that is, the From: line wasn't wrapped, li

Re: [courier-users] courierfilter on gentoo

2014-12-10 Thread Sam Varshavchik
tly because uses openrc init system which is much different from >>plain shell init scripts... On 10.12.14 06:49, Sam Varshavchik wrote: >So what. It all boils down to just a start, and a stop. > >The Fedora package installs a systemd unit. Which simply runs the >init script, as a start

Re: [courier-users] courierfilter on gentoo

2014-12-10 Thread Sam Varshavchik
Matus UHLAR - fantomas writes: On 09.12.14 14:54, Gordon Messmer wrote: >IIRC, the gentoo ebuild for courier includes its own init script, and >people have complained about it repeatedly in the past. > >I don't know if it's possible to use Courier's own init script, or why >the gentoo maintainer

Re: [courier-users] courierfilter on gentoo

2014-12-09 Thread Sam Varshavchik
Ben Kennedy writes: Hey all. Does anybody successfully have a working courierfilter setup working on Gentoo? I have been running courier and a couple of filters to run rudimentary spam blocking (pythonfilter, courierfilter, courier-filter-perl) for many years, but the setup has always b

Re: [courier-users] Sendmail -n

2014-12-07 Thread Sam Varshavchik
Alessandro Vesely writes: Hi, setting MIME=none before sending mail from the local host should prevent MIME changes that invalidate DKIM signatures. Is there a way to get those changes before signing, instead? I tried something like this Perl code: $final = `sendmail -n < $outfile`;

Re: [courier-users] smtpaccess and 517 rejects woes

2014-11-30 Thread Sam Varshavchik
Jan Ingvoldstad writes: On Sun, Nov 30, 2014 at 3:19 PM, Sam Varshavchik <mailto:mrsam@courier- mta.com>mr...@courier-mta.com> wrote: At some point, I suppose that the junk senders will wise up and will prudently set up their spam spewers, and at that point this check will

Re: [courier-users] smtpaccess and 517 rejects woes

2014-11-30 Thread Sam Varshavchik
Matus UHLAR - fantomas writes: >> if BOFHCHECKHELO really does what it's documented to do, and what >> indicates this message, then you should not use it, since it violates RFC >> 821 and all its successors. It may cause troubles to you (well, it just >> did...) On 28.11.14 22:09, Marcin 'Rambo

[courier-users] Courier 20141127

2014-11-28 Thread Sam Varshavchik
Development courier build. Download: http://www.courier-mta.org/download.html Changes: - SPF lookups can handle multiple text strings in an SPF DNS record. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT

Re: [courier-users] smtpaccess and 517 rejects woes

2014-11-28 Thread Sam Varshavchik
Marcin 'Rambo' Roguski writes: I receive mail from one server that is (obviously) misconfigured, but - unfortunately - it's in my interest to receive mail from it. Recently I made rejection rules slightly more agressive, so my bofh looks like this: opt BOFHBADMIME=accept opt BOFHCHECKHELO=1 op

Re: [courier-users] Deny relay

2014-11-12 Thread Sam Varshavchik
Stephan Knorr writes: Hi. I am trying to deny authenticated esmtp (on port 587) for local users who have configured their email-client with a foreign from-adress (not in our local domain). Is it possible and how? Maybe a really stupid question but ... Any help appreciated. A mail client au

Re: [courier-users] mailq - spool don't flush

2014-11-12 Thread Sam Varshavchik
mariobe...@bol.com.br writes: Also, you did not indicate which version of Courier you're using, or provide any other information about your configuration, such as whether "servicosocial.uftm.edu.br" is configured as local domain, or if it's a remote address. Some old versions might have a proble

Re: [courier-users] mailq - spool don't flush

2014-11-11 Thread Sam Varshavchik
mariobe...@bol.com.br writes: Hi,   Sorry, follows correct log.   "sost= " correct is "host=" Why did you change/edit the maillog, instead of posting it verbatim? Without accurate, complete, unchanged logs, it's not possible to give an accurate answer. A few other possibilities: The defa

Re: [courier-users] mailq - spool don't flush

2014-11-11 Thread Sam Varshavchik
mariobe...@bol.com.br writes: Hi,   Is a strange situation in spool queue, mailq.   This occurs only with an email account between 1500 accounts.   All email's are delivered though the message does not get out of the spool.   I have a message in the queue since October 31.   Even using cancelms

Re: [courier-users] Turning accounts into honeypots

2014-11-07 Thread Sam Varshavchik
Mark Constable writes: On 07/11/14 21:52, Sam Varshavchik wrote: >> Is it possible to add authmysql twice (and have them behave differently)? > > Nope. You could list authmysql twice, but each instance uses the same config > file. Maybe falling over to different auth backends

Re: [courier-users] Turning accounts into honeypots

2014-11-07 Thread Sam Varshavchik
Alessandro Vesely writes: On Mon 03/Nov/2014 19:48:55 +0100 I wrote: > > For example, as I use MySQL, I could add a "badpw" field in the user table, and > craft a select statement that returns the honeypot's username when the input > local_part matches the compromised password instead of th

Re: [courier-users] Courier and rfc 4408 spf

2014-11-04 Thread Sam Varshavchik
mariobe...@bol.com.br writes: « HTML content follows » Hi,   The problem occurs when the domain is in your SPF record on multiple lines for the TXT record. Domain: algartelecom.com.br TXT record: "v = spf1 ip4: 189.112.116.20 ip4: 200.170.137.98 ip4: 200 170 169 128 ip4: 20 0.

Re: [courier-users] ESMTP configuration problem

2014-10-31 Thread Sam Varshavchik
Neal Nelson writes: Hi. I've been using Courier for some years now without a problem, but I'm just setting up a replacement mail system and I'm stumped. I've installed Courier in a jail on FreeBSD 10.1 (Well, RC3, but it's as good as). Previously I have been running happily on 9.2 with no prob

Re: [courier-users] RHEL7: Mail stays in spool, courierd isn't running

2014-10-26 Thread Sam Varshavchik
Zenon Panoussis writes: I had courier-0.73.1 running happily on an SL 6.5 box until the other day when the box broke down. Motherboard, the whole machine had to be replaced, completely different hardware, hence I couldn't restore the entire system from backup. So I took the opportunity to upgra

Re: [courier-users] Build 20141122 of courier and courier-imap packages

2014-10-23 Thread Sam Varshavchik
Hanno Böck writes: Am Wed, 22 Oct 2014 23:26:16 -0400 schrieb Sam Varshavchik : > Download: http://www.courier-mta.org/download.html Quote: 22-Oct-2014 20141122courier-0.73.2.20141122.tar.bz2 20141122? On my calendar it's october. Package from the future? :-) Sure,

[courier-users] Build 20141122 of courier and courier-imap packages

2014-10-22 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html Changes: - Updated OpenSSL TLS_PROTOCOL settings. Changed the default setting value to support TLS 1, and higher, only. - the OpenSSL version of the mkdhparams script's default changed to a 2048 bit DH parameter key. The RPM package create

Re: [courier-users] iconv charset name bug

2014-10-09 Thread Sam Varshavchik
Tomáš Drbohlav writes: Hello, I have noticed (= crashed into) apparent typo in maildir/maildirinfo.c. In function maildir_info_imapmunge(...) (line +/- 861) there is charset specified like 'utf8' but that is not valid IANA nor GNU libiconv (sic!) understood charset. Is it possible to change i

Re: [courier-users] MYSQL_MAILDIR_FIELD missing

2014-10-03 Thread Sam Varshavchik
Mark Constable writes: On 03/10/14 12:30, Sam Varshavchik wrote: >> ~ grep DEFAULT /etc/courier/courierd (truncated) >> courierd:DEFAULTDELIVERY="| /usr/bin/maildrop" >> courierd:MAILDROPDEFAULT=./Maildir > > What's courierd doing here? You said that you

Re: [courier-users] MYSQL_MAILDIR_FIELD missing

2014-10-02 Thread Sam Varshavchik
Mark Constable writes: courier-imap 4.15-1 and courier-authdaemon 0.66.1 on Ubuntu 14.10 I can't for the life of me figure out why MYSQL_MAILDIR_FIELD / maildir is not returning a value? Oct 3 11:59:41 netserva authdaemond: SQL query: SELECT username, "", password, uid, gid, homedir, "", qu

Re: [courier-users] Prevent fake sender for mail not leaving server

2014-09-29 Thread Sam Varshavchik
Bernd Prünster writes: Now I have noticed that it is possible to connect to my server via SMTP (obviously) and send mail to any valid account configured on the server (also comprehensible). Now if the "mail from:" reads something@ and this domain has no SPF record in place, it is not my place to

Re: [courier-users] Bash shell security issue - CVE-2014-6271

2014-09-26 Thread Sam Varshavchik
Wolfgang Jeltsch writes: Am Donnerstag, den 25.09.2014, 20:56 -0400 schrieb Sam Varshavchik: > Ángel González writes: > > > Sam Varshavchik wrote: > > > > And is Courier affected by the “follow-up” CVE-2014-7169? > > > > > > I don't think the foll

Re: [courier-users] Bash shell security issue - CVE-2014-6271

2014-09-25 Thread Sam Varshavchik
Ángel González writes: Sam Varshavchik wrote: > > And is Courier affected by the “follow-up” CVE-2014-7169? > > I don't think the follow-up exploit is in scope. To use the follow-up > explot, so far, you need to somehow stuff the ">" character into an > emai

Re: [courier-users] Bash shell security issue - CVE-2014-6271

2014-09-25 Thread Sam Varshavchik
Wolfgang Jeltsch writes: Sam Varshavchik wrote that exploits should only be possible via *-default files. I currently do not understand why this is the case. The special thing about *-default files with regard to environment variables seems to be that the DEFAULT variable is set to a part of

Re: [courier-users] Bash shell security issue - CVE-2014-6271

2014-09-25 Thread Sam Varshavchik
Wolfgang Jeltsch writes: Hi, thank you very much for this information. Has there been any new insight into how Courier is affected by this bug? Can the bug be exploited via ways other than default files? And is Courier affected by the “follow-up” CVE-2014-7169? I don't think the follow-up e

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

2014-09-25 Thread Sam Varshavchik
Jeff Potter writes: Hi Sam, Oh, clever. I wouldn’t have guessed at that, ever. Here’s the running command after trying that: /usr/lib/courier/sbin/couriertcpd -stderrlogger=/usr/sbin/courierlogger - stderrloggername=esmtpd-ssl -maxprocs=80 -maxperip=10 -maxperc=10 - pid=/var/spool/courier/

Re: [courier-users] smtpaccess question

2014-09-24 Thread Sam Varshavchik
Lindsay Haisley writes: On Wed, 2014-09-24 at 18:33 -0400, Sam Varshavchik wrote: > With a caveat. "Most specific" here means "octet boundary". I should clarify > that in the man page. > > makesmtpaccess uses Net::CIDR to expand out CIDR to even octe

[courier-users] Bash shell security issue - CVE-2014-6271

2014-09-24 Thread Sam Varshavchik
There was a security issue disclosed today regarding the bash shell. Fixes to bash should already be available on most platforms, or will be available shortly. My initial analysis is that servers running Courier would only be exploitable using this bash security issue if $HOME/.courier-defa

Re: [courier-users] smtpaccess question

2014-09-24 Thread Sam Varshavchik
Bowie Bailey writes: On 9/24/2014 4:22 PM, Lindsay Haisley wrote: > What is the order of processing and precedence of address blocks > in /etc/courier/smtpaccess/* ? It looks to me as if a more specific > block, either whitelist or reject, trumps a more general block so that a > reject of 192.1

Re: [courier-users] courier-unicode

2014-09-24 Thread Sam Varshavchik
Bowie Bailey writes: Thanks. Now that I know to look for the spec.in file, I can see that the dependency starts with courier-0.73.2. I do not see a dependency listed for courier-authlib, so I guess that answers that question for now. However, for the more general question: If I update courie

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

2014-09-24 Thread Sam Varshavchik
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 user? We have an instance of smtpd running specifically for authenticated users (AUTH_REQUIRED=1). I looked through mailing lis

Re: [courier-users] new release?

2014-09-24 Thread Sam Varshavchik
Hanno Böck writes: I'd like to get the spf-related fixes and generally a new courier version pushed to Gentoo. I can do this with the snapshot, however I'd prefer a real release. Sam, can you make a new release based on the latest snapshot? I still want to do some more changes to the rpm packa

Re: [courier-users] courier-unicode

2014-09-23 Thread Sam Varshavchik
Bowie Bailey writes: Is the courier-unicode package actually in use yet? I don't see any reference to it as a dependency in the courier or courier-authlib spec files and the installation instructions on the website say that it's needed as of 0.74. If it is already in use, do I need to rebuild

[courier-users] courier and courier-imap 20140921 snapshots released

2014-09-21 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html Changes: • imap: watchdog timer that kills the IMAP server when the FAM library hangs at initialization will try to log a message to standard error, before dying. • the OpenSSL version of the mkdhparams script's default changed to a 2048 b

Re: [courier-users] problems with esmtpd / cert / pem reading after update to latest snapshot ("no start line")

2014-09-20 Thread Sam Varshavchik
Hanno Böck writes: On Fri, 19 Sep 2014 20:56:26 -0400 Sam Varshavchik wrote: > I just ran a test, and on a medium-powered server, it took 2 minutes > to generate a 2048-bit parameter. That's not too bad, I suppose. A > new install will have to generate that the first time t

Re: [courier-users] problems with esmtpd / cert / pem reading after update to latest snapshot ("no start line")

2014-09-19 Thread Sam Varshavchik
Hanno Böck writes: On Fri, 19 Sep 2014 18:50:51 -0400 Sam Varshavchik wrote: > The certificate file is getting rejected by the OpenSSL library. > That's where this error is coming from. I now found out what is wrong. It seems courier now needs dh params either in the pem file or

Re: [courier-users] problems with esmtpd / cert / pem reading after update to latest snapshot ("no start line")

2014-09-19 Thread Sam Varshavchik
Hanno Böck writes: Hi, I recently tried to test the latest courier snapshots (due to the spf fixes) on one of our servers, however it doesn't really work. When I try to connect with openssl to the smtp-port (25) via starttls I seem to get a connection, however it's instantly terminated. I see

Re: [courier-users] building courier with nonstandard --prefix

2014-09-16 Thread Sam Varshavchik
Christopher Rüprich writes: > Confirm where the libraries are installed. Very good question! The authlib libraries ended up in /opt/courier-0.73.2/lib/courier-authlib (I expected them in /opt/courier-0.73.2/lib). However, adding -L/opt/courier-0.73.2/courier-authlib to LDFLAGS and CPPFLAGS bro

Re: [courier-users] building courier with nonstandard --prefix

2014-09-16 Thread Sam Varshavchik
Christopher Rüprich writes: Thanks, that got me through ./configue, but now I'm stuck with make: /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lcourierauth /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lcourierauthsasl Th

Re: [courier-users] building courier with nonstandard --prefix

2014-09-16 Thread Sam Varshavchik
Christopher Rüprich writes: I'm trying to build and install courier-authlib, courier-unicode and courier to /opt/courier-0.73.2/ So far I installed authlib with: CPPFLAGS=-L/opt/mysql/lib ./configure --prefix=/opt/courier-0.73.2 --sysconfdir=/etc/courier --without-authpgsql --without-authshado

Re: [courier-users] Email forwarding problem

2014-09-12 Thread Sam Varshavchik
Bowie Bailey writes: It looks like I could use reformail to get the same result, but there are no usage examples in the man pages. Is this the right format to add a Delivered-To header? DEFAULTDELIVERY="| /usr/lib/courier/bin/reformail -A'$DTLINE' | /usr/lib/courier/bin/maildrop -w 90" I thin

Re: [courier-users] Ubuntu/Debian package dependencies

2014-09-12 Thread Sam Varshavchik
Mark Constable writes: Sam, is there any way that chpasswd could substitute for expect+tcl? chpasswd only works for root. And if not, is it safe to assume that expect should only be a depends for SqWebMail and not authlib (ie; when sqwebmail is not installed)? Yes, it's only needed by sqwe

Re: [courier-users] Email forwarding problem

2014-09-11 Thread Sam Varshavchik
is not needed. -- Forwarded message ------ From: Sam Varshavchik To: courier-users@lists.sourceforge.net, courier-annou...@lists.sourceforge.net, courier-i...@lists.sourceforge.net, SqWebMail mailing list , Maildrop mailing list Subject: Development builds of courier, sqwebmai

Re: [courier-users] SPF check fails

2014-09-11 Thread Sam Varshavchik
Bernd Wurst writes: Hi Sam. Am 10.09.2014 um 14:26 schrieb Sam Varshavchik: > I think I finally tracked down these spurious SPF failures. It's a bug > triggered by a combination of IPv6, DNS caching, a particular MX > configuration, and probably certain DNS servers only. It&

Re: [courier-users] mailing list filters through sqwebmail

2014-09-11 Thread Sam Varshavchik
Matus UHLAR - fantomas writes: On 10.09.14 08:27, Sam Varshavchik wrote: >Harry Duncan writes: > >>mailing list addresses can be added to sqwebmail through the >>preferences, not sure what the purpose of this is for, was it >>intended for future use? > >It drives

Re: [courier-users] How to do "Split delivery"? (some users on google, some other on courier, same domain)

2014-09-10 Thread Sam Varshavchik
Dino Ciuffetti writes: Example: - mx for mydomain.com points to google; - us...@mydomain.com is defined in google; - us...@mydomain.com is defined in courier; - google is configured for split delivery, routing mails for us...@mydomain.com to courier; - us...@mydomain.com (courier) wants to writ

Re: [courier-users] Email forwarding problem

2014-09-10 Thread Sam Varshavchik
Bowie Bailey writes: On 9/9/2014 7:45 PM, Sam Varshavchik wrote: > Bowie Bailey writes: > >> >> My test case was an email delivered directly from Thunderbird to Courier >> and then cc-ed to the second server via maildrop. The only thing I can >> think of is that

Re: [courier-users] SPF check fails

2014-09-10 Thread Sam Varshavchik
Bernd Wurst writes: Hello. I configured courier MTA to check SPF for incoming mail. At the moment, we check only HELO-SPF. This worked for a couple of years without problems. This is the configuration in bofh opt BOFHSPFTRUSTME=1 opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail opt BO

Re: [courier-users] mailing list filters through sqwebmail

2014-09-10 Thread Sam Varshavchik
Harry Duncan writes: mailing list addresses can be added to sqwebmail through the preferences, not sure what the purpose of this is for, was it intended for future use? It drives the logic for selecting which email addresses are included when you reply to a message. If a message is addres

Re: [courier-users] Email forwarding problem

2014-09-09 Thread Sam Varshavchik
Bowie Bailey writes: On 9/8/2014 7:51 PM, Sam Varshavchik wrote: > Bowie Bailey writes: > >> On 9/5/2014 7:39 PM, Sam Varshavchik wrote: >>> The presence of the "From " header /after/ the blank line is a tell-tale >>> sign that the message text was

Re: [courier-users] Exempt email from being blocked by the set size limit

2014-09-09 Thread Sam Varshavchik
Ryta Kashemire writes: « HTML content follows » Hi Courier users I am running courier on my inbound mail server I would like to exempt email from a particular domain from being blocked by the email size limit set. Is there a way to do this?? Awaiting your quick and timely response You

Re: [courier-users] No Return-Path in forwarded mails

2014-09-09 Thread Sam Varshavchik
Stephan Knorr writes: Hi. I have sqwebmail with maildrop/sendmail for mail-filtering. Everything runs fine, only the 'Return-Path:' in the headers of forwarded mails is empty. What can i do to fix that? This is intentional, to avoid potential forwarding loops. pgpXuWVis5K6v.pgp Descriptio

Re: [courier-users] Email forwarding problem

2014-09-08 Thread Sam Varshavchik
Bowie Bailey writes: Interesting, but that doesn't really give me what I'm looking for. I want to see the full text of the smtp conversation including the text of the email as it is being sent. I can see some of that in the strace, but if it is all there, it would take way too much effort to r

Re: [courier-users] Email forwarding problem

2014-09-08 Thread Sam Varshavchik
Bowie Bailey writes: On 9/5/2014 7:39 PM, Sam Varshavchik wrote: > The presence of the "From " header /after/ the blank line is a tell-tale > sign that the message text was delivered to an mbox file, and then read back > from it, before being sent again. The "From &qu

Re: [courier-users] Email forwarding problem

2014-09-05 Thread Sam Varshavchik
Bowie Bailey writes: For one of my users, I am cc-ing his email to a second Courier server. For some reason, when I do this, the mail that arrives at the other server has a blank line inserted between the original headers and the headers added by the second server. This does bad things to the e

Re: [courier-users] authdaemond password debugging

2014-09-02 Thread Sam Varshavchik
Mark Constable writes: On 02/09/14 12:49, Sam Varshavchik wrote: >> Sep 2 11:35:45 s2 authdaemond: >> supplied password 'user_pw' does not match passwd 'db_pw' >> >> a) does not provide the above line even though both have almost exactly >>

Re: [courier-users] authdaemond password debugging

2014-09-01 Thread Sam Varshavchik
Mark Constable writes: a) server running Debian 6 w/ courier-authdaemon 0.63.0-3 b) server running Ubuntu 14.04 w/ courier-authdaemon 0.63.0-6ubuntu1 b) server provides the below when a password fails... Sep 2 11:35:45 s2 authdaemond: supplied password 'user_pw' does not match passwd 'db_pw

[courier-users] New releases of Courier, Courier-IMAP, SqWebMail, and maildrop packages

2014-09-01 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html Minor releases of Courier, Courier-IMAP, SqWebMail, and maildrop packages, fixing assorted bugs. Changes: * Building these packages now requires the Courier Unicode library package to be installed first, various unicode-related routines fr

Re: [courier-users] rcptfilter - smtpfilter with local and remote recipients, You are (not) whitelisted

2014-08-31 Thread Sam Varshavchik
Harald Wolf writes: In rcptfilter I end with EXITCODE 99  and in most cases smtpfilter starts.   But: if there is as mail with almost one local hosted mailaddress and one on another mailserver I always got You are whitelisted by this recipient … Please try again later OR You are whitelist

Re: [courier-users] [PATCH] SPF "include" recursion handled improperly

2014-08-19 Thread Sam Varshavchik
Xepher writes: I've attached a patch (spf-recursive.patch) which, I believe, properly resolves the issue. However, as the current SPF tests provided with courier (./testspf -test=1) do not work (the DNS records used are no longer configured with SPF as far as I can tell) I don't have proper

Re: [courier-users] CourierMTA+StartSSL Free Certificate=no shared cipher

2014-08-16 Thread Sam Varshavchik
Matus UHLAR - fantomas writes: >On 08/15/2014 06:18 PM, Matus UHLAR - fantomas wrote: >> On 15.08.14 17:18, sergio wrote: >>> Hello all courier users! >>> I've successfully installed Courier 0.66.1 on Ubuntu 12.04. All is >>> working perfectly, but when I add free certificate from StartSSL and t

Re: [courier-users] CourierMTA+StartSSL Free Certificate=no shared cipher

2014-08-15 Thread Sam Varshavchik
sergio writes: Hello all courier users! I've successfully installed Courier 0.66.1 on Ubuntu 12.04. All is working perfectly, but when I add free certificate from StartSSL and try to use for imap and smtp I've got error courieresmtpd: courieresmtpd: STARTTLS failed: couriertls: connect: error:1

Re: [courier-users] Separate service passwords

2014-08-15 Thread Sam Varshavchik
Mark Constable writes: Just to be able to have a two passwords, one for incoming mail and a different one for outgoing mail, could make a difference so any suggestions how to allow our clients to use different passwords for the different courier-authdaemon family of services? Using mysql or po

Re: [courier-users] IMAP/SSL and ESMTP/SSL

2014-08-09 Thread Sam Varshavchik
Charles Parkinson writes: Nowhere in the guide does it say where to install the private key for the imap / smtp services, nor can I see it in the configuration files referenced. Without the private key, how will any of these services decrypt messages encrypted with the key contained in the

Re: [courier-users] Plans for SMTPUTF8 support?

2014-08-07 Thread Sam Varshavchik
Alessandro Vesely writes: Sam, let me forward this message, as it captures what looks like a sudden rise in UTF-8 interest... Ale This is a big nothing-burger. For starters, the only thing that's needed to add SMTPUTF8 support to an SMTP server is to advertise the SMTPUTF8 extension. Done.

Re: [courier-users] Email Archiving

2014-08-06 Thread Sam Varshavchik
Lisa Muir writes: « HTML content follows » resending, accidentally sent this offlist a few mins ago On Wed, Aug 6, 2014 at 1:07 PM, Sam Varshavchik <mailto:mrsam@courier- mta.com>mr...@courier-mta.com> wrote: Lisa Muir writes: My memory is that with this fea

Re: [courier-users] Email Archiving

2014-08-06 Thread Sam Varshavchik
Lisa Muir writes: My memory is that with this feature, ALL email that passed through the server went into a single data store, which is probably not very useful for what I want but would be worth reviewing if the feature is still in courier. You are referring to the ARCHIVEDIR setting in th

Re: [courier-users] question about old version... 0.43.2 or 0.44.2

2014-08-01 Thread Sam Varshavchik
Mitch (BitBlock) writes: I have some older servers – we are in the process of upgrading, but I just had a wave of what I believe were spam which were being relayed by using our servers. The messages were presented as dsn (I see the module dsn) – is there a way to mitigate this kind of attac

Re: [courier-users] iphone woes

2014-07-31 Thread Sam Varshavchik
Zenon Panoussis writes: An iphone that was working flawlessly with courier imap, suddenly can't connect any more. The user did nothing, so the problem likely stems from some automatic update on the phone. The maillog shows a correct authentication and login, immediately followed by DISCONNECTE

Re: [courier-users] question about old version... 0.43.2 or 0.44.2

2014-07-29 Thread Sam Varshavchik
Mitch (BitBlock) writes: « HTML content follows » I have some older servers – we are in the process of upgrading, but I just had a wave of what I believe were spam which were being relayed by using our servers. The messages were presented as dsn (I see the module dsn) – is there a way to

Re: [courier-users] Interesting bug - failed to match after adding headers in maildrop

2014-07-21 Thread Sam Varshavchik
Denis Kanchev writes: In the last test we see that the last symbol in subject is missing ( compared to previous log ) and the string is not decoded The pattern matching fails in last 2 tests. If the logging is the problem - the pattern will match and evaluate code inside the condition . I t

Re: [courier-users] Interesting bug - failed to match after adding headers in maildrop

2014-07-21 Thread Sam Varshavchik
Denis Kanchev writes: Matching /^subject:.*тест.*nst / against Subject: =?UTF-8?B?0YLQtdGB0YI= Nice - the subject is 3 symbols longer :) , then lets cut more symbols from the headers in the options, then we remove 3 more symbols from the options and finally maildrop matched the pattern

Re: [courier-users] Bug in courier-authlib-0.66.1.20140701?

2014-07-04 Thread Sam Varshavchik
Roger Schreiter writes: Hello, I upgraded my courier installation from an 0.5 version to the up to date version. After upgrading I had problems logging in using authlib with module authmysql, however it is imho no problem of the mysql module. authlib connected to the mySQL-Server correctly, g

Re: [courier-users] Perlfilter debugging

2014-06-29 Thread Sam Varshavchik
Alexey Mishustin writes: Hello, I'm trying to implement a simple perl-filter script: diff -u /usr/share/courier/perlfilter-example.pl ./perlfilter-mailerdaemon.pl --- /usr/share/courier/perlfilter-example.pl2014-06-22 14:35:24.0 +0400 +++ ./perlfilter-mailerdaemon.pl2014-06

Re: [courier-users] webmail not using defaultdomain

2014-06-27 Thread Sam Varshavchik
Vytautas Kasparavičius writes: Hello, Courier version 0.73.1 on FC19 I have correct domain in /etc/courier/defaultdomain but when I login into webmail on the right upper corner I still see email address composed not with domain(u...@plasta.lt) but with courier server hostname(u...@mail.plasta.lt

[courier-users] Courier and maildrop build 20140622, new release of the Courier Unicode Library

2014-06-22 Thread Sam Varshavchik
Download: http://www.courier-mta.org/download.html • Adds a -T replydraft option to mailbot, to read the text of the autoresponse from a maildir folder. Other changes, since the last release: • The new courier-unicode package needs to be downloaded and installed first, before building the re

Re: [courier-users] IMAP broken with Kindle Mail update

2014-06-14 Thread Sam Varshavchik
Joe Laffey writes: On Sat, 14 Jun 2014, Manuel Schneider wrote: > Looks to me like the new IMAP client forgot about the namespace, so there is INBOX. missing as prefix of the folder names. > Check if you can set the namespace or if you can choose the folders for sent / draft / deleted mail

Re: [courier-users] Looging of TLS

2014-06-06 Thread Sam Varshavchik
Joe Laffey writes: Hi, Is there any way to cause courier to log that a connection is using TLS/SSL for receiving and sending mail from other mail relays? Is there a way to have it add a head saying that TLS/SSL was used? When I send mail using SMTP AUTH with TLS/SSL then I see a header to this

Re: [courier-users] Problems escaping subject line and mailbot

2014-06-05 Thread Sam Varshavchik
mi...@bitblock.net writes: Sam wrote: > mi...@bitblock.net writes: >> One remaining question I had - is there any place the different >> response types (-T reply vs. -T replydsn) are differentiated? >Not sure what you mean – these options send a response in two different formats. That was my

Re: [courier-users] Problems escaping subject line and mailbot

2014-06-05 Thread Sam Varshavchik
mi...@bitblock.net writes: One remaining question I had - is there any place the different response types (-T reply vs. -T replydsn) are differentiated? Not sure what you mean – these options send a response in two different formats. pgpuEC9ghDZTY.pgp Description: PGP signature

Re: [courier-users] Get message contents given queue ID [was Custom queuetime (bounce time) for some mails]

2014-06-05 Thread Sam Varshavchik
Wayne Conrad writes: Given a queue ID that I got from mailq, how can I get the content of the email, or identify which file I could read to get the content? Thanks. The three parts of the queue ID are in hexadecimal. First, convert them to decimal: 002811AD.[something else] This

Re: [courier-users] Using courier as a relay host

2014-06-04 Thread Sam Varshavchik
Joe Laffey writes: On Wed, 4 Jun 2014, Sam Varshavchik wrote: Joe Laffey writes: Any thoughts on why I would get a relaying denied from mail sent through a host that is listed as a RELAYCLIENT ? I see: courieresmtpd: error,relay=::: 71.91.xx.yy,from=,to=: 513 Relaying denied. I

Re: [courier-users] Using courier as a relay host

2014-06-04 Thread Sam Varshavchik
Joe Laffey writes: Any thoughts on why I would get a relaying denied from mail sent through a host that is listed as a RELAYCLIENT ? I see: courieresmtpd: error,relay=::: 71.91.xx.yy,from=,to=: 513 Relaying denied. I know this worked right in my old setup. So I am trying to figure

Re: [courier-users] CRAM-MD5 and pop3d-ssl

2014-06-01 Thread Sam Varshavchik
Joe Laffey writes: Is it possible I need to use the *AUTH_TLS settings for when I am using SSL? Those are blank right now (see below). For instance, should I add md5 to ESMTPAUTH_TLS ? Correct. You can see for yourself by using couriertls or openssl's s_client to make an encrypted connectio

Re: [courier-users] CRAM-MD5 and pop3d-ssl

2014-06-01 Thread Sam Varshavchik
Joe Laffey writes: Hi, We recently upgraded our mail server and found that newer versions of Courier seem to have trouble with CRAM-MD5 authentication, at least when using SSL. I found this: http://www.courier-mta.org/imap/INSTALL.html#crammd5 and was able to get CRAM-MD5 to work with IMAP.

Re: [courier-users] systemd scripts for courier

2014-05-30 Thread Sam Varshavchik
Andrew Burnette writes: Hi all, currently running on a gentoo derivative distro, courier seems happy for over a decade.in remote servers, so swapping out distro not an option. Anyone have a recommendation or pointer to any distro's build/rpm/package/etc which includes systemd scripts for c

Re: [courier-users] Courier MLM From Rewrite

2014-05-29 Thread Sam Varshavchik
Lindsay Haisley writes: On Sat, 2014-05-24 at 20:55 -0400, Sam Varshavchik wrote: > If that's what they're saying, then honoring that request would be the > correct thing to do, and bouncing mail with their domain on it, that's not > coming from their servers, is th

Re: [courier-users] Problems escaping subject line and mailbot

2014-05-29 Thread Sam Varshavchik
mi...@bitblock.net writes: Here's my line from maildrop - please ignore the line wrap - it's on one line: cc "| $MAILBOT -N -D 1 -d $UserFolder/BB-autoreply -t $UserFolder/BB- autoreply.txt -T replydsn -A\"From: $UI_Name <$UI_Email>\" -s\"Subject: AUTO- REPLY: (\$SUBJECT)\" -A\"Errors-To: n

Re: [courier-users] Problems escaping subject line and mailbot

2014-05-28 Thread Sam Varshavchik
mi...@bitblock.net writes: Did something change that escapes are no longer needed or did I miss the point many years back? No, escaping is certainly needed. Note the backslash in: cc "| $MAILBOT … -s\"Subject: AUTO-REPLY: (\$SUBJECT)\" … " pgpxFsvav8ADV.pgp Description: PGP signature --

Re: [courier-users] Problems escaping subject line and mailbot

2014-05-27 Thread Sam Varshavchik
mi...@bitblock.net writes: If I’m expecting the wrong thing, can someone please point me in the right direction? What you want to do is /not/ escape SUBJECT, but rather let the shell handle the expansion: cc "| $MAILBOT … -s\"Subject: AUTO-REPLY: (\$SUBJECT)\" … " This ends up executing

Re: [courier-users] Reject mail to a single address (with reason)

2014-05-27 Thread Sam Varshavchik
Bernd Wurst writes: Am 09.05.2014 01:34, schrieb Sam Varshavchik: > The shell script would get invoked in the manner described in the > localmailfilter man apge: > > HOME=$HOME -D uid/gid -M filter > > So, the nondeliverable account gets set up as a pseudo account with a >

<    1   2   3   4   5   6   7   8   9   10   >