Eduardo Gargiulo <[EMAIL PROTECTED]> wrote:
>
> I'm using qmail on my LAN and it allows relaying based on IP addresses.
Good, fine.
> The problem is that when qmail send a bounce message to addresses
> outside the domain, that message bounces again, because the servers
> reject them saying
>
> ------
> Connected to 200.16.224.213 but sender was rejected
> Remote host said: 501: bogus mail from
> ------
>
> How can I fix this?
You can't. The remote server is refusing the empty envelope sender
(required to send the bounce). That's forbidden by the RFCs. Your best
course is to keep track of these servers, and refuse all mail from them.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------