John Ritsi wrote:
>
> Which file is used to modify qmail's headers? Some ISPs
> don't accept mail from me:
>
> Eg:
> :
>
> Connected to xxx.xxx.x.xx but sender was rejected.
>
> Remote host said: 550 rejected: cannot route to sender
>
>
> --- Below this line is a copy of the message.
>
> Return-Path:
I believe what is happening here is that their server is verifying the return address before accepting mail. The mail claims to come from SERVER@mydomain.com, but mail can't be sent to SERVER@mydomain.com, presumably because mydomain.com doesn't exist or doesn't have an MX record.
This doesn't have a lot to do with qmail - sender address is usually set by the sender's mail program.
Charlie