On 2/25/2014 10:10 AM, Andy Rowe wrote:
> This seems like an easy thing to do but I’m still a beginner. I have
> a postfix installation w/ dovecot, SA and postfixadmin. In addition
> to a few virtual domains, I have the linux box in front of an M$
> exchange 2003 server acting as a content filter. All the emails
> going to legitimate accounts in that domain are relayed after
> filtering. I’d like to also have that (relayed) domain to have a
> couple of additional accounts which would be accessed through the
> IMAP server like the rest of the virtual domain’s accounts.
> 
>  
> 
> postconf -n | grep relay
> 
> relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf
> 
> relay_recipient_maps = hash:/etc/postfix/relay_recipients
> 
> relayhost = 192.168.0.5:25
> 
>  
> 
> /etc/postfix/relay_recipients is in the form of
> 
> us...@example.org <mailto:us...@example.org> OK
> 
> us...@example.org <mailto:us...@example.org> OK
> 
> us...@example.org <mailto:us...@example.org> OK
> 
> us...@example.org <mailto:us...@example.org> OK
> 
>  
> 
> and of course postmap /etc/postfix/relay_recipients
> 
>  
> 
> I’ve created accounts (honey pots) in postfixadmin and put them in
> /etc/postfix/relay_recipients but I get 550 5.1.1 User
> 
>     unknown (in reply to RCPT TO command) from the exchange server.
> 
>  
> 

Create a honeypot user in your virtual domain, then use
virtual_alias_maps to map them.

#virtual_alias_maps
honeypot1@exchange  honeypot@virtual
honeypot2@exchange  honeypot@virtual



  -- Noel Jones


Reply via email to