I have a Redhat 6.2 server with ADSL, fetchmail and sendmail. I also have a domain name, which directs (catchall) any email to my bigpond email from which I download it to the server with fetchmail. eg: someone sends email to joebloggs@mydomain.net.au; it will be relayed to my bigpond email account myemail@bigpond.net.au; Fetchmail will then fetch it for sendmail.
The problem occurs in that fetchmail retrieves it, it goes to sendmail, however, does not go to a user mailbox on my system, rather sendmail will try to relay it back to myemail@bigpond.net.au - Then there is a never ending loop of relays from my sendmail server to myemail@bigpond.net.au and back!
My internal domain is set at the domain name eg: mydomain.net.au (real name is used, this is just to illustrate). If I send an email internally to say joebloggs@mydomain.net.au it arrives internally no probs.
If I look at the header of a mail item on the bigpond email it will have
From: sender@sendersdomain.com
For: myemail@bigpond.net.au
To: joebloggs@mydomain.net.au
It seems that fetchmail/sendmail/procmail or whatever is ignoring the To: and just relaying to the For: address.
I cannot find a .forward or a .promailrc file either. Dont know if they should be there or not.
If anyone can tell me what is need to get the server to accept the To: address and not relay it to the For it would be greatly appreciated. Thanks in advance.
The problem occurs in that fetchmail retrieves it, it goes to sendmail, however, does not go to a user mailbox on my system, rather sendmail will try to relay it back to myemail@bigpond.net.au - Then there is a never ending loop of relays from my sendmail server to myemail@bigpond.net.au and back!
My internal domain is set at the domain name eg: mydomain.net.au (real name is used, this is just to illustrate). If I send an email internally to say joebloggs@mydomain.net.au it arrives internally no probs.
If I look at the header of a mail item on the bigpond email it will have
From: sender@sendersdomain.com
For: myemail@bigpond.net.au
To: joebloggs@mydomain.net.au
It seems that fetchmail/sendmail/procmail or whatever is ignoring the To: and just relaying to the For: address.
I cannot find a .forward or a .promailrc file either. Dont know if they should be there or not.
If anyone can tell me what is need to get the server to accept the To: address and not relay it to the For it would be greatly appreciated. Thanks in advance.