> -----Original Message-----
> From: Noel Jones [mailto:njo...@megan.vbhcs.org]
> Sent: Wednesday, June 10, 2009 4:09 PM
> To: Michael Glenney; postfix users list
> Subject: Re: Need to create a mail dead-end or "super" catch-all
> 
> Michael Glenney wrote:
> >> -----Original Message-----
> >> From: Wietse Venema [mailto:wie...@porcupine.org]
> >> Sent: Wednesday, June 10, 2009 1:20 PM
> >> To: Michael Glenney
> >> Cc: postfix-us...@cloud9.net
> >> Subject: Re: Need to create a mail dead-end or "super" catch-all
> >>
> >> Michael Glenney:
> >>> I set it up as a map as you specified.
> >> And you failed to create the destination email account first.
> >>
> >> My example requires that the address "u...@example.com" as used in
> >> the example already works.
> >>
> >>     /etc/postfix/main.cf
> >>        virtual_alias_maps = static:u...@example.com
> >>
> >> I suggest that you hold off with my example until you can send mail
> >> to the destination account that you want to use as the catch-all.
> >>
> >>    Wietse
> >
> > I see what you're saying now.  I have a destination account.  I'm
> > testing with my main domain account on our exchange system I just
> > changed the domain name in my examples because I'm in the habit of
> doing
> > so.
> >
> > Without your change:
> >
> > [r...@servername postfix]# mail -s test1
> > michael.glen...@mycompaniesdomain.edu
> > test1
> > .
> > Cc:
> >
> > Jun 10 13:47:45 servername postfix/pickup[7576]: 8CF9624261: uid=0
> > from=<root>
> > Jun 10 13:47:45 servername postfix/cleanup[7621]: 8CF9624261:
> > message-
> id=<20090610204745.8cf9624...@onlq300asv01.qaols.internaldomain.
> > edu>
> > Jun 10 13:47:45 servername postfix/qmgr[7577]: 8CF9624261:
> > from=<r...@servername>, size=352, nrcpt=1 (queue active)
> > Jun 10 13:47:45 servername postfix/smtp[7623]: 8CF9624261:
> > to=<michael.glen...@mycompaniesdomain.edu>,
> > relay=onlq300mlx01.qaols.intenaldomain.edu[10.25.19.17], delay=0,
> > status=sent (250 Ok: queued as A8E791026A)
> > Jun 10 13:47:45 servername postfix/qmgr[7577]: 8CF9624261: removed
> >
> >
> > With your change:
> >
> > [r...@servername postfix]# postconf virtual_alias_maps
> > virtual_alias_maps = static:michael.glen...@mycompaniesdomain.edu
> >
> > (now I'm hoping that if I send a message to ANY email address it
will
> go
> > to my email instead)
> >
> > [r...@servername postfix]# mail -s test2 ob...@whitehouse.gov
> > test2
> > .
> > Cc:
> >
> > Jun 10 13:56:48 servername postfix/pickup[8607]: C379724261: uid=0
> > from=<root>
> > Jun 10 13:56:48 servername postfix/cleanup[9570]: C379724261:
> >
message-id=<20090610205648.c379724...@onlq300asv01.qaols.phoenix.edu>
> > Jun 10 13:56:48 servername postfix/qmgr[8608]: C379724261:
> > from=<r...@onlq300asv01.qaols.internaldomain.edu>, size=343, nrcpt=1
> > (queue active)
> > Jun 10 13:56:48 servername postfix/error[9572]: C379724261:
> > to=<michael.glen...@mycompaniesdomain.edu>,
> > orig_to=<ob...@whitehouse.gov>, relay=none, delay=0, status=bounced
> > (User unknown in virtual alias table)
> > Jun 10 13:56:48 servername postfix/qmgr[8608]: C379724261: removed
> >
> >
> > Once thing I notice is that relay=none after the change.  Maybe
> that's
> > where the issue is.  Not being relayed and that account isn't local
> to
> > the box that Postfix is on so Postfix is bouncing it (which it
> should).
> >
> > MG
> >
> > This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
> 
> 
> You also need to set
> virtual_alias_domains =
> ie. set to an empty value.
> 
>    -- Noel Jones

That's exactly what I needed.  Thanks.  Works now.

MG

This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Reply via email to