pflogsumm patch: SRS unmunging

2016-03-24 Thread Tom Hendrikx
Hi postfix users, Ever since I added SRS to my mail setup, reading daily pflogsumm reports got a lot harder since most senders were changed to SRS addresses. This also threw off statistics since multiple sender addresses were used when actually the sender was the same. Attached is a patch for pfl

Re: question re. "wiring in" a mailing list handler

2016-03-24 Thread Wietse Venema
Miles Fidelman: > It occurs to me, that right now, mail is passing through the content > filters both before it gets to the list manager, and again, after it's > exploded by the list manager - creating lots of unnecessary load on the > system. ... > main.cf contains a line: > content_filter = sm

postfix sasl auth required

2016-03-24 Thread L . P . H . van Belle
Hai,   Im testing out my servers and i noticed the following   telnet localhost 587 Trying ::1... Connected to localhost. Escape character is '^]'. 220 mail.mydomain.tld ESMTP Ready ehlo localhost 250-mail.mydomain.tld 250-PIPELINING 250-SIZE 1536 250-VRFY 250-ETRN 250-STARTTLS

Re: postfix sasl auth required

2016-03-24 Thread Wietse Venema
[plaintext ehlo] > Im missing my 250-AUTH here > Or is this because the : "smtpd_tls_auth_only = yes" Indeed. The SMTP client should protect its password with TLS. You can check that with: openssl s_client -starttls smtp -connect host:port Wietse

SASL with secure password storage

2016-03-24 Thread Benning, Markus
Hello postfix users, i'm currently searching for a way to implement SASL authentication with postfix and a secure password mechanism like bcrypt. sasldb -> plain text sql -> requires plain text passwords ldapdb -> requires a ldap server (could use whatever the ldap server implements) saslaut

Mail queue free space issue

2016-03-24 Thread Andy Theuninck
I'm seeing a not-enough free space error with the log entry showing 900+ gigabytes in that line. But on a 10/100 network with a couple seconds at most between the client sending and postfix logging the error it seems impossible for that much data to have been sent. This isn't a public email server

Re: Mail queue free space issue

2016-03-24 Thread Wietse Venema
Are you running any particular Postfix version on any particular platform, built from source or binary distribution? The code in question is double smtpd_space_multf = 1.5; #define BLOCKS(x) ((x) / fsbuf.block_size) if (BLOCKS(var_queue_minfree) >= fsbuf.block_free || BLOCKS(va

Re: Mail queue free space issue

2016-03-24 Thread Bastian Blank
Hi Andy On Thu, Mar 24, 2016 at 10:24:16AM -0500, Andy Theuninck wrote: > message_size_limit = 1024000 Are you seriously accepting 10GB mails? This number is larger then 2^32. Bastian -- History tends to exaggerate. -- Col. Green, "The Savage Curtain", stardate 5906.4

Re: Mail queue free space issue

2016-03-24 Thread Andy Theuninck
Sorry, I knew I forgot a detail. I'm running 2.11.0 on Ubuntu 14.04 (their build). I'm not expecting 10GB emails; that's purely lazy administration on my part. I'm expecting larger than average attachments, saw some bounces due to size, and just tacked several zeroes onto the end of the limit. I'm

Re: Mail queue free space issue

2016-03-24 Thread Wietse Venema
Wietse Venema: > The code in question is > > double smtpd_space_multf = 1.5; > > #define BLOCKS(x) ((x) / fsbuf.block_size) > > if (BLOCKS(var_queue_minfree) >= fsbuf.block_free > || BLOCKS(var_message_limit) >= fsbuf.block_free / smtpd_space_multf) { > (void) smtpd_chec

delays= a/b/c/d

2016-03-24 Thread Aaron Routt
delays=193728/38/0/0.1 http://www.porcupine.org/postfix/doc/big-picture.html http://www.postfix.org/postconf.5.html The format of the "delays=a/b/c/d" logging is as follows: - a = time from message arrival to last active queue entry

Re: delays= a/b/c/d

2016-03-24 Thread Viktor Dukhovni
> On Mar 24, 2016, at 10:40 PM, Aaron Routt wrote: > > delays=193728/38/0/0.1 Insufficient context. Post all the log entries for the queue-id of the message that logged this combination of delays. > http://www.postfix.org/postconf.5.html > The format of the "delays=a/b/c/d" logging is as foll

Re: delays= a/b/c/d

2016-03-24 Thread Aaron Routt
Thank you Viktor, The only logs I can access is the receipt- Mar 19 19:00:13 mail-d1f9ab60 postfix/smtp[30442]: 3qQpd33djJzDywj: to=, relay=cluster1.us.[REDACTED].com[XXX.XX.XX.XXX]:25, conn_use=66, delay=193766, delays=193728/38/0/0.1, dsn=2.0.0, status=sent (250 ok 1458414013 qp 36488 server-16

Re: delays= a/b/c/d

2016-03-24 Thread Viktor Dukhovni
> On Mar 24, 2016, at 11:34 PM, Aaron Routt wrote: > > The only logs I can access is the receipt- You'll have to do better than that if you want help. > > Mar 19 19:00:13 mail-d1f9ab60 postfix/smtp[30442]: 3qQpd33djJzDywj: > to=, relay=cluster1.us.[REDACTED].com[XXX.XX.XX.XXX]:25, > conn_us

Re: delays= a/b/c/d

2016-03-24 Thread Aaron Routt
Thank you for the honest response. I wish logs and a qshape were available from my position, but alas, it is not my server, just my problem to solve. I think the artificial rate delay is the throttling by messagelabs as an antispam measure. Other outbound mail to various domains is sent and receiv