Re: deleting from the corrupt queue

2017-09-28 Thread Dan Langille
> On Sep 28, 2017, at 10:48 AM, Dan Langille wrote: > > How does one delete from the corrupt queue? > > FreeBSD 10.3 and Postfix 3.2.3 > > I have inspected the message, know the cause of the corruption, and wish to > delete it. > > Upon restart, I see this out

deleting from the corrupt queue

2017-09-28 Thread Dan Langille
sudo postsuper -d B251C2BDE corrupt postsuper: fatal: invalid directory name: corrupt $ sudo postsuper -d B251C2BDE defer $ sudo find /var/spool/postfix/ -name B251C2BDE /var/spool/postfix/defer/B/B251C2BDE /var/spool/postfix/corrupt/B251C2BDE $ It's still there. Am I doing this right? Thank you

config check - submission only system

2014-12-31 Thread Dan Langille
ject -o smtpd_sender_restrictions=reject_non_fqdn_sender,reject_unknown_sender_domain,permit_sasl_authenticated,reject -o syslog_name=postfix/submission — Dan Langille http://langille.org/

Re: requiring TLS on a pool of servers

2013-10-18 Thread Dan Langille
On 2013-10-15 09:48, Dan Langille wrote: On 2013-10-14 20:10, Viktor Dukhovni wrote: On Mon, Oct 14, 2013 at 08:12:01AM -0400, Dan Langille wrote: The master.cf has something like this: 64.147.113.42:5587 inet n - n - - smtpd -o smtp_tls_security_level=encrypt

Re: requiring TLS on a pool of servers

2013-10-15 Thread Dan Langille
On 2013-10-14 20:10, Viktor Dukhovni wrote: On Mon, Oct 14, 2013 at 08:12:01AM -0400, Dan Langille wrote: The master.cf has something like this: 64.147.113.42:5587 inet n - n - - smtpd -o smtp_tls_security_level=encrypt The above setting is pointless, drop it

requiring TLS on a pool of servers

2013-10-14 Thread Dan Langille
E:FF:00:11:22:33:55 b.example.org 11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:66 c.example.org -- Dan Langille - http://langille.org/

Re: submission by cert verification only

2013-10-09 Thread Dan Langille
On Oct 9, 2013, at 9:26 PM, Viktor Dukhovni wrote: > On Wed, Oct 09, 2013 at 09:21:36PM -0400, Dan Langille wrote: > >>> Don't forget: >>> >>> main.cf: >>> smtpd_tls_fingerprint_digest = sha1 >> >> >> Does that have to

Re: submission by cert verification only

2013-10-09 Thread Dan Langille
On Oct 7, 2013, at 11:01 AM, Viktor Dukhovni wrote: > On Mon, Oct 07, 2013 at 09:06:09AM -0400, Dan Langille wrote: > >>> # cat /usr/local/etc/postfix-config/main/relay_clientcerts >>> 3A:2E:AB:6A:F1:D4:32:74:C9:C6:DD:2B:8D:2A:87:97 cliff.example.org >>> &

Re: submission by cert verification only

2013-10-07 Thread Dan Langille
On 2013-10-06 23:13, Viktor Dukhovni wrote: On Sun, Oct 06, 2013 at 08:52:06PM -0400, Dan Langille wrote: [ What Noel said, plus see below. ] 10.0.0.1:submission inet n - n - - smtpd -o smtpd_tls_req_ccert=yes Fine. -o smtpd_tls_auth_only=no This seems silly

Re: submission by cert verification only

2013-10-07 Thread Dan Langille
On 2013-10-06 22:40, Noel Jones wrote: On 10/6/2013 7:52 PM, Dan Langille wrote: I managed to get this running tonight and I'm looking for sanity checking, in case I'm completely missing something. Thanks. I wish to allow incoming mail from any client with a valid certificate. My

submission by cert verification only

2013-10-06 Thread Dan Langille
h incoming client is listed here: # cat /usr/local/etc/postfix-config/main/relay_clientcerts 3A:2E:AB:6A:F1:D4:32:74:C9:C6:DD:2B:8D:2A:87:97 cliff.example.org I have this working. It seems to do what I want. For what it's worth: This is just for my use, no other users. -- Dan Langille - http://langille.org

Re: relayhost not working correctly

2009-01-02 Thread Dan Langille
Arthur Wiebe wrote: Hey folks, I'm setting up a mail server using postfix, don't have a whole lot of experience with it and so here's what I want to do. I want Postfix to be a smarthost, with internal connections to use SSL. Dovecot is my MDA as well. The relay host (smarthost) is my ISP, and i

Re: warning: mysql query failed: MySQL server has gone away

2008-12-23 Thread Dan Langille
hanks and wish you all a very happy X-mas -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~ -- Dan Langille http://langille.org/

Re: strange word

2008-12-18 Thread Dan Langille
Jack Raats wrote: From my logfile Out: 554 5.7.1 Service unavailable; Sender address [obviouslya...@mypricepilot.com] blocked using bogusmx.rfc-ignorant.org; Domain has demonstrably bogus MX records Is this error (demonstrably) made by postfix or rfc-ignorant? I am pretty sure

Re: remote smtp auth clients - header rewrite question

2008-12-02 Thread Dan Langille
On Dec 1, 2008, at 11:11 PM, Victor Duchovni wrote: On Mon, Dec 01, 2008 at 09:35:18PM -0500, Dan Langille wrote: Did you see header_checks documented as a supported parameter in http://www.postfix.org/smtpd.8.html (rhetorical question, the answer is no). A closer look at the documentation

Re: remote smtp auth clients - header rewrite question

2008-12-01 Thread Dan Langille
On Dec 1, 2008, at 12:17 AM, Victor Duchovni wrote: On Sun, Nov 30, 2008 at 06:40:18PM -0500, Dan Langille wrote: I tried it like this: 10.0.0.1:smtps inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions

Re: remote smtp auth clients - header rewrite question

2008-11-30 Thread Dan Langille
On Nov 30, 2008, at 4:13 PM, mouss wrote: Dan Langille a écrit : Following one from John's success, I'm failing. One difference between John's setup and mine is my header_checks directive. It was defined in master.cf: -o header_checks=pcre:/usr/local/etc/postfix/ob

Re: remote smtp auth clients - header rewrite question

2008-11-30 Thread Dan Langille
john mickler wrote: On Sun, Nov 30, 2008 at 12:18 AM, Victor Duchovni <[EMAIL PROTECTED]> wrote: It should work if the newline is part of a ${n} sub-pattern match: # ${3} matches Newline + folding white-space /^(Received): (.*?)(\n[\t\x20])(.*)$/ ${1}: ${2}${3}(my comment)${3}$

Re: remote smtp auth clients - header rewrite question

2008-11-29 Thread Dan Langille
Sahil Tandon wrote: Dan Langille <[EMAIL PROTECTED]> wrote: Sahil Tandon wrote: john mickler <[EMAIL PROTECTED]> wrote: I have a question pertaining to message headers on outbound mail from remote smtp auth'd clients. I have been asked to adjust our mail systems to "

Re: remote smtp auth clients - header rewrite question

2008-11-29 Thread Dan Langille
Sahil Tandon wrote: john mickler <[EMAIL PROTECTED]> wrote: I have a question pertaining to message headers on outbound mail from remote smtp auth'd clients. I have been asked to adjust our mail systems to "anonymize" said remote clients. Using mail sent from an Iphone as an example, the head

Re: Handle messages where From (Envelope Sender) matches To:

2008-11-10 Thread Dan Langille
Roderick A. Anderson wrote: I'm starting to get a lot of SPAM where the Sender matches the To:. I hear the same from several others. There was the thread recently on something similar but dealing with lists so it seems to not apply. I'm at a complete loss after being six pages into a search

Re: Postfix automatic startup script for Mac OSX 10.4

2008-10-12 Thread Dan Langille
Rupert Reid wrote: Hello all, I am trying to setup postfix so that it will start automatically at startup. I placed the following script "postfix" in a text file "postfix" and saved it to Library/Startupitems/Postfix. As you probably guessed it did not work. I would be grateful for some det

Re: ignoring client restrictions for smtps

2008-09-28 Thread Dan Langille
On Sep 28, 2008, at 2:39 PM, Wietse Venema wrote: Dan Langille: Today I discovered that my mail server is rejecting smtps connections based upon RBL. Example: Sep 28 17:44:40 nyi postfix/smtpd[20073]: NOQUEUE: reject: CONNECT from pool-151-197-20-211.phil.east.verizon.net[151.197.20.211

ignoring client restrictions for smtps

2008-09-28 Thread Dan Langille
works -o smtpd_helo_restrictions=permit_mynetworks -o smtpd_sender_restrictions=permit_mynetworks Clues please? -- Dan Langille http://langille.org/