Ian P. Christian wrote:
> I'm sure I'm doing something silly here, but I can't figure out why this
> isn't working.
>
> My server handles email for domain.com, and then forwards it on to
> another mail server.
>
> I want to enable recipient call out, so that if someone mails a
> non-existant address at domain.com, it is rejected at my server.
>
> acl_check_rcpt:
> accept hosts = :
>
> warn log_message = "xxxx: relay domain"
> domains = +relay_to_domains
>
> deny message = REJECTED - Recipient Verify Failed - User Not
> Found
> domains = +relay_to_domains
> !verify = recipient/callout=2m,use_sender
>
>
> 2007-11-07 13:16:53 H=xian.ncuk.net [80.249.110.212] Warning: "xxxx:
> relay domain"
> 2007-11-07 13:16:56 1Ipkm6-0000Kj-Rn <= pookey@???
> H=xian.ncuk.net [80.249.110.212] P=esmtps X=TLSv1:AES256-SHA:256 S=482
> id=E1Ipkl0-0003bI-NW@??? T="test"
> 2007-11-07 13:16:58 1Ipkm6-0000Kj-Rn => tfsadff@???
> R=mysql_mail_route T=remote_smtp H=204.15.133.126 [204.15.133.126]
> X=TLSv1:AES256-SHA:256
> 2007-11-07 13:16:58 1Ipkm6-0000Kj-Rn Completed
>
>
It should work like you did.
You should maybe ensure that 204.15.133.126 is actually denying messages to non
existent users.