On Jun 24, 2022, 10:40 PM nick wrote:

> Hi Luc.
> I think you need some whitespace at the start of the second line - e.g.
> "echo '  flags=R user=...' >> master.cf". Otherwise Postfix isn't going
> to know that this is a continuation of the first line?

Yes, I fixed that lack of space (two spaces) after googling, and the
problem persists.

Matus UHLAR - fantomas wrote:

> you can do this in recipients .forward, .procmailrc or .mailfilter,
> is there any reason you want to do this in postfix configuration file?

I have zero interest in using procmail. That requires a lot of reading and
learning. The same for mailfilter. I already know a programming language
and I have a script that is 99% ready to do the job I need. I used it with
qmail almost 20 years ago and it worked handsomely. Plus, my own script
will give me 100% control, independently of any ready solution's features
or lack thereof. I am not sure about .forward. I don't know how it works. I
prefer to do it with a catch-all and script. That's how I did it way back
when and I will be a lot more comfortable doing it that way. I just need to
have all mail sent to my home bred script, and I will be a happy camper.

Now, here is the log with the errors. It seems to complain about the
absence of the 'dropbox' user. That makes total sense because there is no
dropbox user. That is a leftover from something I copied from a random page
that offers the solution I am trying to implement. If anybody knows what
the correct configuration is, please let me know. I replaced 'dropbox' with
'mailbot' which is the catch-all account, but that doesn't work either.
Then I tried the 'postfix' user and postfix expressly complained about
that. Looks like it is verboten. My last attempt was using 'root' and that
didn't work either. But I am not sure the problem is just that. Rather, it
seems that I am configuring the transport incorrectly, but I don't know how
to configure it correctly. It's amazing how many MTA installation recipes
shared on the Internet fail when I try them myself.

-------------------- 8< --------------------
Jun 25 11:15:14 server postfix/qmgr[2049]: 96C7AF210C: from=<
mas...@example.com>, size=337, nrcpt=1 (queue active)
Jun 25 11:15:14 server postfix/pipe[2052]: fatal: get_service_attr: unknown
username: dropbox
Jun 25 11:15:16 server postfix/qmgr[2049]: warning: private/mailbot socket:
malformed response
Jun 25 11:15:16 server postfix/qmgr[2049]: warning: transport mailbot
failure -- see a previous warning/fatal/panic logfile record for the
problem description
Jun 25 11:15:16 server postfix/master[21038]: warning: process
/usr/lib/postfix/sbin/pipe pid 2052 exit status 1
Jun 25 11:15:16 server postfix/master[21038]: warning:
/usr/lib/postfix/sbin/pipe: bad command startup -- throttling
Jun 25 11:15:16 server postfix/error[2057]: 96C7AF210C: to=<
mail...@example.com>, orig_to=<nonexist...@example.com>, relay=none,
delay=355, delays=354/1.1/0/0.01, dsn=4.3.0, status=deferred (unknown mail
transport error)
Jun 25 11:15:20 server postfix/pickup[2050]: 96C7AF210C: uid=0 from=<
mas...@example.com>
Jun 25 11:15:20 server postfix/cleanup[2075]: 96C7AF210C: message-id=<
20220625151520.96c7af2...@server.example.com>
Jun 25 11:15:20 server postfix/qmgr[2049]: 96C7AF210C: from=<
mas...@example.com>, size=337, nrcpt=1 (queue active)
Jun 25 11:15:20 server postfix/error[2057]: 96C7AF210C: to=<
mail...@example.com>, orig_to=<nonexist...@example.com>, relay=none,
delay=0.06, delays=0.05/0/0/0, dsn=4.3.0, status=deferred (unknown mail
transport error)
-------------------- >8 --------------------

Thank you for all the help.

Reply via email to