Christopher Rüprich | 16 Sep 11:49 2014
Picon

building courier with nonstandard --prefix

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-authshadow
--without-authldap --without-authpwd --without-authcustom
--without-authpipe --with-mysql-libs=/opt/mysql/lib
--with-mysql-includes=/opt/mysql/include --with-authmysql
--without-stdheaderdir
make
make install

and unicode with:
./configure --prefix=/opt/courier-0.73.2
make
make install

When building courier, ./configure fails with
"configure: error: The Courier Unicode Library appears not to be
installed. You may need to install a separate development subpackage, in
addition to the main package"

My configure command was:
COURIERAUTHCONFIG=/opt/courier-0.73.2/bin
CPPFLAGS=-L/opt/courier-0.73.2/lib LDFLAGS=-L/opt/courier-0.73.2/lib
LD_LIBRARY_PATH=/opt/courier-0.73.2/lib ./configure
--prefix=/opt/courier-0.73.2 --sysconfdir=/etc/courier

I even tried to add the courier-libdir to ld.so.conf and libunicode.so.1
(Continue reading)

Bowie Bailey | 12 Sep 22:30 2014

Adding headers with reformail

I set up reformail as an xfilter to add a Delivered-To header to 
incoming emails like this:

import DTLINE
xfilter "/usr/lib/courier/bin/reformail -A'$DTLINE'"

This works, but the header is added at the bottom rather than the top of 
the headers.

How can I get the new header inserted at the top so that it stays in 
sequence with the Received headers?

--

-- 
Bowie

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Hanno Böck | 12 Sep 15:22 2014
Picon

[PATCH] fix linking order with -lunicode

Hello,

The current Makefiles of courier add -lunicode to the LDFLAGS variable
at a few places.

This is wrong. Libs should never be added to LDFLAGS. This causes the
build process to proceed with the wrong linking order which will
sometimes fail.

Such bugs usually don't cause issues unless one uses the ld-parameter
--as-needed. Many linux distributions do this by default these days, so
it's better to have the linking order correct.

See attached patch. It's against the courier-libs git repo. Please
apply.

cu,
--

-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno <at> hboeck.de
GPG: BBB51E42
Attachment (courier-fix-linking.diff): text/x-patch, 2192 bytes
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
(Continue reading)

Mark Constable | 12 Sep 08:09 2014
Picon

Ubuntu/Debian package dependencies

Would anyone happen to know which dependencies of the Ubuntu/Debian
courier packages that would force such crazy desktop related junk?

https://github.com/oerdnj/deb.sury.org/issues/18

If anyone on this list would like to cooperate with a "lite" debian
package then please contact me off-list.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Dino Ciuffetti | 11 Sep 01:40 2014
Picon

How to do "Split delivery"? (some users on google, some other on courier, same domain)


Hi there.
Is it possible to have hybrid mail systems with some users on courier and
some on another mail server for the same domain?

I have a domain handled by Google Apps (gmail).
Some of the users in that domain want to use a legacy mail server
(courier) instead of google, so I would need split delivery, as documented
by google (https://support.google.com/a/answer/119008):

<quote>
If some users use Gmail and others use their legacy accounts, you can have
mail delivered to a Gmail account or a legacy mail account depending on
the recipient. This option is called split delivery...
</quote>

So I'm ending up with a domain where non existent email addresses in
google are routed to my custom courier server
(https://support.google.com/a/answer/173534 -> directly to my courier ip,
no mx record).

My problem is: if I add this domain as locally-hosted domain, people using
courier cannot send mails to other people of the same domain running in
google apps.

Example:
- mx for mydomain.com points to google;
- user1 <at> mydomain.com is defined in google;
- user2 <at> mydomain.com is defined in courier;
- google is configured for split delivery, routing mails for
(Continue reading)

Harry Duncan | 10 Sep 06:13 2014
Picon

mailing list filters through sqwebmail

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 would be nice to have sqwebmail filtering rules that could use those filters, eg, for vacation notices, be able to select "all mail" and then "exclude mailing lists"

It would also be nice to be able to filter all new mailling list traffic as it arrives into a separate inbox, so would be nice to select as a filter condition, all mail addressed to a mailing list.

Is the "mailing list" data even usable in handwritten maildrop filters?

Harry.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bernd Wurst | 10 Sep 05:51 2014

SPF check fails

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 BOFHSPFFROM=off
opt BOFHSPFMAILFROM=off
opt BOFHSPFHARDERROR=fail

Recently, a messages got rejected with this line in the log:

Sep  9 19:50:36 zucker courieresmtpd:
error,relay=2a03:4000:2:4f2::1,from=<xxxxxxxx <at> thelambda.de>: 517 SPF
fail thelambda.de: Address does not pass the Sender Policy Framework

# dig +short txt thelambda.de
"v=spf1 mx -all"
# dig +short mx thelambda.de
10 mail.thelambda.de.
# dig +short aaaa mail.thelambda.de
2a03:4000:2:4f2::1

I have no clue why this SPF check fails. The connecting MTA has
"thelambda.de" configured as HELO-hostname.
Connections via IPv4 are working.

Can anybody clarify this?

Sincerely,
Bernd

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Stephan Knorr | 9 Sep 16:53 2014
Picon

No Return-Path in forwarded mails

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?

Regards.
Stephan

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Ryta Kashemire | 9 Sep 14:40 2014
Picon

Exempt email from being blocked by the set size limit

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

Thanks and Regards

Ritah
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bowie Bailey | 5 Sep 17:02 2014

Email forwarding problem

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 email 
as the old headers are now seen as part of the body.

I am doing the forwarding using a maildrop recipe that simply looks like 
this:

cc "!user <at> domain.com"

How can I troubleshoot this?  It seems to have something to do with the 
receiving server.  If I forward to an address that delivers on the local 
server, the problem does not occur.

Here is a minimally-munged example of the email as delivered by the 
second server after the forward.

http://pastebin.com/fMdVxb7Y

I'm not entirely sure where the "undisclosed-recipients" line is coming 
from.  Is Courier adding that since it doesn't think the original email 
has a "To:" line?

--

-- 
Bowie

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

[Kreiz IT]Cédric GROSS | 4 Sep 18:03 2014
Picon

Re: Couriertls SSL Error : no start line


> De : Mark Constable [mailto:markc <at> renta.net]
> 
> On 04/09/14 19:26, [Kreiz IT]Cédric GROSS wrote:
> > No symlink. Permission wasn't change.
> >
> > Same config file. Upgrade process changed it but I put back my
> > previous  config file. I checked diff between config files and it's
> > only comments  differ. So should be ok.
> 
> I can't really help other than to suggest moving your current pem files
> somewhere safe and create a set of self-signed certs and confirm that
> they do work, or not. If they work as expected then it narrows it down
> to your copied pem files (pull them into a editor and make sure there
> are no spaces or control chars). If there is still some errors with the
> self signed certs then it's something to do with courier or SSL/TLS
> libs.
> 
> 

I will try that but it's really weird because, even if I get this error message in syslog, TLS is working...
Cedric

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Gmane