The user in question was moved to another server on our network. So, in effect, yes, I was sending to the removed user on another server.
I have sent to the “moved” user from an outside address and it works as expected. I believe the issue is that when I send a test email, the moved user was on the same server and therefore considered local. Somehow, postfix still thinks the user is on the old server even though I have removed all references to it that I am aware of. Only when I send through the server they used to be on does the message have issues. Jeff > On Feb 7, 2022, at 7:30 PM, Rob McGee <[email protected] > <mailto:[email protected]>> wrote: > > On 2022-02-07 13:25, SH Development wrote: >> We have a postfix/dovecot/mysql configuration. We recently removed >> one of the users from the database, however when we send email, it >> still looks like the address we are sending to is a local address > > You're sending mail to the address you removed? > >> and bounces with a “no such user” error. > > Is this a problem? Is this not what you intended? Did you try > sending to the removed address from outside, e.g., from a free mail > provider? > >> I have tried restarting both postfix and dovecot with no change in >> the problem. > > That would also be expected. > >> Do we maybe need to get rid of the actual vmail box file? > > Cannot affect what Postfix does. > >> Is there a cache or something that needs to be cleared? > > Maybe. You did not show the logs of this. > -- > http://rob0.nodns4.us/ <http://rob0.nodns4.us/>
