Friday, July 08, 2005

Postfix phantom transport

Are you getting an error like this?

postfix/qmgr[22615]: warning: connect to transport spamassassin: No such file or directory

Except it doesn't have to be "spamassassin", just any program that is being run that shouldn't be running anymore. I actually was getting this:

postfix/qmgr[22615]: warning: connect to transport smapassassin: No such file or directory

"smapassassin"... somewhere along the way, I tried to get postfix to use "smapassassin." But ever since then, there was no no program like this and I looked in everyfile for this to see where it was coming from, but I couldn't find it! Very frustrating.

Here's the line, which I use all the time to look inside files:

find . -type f -print0 | xargs -0 grep "smapassassin"

Anyway, I ran:

$ newaliases

to processes the file(s) specified with the alias_database configuration parameter, thus clearing up the phantom command.

Then, since this error was coming from the queue manager ('qmgr' above), I requeue messages:

$ postsuper -r ALL


for more on these commands:

# man postsuper
# man newaliases

0 Comments:

Post a Comment

<< Home