On Mon, 14 Mar 2011 14:28:51 -0400
the honourable Victor Duchovni <victor.ducho...@morganstanley.com>
wrote using one of his/her keyboards:

> On Mon, Mar 14, 2011 at 08:01:09PM +0200, Petre Bandac wrote:
> 
> > intern.c.ro relay:[10.0.0.77]
> > ##
> > 
> > and I still get the relay denied error
> > 
> > 
> > Mar 14 19:31:11 mx postfix/smtpd[43289]: NOQUEUE: reject: RCPT from
> > mail.kgb.ro[193.239.159.34]: 554 5.7.1 <john....@intern.c.ro>:
> > Relay access denied; from=<pe...@kgb.ro>
> > to=<john....@intern.c.ro> proto=ESMTP helo=<mail.kgb.ro>
> 
>     http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_to
> 
>     relay_domains = intern.c.ro
>     indexed = ${default_database_type}:${config_directory}/
>     relay_recipient_maps = ${indexed}relay-recipients
> 
> List the valid recipients in the relay-recipients table.
> 

thanks, victor, it works

I tried before this approach (listing recpients in
relay_recipients_maps, but instead of relay_domains I used the
"mydestination" setting - which obviously did not work, so I did not
bother to scroll down main.cf to see relay_domains)

the final setup as per this issue is:

## main.cf

relay_domains = intern.c.ro
relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients

## relay_recipients

john....@intern.c.ro OK

## transport

intern.c.ro relay:[10.0.0.77]



thanks again,

petre


-- 

Petre Bandac

Network Scientist

-

pe...@kgb.ro

Attachment: signature.asc
Description: PGP signature

Reply via email to