[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-07 Thread Wietse Venema via Postfix-users
Thomas Landauer via Postfix-users: > A detail first: > At > http://www.postfix.org/postconf.5.html#smtpd_delay_open_until_valid_rcpt > please change "mail transaction ID" to "queue ID" for consistency here: > > The downside is that rejected recipients are logged with NOQUEUE instead of > > a mai

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-07 Thread Thomas Landauer via Postfix-users
Hi, thanks! A detail first: At http://www.postfix.org/postconf.5.html#smtpd_delay_open_until_valid_rcpt please change "mail transaction ID" to "queue ID" for consistency here: The downside is that rejected recipients are logged with NOQUEUE instead of a mail transaction ID About DSN: Thank

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-05 Thread Wietse Venema via Postfix-users
Thomas Landauer via Postfix-users: > Since you're creating the queue ID only after `RCPT TO`, we have the > sender's and the main recipient's address at hand - that would be enough > to set up something like a `queue_id_prefix_map` :-) First, the queue ID is not the place for this information. T

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-05 Thread Viktor Dukhovni via Postfix-users
On Tue, Nov 05, 2024 at 12:46:42PM +0100, Thomas Landauer via Postfix-users wrote: > A detail first: > At http://www.postfix.org/postconf.5.html#smtpd_delay_open_until_valid_rcpt > please change "mail transaction ID" to "queue ID" for consistency here: > > The downside is that rejected recipients

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-05 Thread Thomas Landauer via Postfix-users
Hi, thanks! A detail first: At http://www.postfix.org/postconf.5.html#smtpd_delay_open_until_valid_rcpt please change "mail transaction ID" to "queue ID" for consistency here: The downside is that rejected recipients are logged with NOQUEUE instead of a mail transaction ID. Viktor's logfil

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread Viktor Dukhovni via Postfix-users
On Tue, Nov 05, 2024 at 12:50:53AM +0100, Thomas Landauer via Postfix-users wrote: > my use case: I want to find out if outgoing messages were delivered > successfully, so I'm looking at the lines containing `status=` in the > logfile. > > But I need this only for some mails (not all). To find ou

[pfx] Re: Suggestion: Allow adding `from=` to the line in the logfile containing `status=`

2024-11-04 Thread Wietse Venema via Postfix-users
Again, use Viktor's collate tool. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread Wietse Venema via Postfix-users
Thomas Landauer via Postfix-users: > Hi, > > my use case: I want to find out if outgoing messages were delivered > successfully, so I'm looking at the lines containing `status=` in the > logfile. > > But I need this only for some mails (not all). To find out, I have to > query the database for

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread postfix--- via Postfix-users
Is it true that the Queue-ID is generated before Postfix receives the message content? After which SMTP command? By default during the RCPT TO stage. But can be changed to happen earlier during the MAIL FROM stage with performance trade offs. http://www.postfix.org/postconf.5.html#smtpd_

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread postfix--- via Postfix-users
my use case: I want to find out if outgoing messages were delivered successfully, so I'm looking at the lines containing `status=` in the logfile. But I need this only for some mails (not all). To find out, I have to query the database for the Queue-ID. This step could be skipped if it would b

[pfx] Re: Suggestion: Add lifecycle events / pipe each logfile entry to external command

2024-11-04 Thread Thomas Landauer via Postfix-users
Hi, thanks for the hints, guys - I went for rsyslog omprog and it looks good so far :-) -- Cheers, Thomas ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: Suggestion: Add lifecycle events / pipe each logfile entry to external command

2024-10-31 Thread postfix--- via Postfix-users
I need to find out if an outgoing message was successfully delivered or not. I know this can be achieved by setting up some filesystem watcher for the logfile, and/or by having a cronjob searching through the logfile for the line containing `status=`. But it would be so much nicer if Postfix wou

[pfx] Re: Suggestion: Add lifecycle events / pipe each logfile entry to external command

2024-10-31 Thread Wietse Venema via Postfix-users
Thomas Landauer via Postfix-users: > Hi, > > my use case: > I need to find out if an outgoing message was successfully delivered or not. > I know this can be achieved by setting up some filesystem watcher for > the logfile, and/or by having a cronjob searching through the logfile > for the line

Re: Suggestion for changing error message

2021-07-02 Thread Wietse Venema
Adrian van Bloois: > Hi, > Recently I was confronted with an error message like: > Can't write to /var/spool/mail/BLADDDIBLA > It took me another hour or so to find out why not. > It would be helpful if the error message would read something like: > Can't wite to /var/spool/mail/BLADIBLA, mailboxsi

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Wietse Venema
Folks, if you build Postfix from source code, then it needs UNIX tools including a compiler and various scripting languages. Such a configuration is fundamentally in conflict with the idea of running a minimal system. I have added a check for a missing 'm4' command, but I do not expect to enumera

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Stephen Satchell
On 02/25/2018 09:52 PM, @lbutlr wrote: Really? What runs services automatically? The last time I setup freeeBSD 11.1 (last month) it wasn't even running sshd until I specifically enabled it. There are other distributions of POSIX-compliant operating systems. (Let's forego the religious war ab

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Bill Cole
On 26 Feb 2018, at 0:52, @lbutlr wrote: Really? What runs services automatically? The whole RedHat family, even Fedora Core through last month. SLES & openSUSE at least through 11.1. Whatever the current stable Ubuntu was about a year ago. The last time I setup freeeBSD 11.1 (last month) i

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Stephen Satchell
On 02/25/2018 07:17 PM, Bill Cole wrote: The package that don't matter are just taking a little bit of space, and it is hardly worth building a system by hand to save a tiny amount (percentage-wise) of space. But storage footprint is re-emerging as an issue with the rise of "cloud" systems li

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread @lbutlr
On 2018-02-25 (20:17 MST), Bill Cole wrote: > > On 25 Feb 2018, at 2:54 (-0500), @lbutlr wrote: > >> I used to do the same back int eh 90s where trying to slim down the OS was >> really worth the effort. Now though, a full base install is well under a >> handful of GB, or less than 1% of a

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread Bill Cole
On 25 Feb 2018, at 2:54 (-0500), @lbutlr wrote: I used to do the same back int eh 90s where trying to slim down the OS was really worth the effort. Now though, a full base install is well under a handful of GB, or less than 1% of a small hard drive. There is also the independent issue of sec

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 01:18, Wietse Venema wrote: > John Fawcett: >> I was wondering if it might be wise to make m4 a mandatory prerequisite, >> without which compilation would fail.? > We could add this at the top of the script: > > m4 > but that would be a point solution. For a dependency list someone

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 08:54, @lbutlr wrote: > On 2018-02-25 (00:37 MST), John Fawcett wrote: >> I normally start out with the minimal set of packages and only add >> software that I need to those. While make was already there, the >> compiler and m4 were missing. I installed the compiler but forgot m4, so >

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 09:07, Peter wrote: > On 25/02/18 19:27, Bastian Blank wrote: >> On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: >>> We could add this at the top of the script: >>> m4 > Using "set -e" is much more effective and finds all errors. > Please no. set -e is an attempt to

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread Peter
On 25/02/18 19:27, Bastian Blank wrote: > On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: >> We could add this at the top of the script: >> m4 > Using "set -e" is much more effective and finds all errors. Please no. set -e is an attempt to cover all error cases without bailin

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread @lbutlr
On 2018-02-25 (00:37 MST), John Fawcett wrote: > > On 25/02/18 01:18, Wietse Venema wrote: >> John Fawcett: >>> >>> I was wondering if it might be wise to make m4 a mandatory prerequisite, >>> without which compilation would fail.? >> We could add this at the top of the script: >> >>m4

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread John Fawcett
On 25/02/18 01:18, Wietse Venema wrote: > John Fawcett: >> >> I was wondering if it might be wise to make m4 a mandatory prerequisite, >> without which compilation would fail.? > We could add this at the top of the script: > > m4 > but that would be a point solution. For a dependency list

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread John Fawcett
On 25/02/18 03:09, @lbutlr wrote: > On 2018-02-24 (09:44 MST), John Fawcett wrote: >> due to the fact I had forgotten to install m4. > Interesting. m4 is part of my base install. At least I think it is, it's not > in /usr/local/... and i don't remember installing it. > In this case I didn't chose

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread Bastian Blank
On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: > We could add this at the top of the script: > m4 I find it sad that systems have make but not m4. That tool has been > around as part of the UNIX toolkit for over 30 years, on all the > systems that I have played with. | $ dpkg

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread @lbutlr
On 2018-02-24 (09:44 MST), John Fawcett wrote: > > due to the fact I had forgotten to install m4. Interesting. m4 is part of my base install. At least I think it is, it's not in /usr/local/... and i don't remember installing it. -- Everywhere is walking distance if you have the time.

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread Wietse Venema
John Fawcett: > Hi > > this is a strange error. I just had the chance to reinstall postfix from > latest snapshot source on a new centos 7 server. > > When running postconf -n I was getting various errors relating to unused > parameters from mysql map configuration files. This is an example of th

RE: Suggestion

2014-06-02 Thread Marius Gologan
Syntax error/ 400 Message not accepted by Lotus. Retrying later Marius. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wijatmoko U. Prayitno Sent: Monday, June 2, 2014 12:00 PM To: postfix-users@postfix.org Subject: Re

Re: Suggestion

2014-06-02 Thread Wijatmoko U. Prayitno
On Mon, 2 Jun 2014 11:38:27 +0300 "Marius Gologan" wrote: > Where can I make a suggestion? > What kind suggestion? You can post here..

Re: Suggestion for docs

2011-06-22 Thread Wietse Venema
Wietse Venema: > Peter: > > The downside to this is if there's any % characters in the username or > > password it will come out wrong. I recommend instead: > > > > $ printf '\0%s\0%s' 'username' 'password' | openssl base64 > > AHVzZXJuYW1lAHBhc3N3b3Jk > > That is a good point. In particular % w

Re: Suggestion for docs

2011-06-22 Thread Wietse Venema
Jerry: > On Tue, 21 Jun 2011 20:07:02 -0400 (EDT) > Wietse Venema articulated: > > > > Using FreeBSD-8.2 with GNU bash, version 4.1.10(1)-release > > > (amd64-portbld-freebsd8.2) as the default shell. > > > > > > echo -ne '\000username\000password' | openssl base64 > > > AHVzZXJuYW1lAHBhc3N3b3Jk

Re: Suggestion for docs

2011-06-22 Thread Jerry
On Tue, 21 Jun 2011 20:07:02 -0400 (EDT) Wietse Venema articulated: > > Using FreeBSD-8.2 with GNU bash, version 4.1.10(1)-release > > (amd64-portbld-freebsd8.2) as the default shell. > > > > echo -ne '\000username\000password' | openssl base64 > > AHVzZXJuYW1lAHBhc3N3b3Jk > > This does not work

Re: Suggestion for docs

2011-06-21 Thread Sahil Tandon
On Tue, 2011-06-21 at 19:20:52 -0400, Wietse Venema wrote: > Sahil Tandon: > > Appears to work in bash and zsh; not in (t)csh. I quickly tested on > > FreeBSD and Darwin. Likely related to handling of null byte/char. > > I'm away from home, so I can't quickly fire up a ksh box. It certainly >

Re: Suggestion for docs

2011-06-21 Thread Uwe Dippel
On 06/22/2011 08:07 AM, Wietse Venema wrote: >>> >>> I'm away from home, so I can't quickly fire up a ksh box. It certainly >>> does not work with FreeBSD8 /bin/sh. Since I always have one: works perfectly well in ksh Uwe

Re: Suggestion for docs

2011-06-21 Thread Wietse Venema
Jerry: > On Tue, 21 Jun 2011 19:20:52 -0400 (EDT) > Wietse Venema articulated: > > > Sahil Tandon: > > > On Tue, 2011-06-21 at 18:45:47 -0400, Wietse Venema wrote: > > > > > > > Peter: > > > > > The SASL_README doc has a section about doing a telnet test of > > > > > a PLAIN SASL authentication.

Re: Suggestion for docs

2011-06-21 Thread Jerry
On Tue, 21 Jun 2011 19:20:52 -0400 (EDT) Wietse Venema articulated: > Sahil Tandon: > > On Tue, 2011-06-21 at 18:45:47 -0400, Wietse Venema wrote: > > > > > Peter: > > > > The SASL_README doc has a section about doing a telnet test of > > > > a PLAIN SASL authentication. There are some methods s

Re: Suggestion for docs

2011-06-21 Thread Rob Foehl
On Tue, 21 Jun 2011, Rich Wales wrote: printf '\000user\000pass' | openssl base64 This appears to work OK in tcsh and sh on Linux (Ubuntu Maverick). It also works if I write "\0" instead of "\000". Careful, that won't do the right thing if either string starts with a valid octal digit. Eit

Re: Suggestion for docs

2011-06-21 Thread Rich Wales
> printf '\000user\000pass' | openssl base64 This appears to work OK in tcsh and sh on Linux (Ubuntu Maverick). It also works if I write "\0" instead of "\000". Rich Wales ri...@richw.org

Re: Suggestion for docs

2011-06-21 Thread Wietse Venema
Sahil Tandon: > On Tue, 2011-06-21 at 18:45:47 -0400, Wietse Venema wrote: > > > Peter: > > > The SASL_README doc has a section about doing a telnet test of a PLAIN > > > SASL authentication. There are some methods suggested for generating > > > the base64 hash required to do the authentication,

Re: Suggestion for docs

2011-06-21 Thread Noel Jones
On 6/21/2011 6:06 PM, Sahil Tandon wrote: On Tue, 2011-06-21 at 18:45:47 -0400, Wietse Venema wrote: Peter: The SASL_README doc has a section about doing a telnet test of a PLAIN SASL authentication. There are some methods suggested for generating the base64 hash required to do the authentica

Re: Suggestion for docs

2011-06-21 Thread Sahil Tandon
On Tue, 2011-06-21 at 18:45:47 -0400, Wietse Venema wrote: > Peter: > > The SASL_README doc has a section about doing a telnet test of a PLAIN > > SASL authentication. There are some methods suggested for generating > > the base64 hash required to do the authentication, Of those two methods > >

Re: Suggestion for docs

2011-06-21 Thread Wietse Venema
Peter: > The SASL_README doc has a section about doing a telnet test of a PLAIN > SASL authentication. There are some methods suggested for generating > the base64 hash required to do the authentication, Of those two methods > one requires downloading a special utility to generate the auth string

Re: suggestion for hardware specs, postfix +mailstore

2010-11-02 Thread Jeroen Geilman
On 11/02/2010 02:42 PM, aio shin wrote: forwarding my message. From where ? Your own postfix-users mailing list ? Weird. hi, i would like your opinion on what would be the minimum requirement Completely dependent on your circumstances. if anyone of you would build a mailserver, po