On 1/31/2017 4:45 AM, Tim Smith wrote:
> Hi,
> 
> I’m trying to create a “nobody@“ email address for outbound-only
> transaction confirmations that will /dev/null any attempts to email
> it.
> 
> In my main.cf on the inbound mail gateway I have:
> relay_recipient_maps = ${indexed}XYZ_relay_recipients
> 
> And in the map file I have :
> [email protected] DISCARD
> 
> Make tables, reload etc.  but then it doesn’t seem to work ?
> 
>    <[email protected]>: Recipient address rejected: User unknown in
>    virtual mailbox table (in reply to RCPT TO command)
> 
> 
> Perhaps I’m mis-interpreting the purpose of relay_recipient_maps ? If
> so, what should I be using instead ?  Bear in mind that as mentioned
> above, this is a mail gateway, mails are not stored locally on these
> machines but forwarded on to internal ones.
> 
> Thanks
> 
> 
> Tim
> 

The relay_recipient_maps table is for listing valid recipients in
relay_domains.

Discard that recipient's mail with a transport map entry
# transport
[email protected]   discard:

You may also need to add that user to your virtual mailbox table so
it will be accepted as a valid user.



  -- Noel Jones

Reply via email to