Frank DeChellis:
> Hi there,
>
> New to postfix and the list.
>
> We have a new postfix install (v 2.5.6) that we are trying to get going.
>
> My problem is ... I setup that server to be our gateway in our DNS so the
> address has propagated when I needed it. But I left it on with the postfix
> running for a few hours.
>
> So now I have a server with email box waiting for email, and a server with
> no email boxes that had port 25 for a few hours with mail in the hold queue
> (/var/spool/postfix/hold) with no where to go.
>
> Is there a command with postfix to empty the que and send that mail to
> another smtp server?
To send all mail for "example.com" to "host.example.com":
# cat >>/etc/postfix/transport
example.com host.example.com
# postmap hash:/etc/postfix/transport
# postconf -e transport_maps=hash:/etc/postfix/transport
# postfix reload
To release one message from the hold queue:
# postsuper -H queue_id
# sendmail -q
And if that is delivered as it should:
# postsuper -H ALL
Wietse
> Thanks
> Frank
>
> P.S. Stop laughing ;-)
>
> Frank
>
>
>
>
>
>
>
> Frank DeChellis
> President, Internet Access Worldwide
> Welland, Ontario, Canada
> www.iaw.com
>
>