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?

On 25.06.22 12:43, Luc GMail wrote:
I am not sure about .forward. I don't know how it works.

http://www.postfix.org/local.8.html
...it sends incoming mail to other address, file and/or script.
the last should do what you want

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.

FYI mailbot is script from maildrop package, that's why I assumed you are familiar with its syntax.

-------------------- 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

this looks like you are still trying to execute command under non-existing user.
How exactly do you imagine non-existing user should work?
Creating the user should help, but better start with the .forward --
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The only substitute for good manners is fast reflexes.

Reply via email to