OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: warning: connect to transport ....... help

From: Sahil Tandon (sahiltandon.net)
Date: Sun Jan 06 2008 - 22:03:42 CST


* Jason Ledford <jledfordbiltmore.com> [2008-01-06 22:27:25 -0500]:

> I am seeing this every 1 minute in my mail.err
> warning: connect to transport smtp[10.37.2.15]: No such file or directory
>
> I can't seem to find the matching message in my mail.log to see whats causing
> the problem.
>
> I found an entry in my transport map that had smtp[10.37.2.15] and I have
> changed that to smtp:[10.37.2.15] and did a postmap and have tested the bad
> address and it sent without a problem from the queue.
>
> But i am still getting the error every minute in my mail.warn log file.
>
> Do I need to reload postfix or what else should I check?

No, you need to requeue the failing messages with the correct transport map.

If only the bad transport map messages are sitting in the queue:

        postsuper -r ALL

Otherwise, see the man page.

--
Sahil Tandon <sahiltandon.net>