> -----Original Message-----
> From: Wietse Venema [mailto:[email protected]]
> Sent: Wednesday, June 10, 2009 1:20 PM
> To: Michael Glenney
> Cc: [email protected]
> 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 "[email protected]" as used in
> the example already works.
> 
>     /etc/postfix/main.cf
>           virtual_alias_maps = static:[email protected]
> 
> 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
[email protected]
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=<[email protected].
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=<[email protected]>,
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:[email protected]

(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 [email protected]
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=<[email protected]>
Jun 10 13:56:48 servername postfix/qmgr[8608]: C379724261:
from=<[email protected]>, size=343, nrcpt=1
(queue active)
Jun 10 13:56:48 servername postfix/error[9572]: C379724261:
to=<[email protected]>,
orig_to=<[email protected]>, 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.

Reply via email to