setting mailx default smtp relay
- by Arthur
I heave searched Google for this and cannot seem to find a soloution
I have bsd-mailx on my server and it sends mail just fine
However I wished to have a development environment at home.
I need mailx such that php can use its mail function.
However the mail is failing to resolve the domain name @gmail.com
I am aware that my ISP talk talk may be blocking this is they have a mail server
smtp.talktalk.net
I assume I would have to add somthing to /etc/mail.rc
and use heirloom maEdit turned out I had a instance of send mail running that was doing weird things.. after killing ilx not bsd-mailx,,but would still need to set default smtp relay
Im on ubuntu 12.4
thankyou
Edit turned out I had a instance of send mail running that was doing weird things.. after killing that, I was able to add the smtp relay, but its now saying that the sender domain does not work. I assume this domain has to route back the the same machine the mail originated from. as i dont have a domain for my home address.