"Jan Bubík (ACVyškov)" | 28 Aug 16:30 2015
Picon

courier handling of SPF reference records

Hello all,
I have just set up courier mta on debian jessie (0.73.1-1.6 from 
repositories) and tested SPF.
I believe it is not working as I expected. Here I quote the delivered 
message:
--------------------------------------------
Delivered-To: etchtest1 <at> jessietest.acvyskov.cz
Return-Path: <a <at> facebook.com>
Received: from admin.acvyskov.cz (admin.acvyskov.cz [::ffff:94.199.192.179])
   by jessietest.acvyskov.cz with ESMTP; Fri, 28 Aug 2015 15:45:21 +0200
   id 000000000000D590.0000000055E06626.00004156
Received-SPF: neutral (Address does not pass the Sender Policy Framework)
   SPF=MAILFROM;
   sender=a <at> facebook.com;
   remoteip=::ffff:94.199.192.179;
   remotehost=admin.acvyskov.cz;
   helo=admin.acvyskov.cz;
   receiver=jessietest.acvyskov.cz;
From: a <at> facebook.com
To: etchtest1 <at> jessietest.acvyskov.cz
subject: test smtp 25 admin fb
Received-SPF: neutral (Address does not pass the Sender Policy Framework)
   SPF=FROM;
   sender=a <at> facebook.com;
   remoteip=::ffff:94.199.192.179;
   remotehost=admin.acvyskov.cz;
   helo=admin.acvyskov.cz;
   receiver=jessietest.acvyskov.cz;
--------------------------------------------

(Continue reading)

Szépe Viktor | 26 Aug 12:14 2015
Picon

ESMTP_TLS_VERIFY_DOMAIN failure

Good morning!

Mandrill has a wildcard certificate:

X509v3 Subject Alternative Name:
     DNS:*.mandrillapp.com, DNS:mandrillapp.com

I've set TLS_VERIFYPEER=REQUIREPEER

This is the log:

  400 couriertls: Mismatched SSL certificate: CN=mandrillapp.com  
(expected smtp.eu-west-1.mandrillapp.com)
status: deferred
  /SECURITY=REQUIRED set, but TLS is not available
status: failure
  /SECURITY=REQUIRED set, but TLS is not available
status: failure

In esmtpauthclient I have:

smtp.mandrillapp.com,587 ......

smtp.mandrillapp.com is a CNAME of smtp.eu-west-1.mandrillapp.com.

Please advise!

v0.73.1

Szépe Viktor
(Continue reading)

lucio | 18 Aug 09:09 2015

OpenSSL or GnuTLS?

Hello all,

how do I tell if my Courier was compiled against OpenSSL or GnuTLS when 
my distro packaged it? (just in case, it's a Debian GNU/Linux 8, but I'm 
more interested in how to discover the information than in the 
information itself).

Is it possible it has support for both?

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Harry Duncan | 4 Aug 19:08 2015
Picon

Mailuid & Mailgid

Building courier 0.75 from source, and make bombs out at:

courierfilter.c: In function ‘main’:
courierfilter.c:376:31: error: expected expression before ‘,’ token
   libmail_changeuidgid(MAILUID, MAILGID);
                               ^
Makefile:717: recipe for target 'courierfilter.o' failed
make[5]: *** [courierfilter.o] Error 1


I recall in previous builds some time back having to specify the mailuser id and groupid as part of the configure script, but I can't find any reference to it in the INSTALL file now.

I did see in INSTALL that I should create a user and group called courier, which I did in order to build the code. So that user and group do exist.

Am I missing something very obvious here?

Harry.
------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Szépe Viktor | 3 Aug 12:13 2015
Picon

email from: # <at> []

Good morning!

I'm a Courier MTA 0.65.0 user.

Could you help me understand how a DSN ("UNDELIVERABLE MAIL") message  
has from address: # <at> [] in the server log?
The message has:

Return-Path: <>

Thank you!

Log:

courierd:  
started,id=002407EC.55BF36F8.000032DA,from=<>,module=dsn,host=,addr=<postmaster>

courierd: newmsg,id=00241DE2.55BF36F8.000032DF: dns; localhost  
(localhost [127.0.0.1])

courierd:  
started,id=00241DE2.55BF36F8.000032DF,from=<# <at> []>,module=local,host=viktor <at> szepe.net!!1999!1999!/var/mail/szepe.net/viktor!!,addr=<viktor>

Headers:

Delivered-To: viktor <at> szepe.net
Return-Path: <>
Received: from localhost (localhost [127.0.0.1])
   (ftp://ftp.isi.edu/in-notes/rfc1894.txt)
   by szepe.net with dsn; Mon, 03 Aug 2015 12:06:08 +0200
   id 00241DE9.55BF3D10.000058D1
From: mailer-daemon <at> szepe.net
To: user <at> szepe.net
Subject: NOTICE: mail delivery status. KOZLEMENY: A Level Allapota.
Mime-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
     boundary="=_courier_0"
Content-Transfer-Encoding: 8bit
Message-ID: <courier.55BF3D10.000058D1 <at> szepe.net>
Date: Mon, 03 Aug 2015 12:06:08 +0200
Szépe Viktor
--

-- 
+36-20-4242498  sms <at> szepe.net  skype: szepe.viktor
Budapest, XX. kerület

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Mark Constable | 1 Aug 05:53 2015
Picon

PHP Control Panel

I've just spent a few days reviewing web control panels again and as
anyone knows who has looked there is nothing that supports courier-mta
out of the box, some support courier-imap (Froxlor, ISPConfig). I have
some code I've written myself but it's such a huge job to write a web
CP from scratch and I've been kicking my code along for 5 or 6 years
now and it's still not to the point where I could use it.

I'm at the point where I really can no longer justify not having either
a free or pay-for (cPanel/WHMCS) web panel system and still remain in
business much longer. The number of clients "asking where is the cpanel"
is becoming a very real issue but to adopt any of the current crop of
panels means giving up on courier-mta which I have resisted for over a
decade now.

If there is anyone out there that needs/wants a PHP control panel that
includes support for courier-mta then please respond to this thread.

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Bowie Bailey | 31 Jul 19:07 2015

Unexpected SSL connection shutdown

courieresmtpd: courieresmtpd: STARTTLS failed: DEBUG: Unexpected SSL 
connection shutdown.

I've been seeing this message in my logs quite a bit recently.  The IP 
addresses that it comes from (based on the previous "started" line, are 
all outlook.com addresses.  I am having a problem getting emails from 
someone who is using an the outlook.com servers for his email, so I 
think this is related.

Apparently, Outlook doesn't like something about my SSL setup. These 
errors and the bounceback errors I have been provided by the sender 
don't give any clues to the actual problem.

I have the protocol set to SSL23, which should allow everything 
according to the comments in the file.  Any suggestions?

Thanks,
--

-- 
Bowie

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Szépe Viktor | 25 Jul 10:12 2015
Picon

courier-pythonfilter with Python3


Good morning!

Does anyone have experience with courier-pythonfilter in Python3?
Modern OS-es have Python3 as a standard package.

Thank you!

Szépe Viktor
--

-- 
+36-20-4242498  sms <at> szepe.net  skype: szepe.viktor
Budapest, XX. kerület

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Szépe Viktor | 25 Jul 10:10 2015
Picon

Blocking messages


Good morning!

Is there a way to block mail based on:

1. reverse DNS hostname (PTR record) of the sender IP
2. From: address
3. Envelop Sender (MAIL FROM:)

in Courier-MTA itself?

Szépe Viktor
--

-- 
+36-20-4242498  sms <at> szepe.net  skype: szepe.viktor
Budapest, XX. kerület

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bowie Bailey | 15 Jul 22:41 2015

Received-SPF header

I added the "opt BOFHSPFFROM=all" entry to Courier so that it would add 
the Received-SPF header to incoming email.  I was hoping to be able to 
have SpamAssassin parse that header rather than doing its own checks.  
Unfortunately, SA ignores the header since it is placed at the bottom of 
the header list rather than inline with the rest of the Received headers.

Is there a reason for this?  Is there a way to have Courier add the 
Received-SPF header at the top of the list rather than the bottom?

Thanks,

Bowie

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Lucio Crusca | 12 Jul 19:37 2015

fetchmail + maildrop to virtual user

Hello,

I have a Courier mail server with virtual users (authuserdb) and a 
number of hosted domains. Every virtual user has its Maildir, but all of 
them are owned by a single real system user id 5000 (username is 
"mailboxes").

I want to configure fetchmail so that the messages it fetches from a 
remote POP3/IMAP server are delivered to the correct Courier virtual 
user. Here is my first try of a fetchmailrc:

     poll pop.tiscali.it with proto pop3 user 'xxxxxx <at> tiscali.it' there 
with password 'secret' is 'lucio <at> sulweb.org' here options fetchall 
stripcr mda '/usr/bin/maildrop'

Now that does not work. I don't know what fetchmail does of the "is 
'lucio <at> sulweb.org' here" part, but it's not telling maildrop about it. 
Maildrop happily delivers messages in the mailboxes user (id=5000) 
Maildir, not in the lucio <at> sulweb.org's Maildir.

I've tried reading the maildrop manpage and then tried the following 
alternative mda strings:

     mda '/usr/bin/maildrop -M /home/mail/sulweb.org/lucio/.mailfilter'

and

     mda '/usr/bin/maildrop -d lucio <at> sulweb.org'

both of which failed miserably (maildrop keeps delivering to home 
directory of user with id=5000, e.g. mailboxes).

How do I configure fetchmail and maildrop with virtual users?

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Gmane