|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: unable to HOLD messages
thomas
members.ping.de
Date: Mon May 03 2004 - 11:45:15 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, May 01, 2004 at 06:40:43PM +0200, Magnus B?ck wrote:
> On Saturday, May 01, 2004 at 17:08 CEST,
> thomas
members.ping.de wrote:
>
> > I have got postfix 2.0.16 set up and receiving mail for a few domains,
> > which are in mydestination, but forwarded through means of
> > $HOME/.forward to another box in the network. This second box is down
> > right now and will be for a while, so I want postfix to HOLD those
> > forwarded mails, which I fail to archive.
> >
> > I tried
> >
> > smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/access_test, permit_mynetworks, reject_unauth_destination
> >
> > in main.cf, with "access_test" containing a simple
> >
> > * HOLD
>
> What part of access(5) says that "*" is a wildcard?
Doh. You got me on this one. Most probably none. This was just a shot in the
dark, kind of last resort try, after having tried
destination.host.name HOLD
net.wo.rk HOLD
ip.adr.es.s HOLD
without success.
I'm not really new to MTAs in general, I guess "* HOLD" and failing
to mention previous tries (as above) in a post to a superb mailing
list is what you get when your girlfriend urges you to hurry up and
you actually listen to her. :-)
I'm sorry, not failing to provide this additional information would
have saved one iteration.
> > which didn't work. What is the most appropriate solution for this?
> > Where is my error?
>
> There are at least two solutions. Either replace the access map use a
> regexp/pcre map containing
>
> /./ HOLD
>
> or (even) simpler use static:HOLD, e.g.
>
> check_recipient_access static:HOLD
>
> to return HOLD for all lookups.
At least the latter would prevent outgoing email from working.
I will try (and read) a little more, as now I have a little more time on
my hands, and until a solution is found use postsuper to move mail to
the hold queue.
Thanks for helping out (Wietse, too)!
Have a nice day,
Thomas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]