Hi. I have Fedora Core 1, and I think that my mail server is allmost setup right. I have a fixed IP with an ISP, and bought a domain (myfamilyname.com) where I set the MX records pointing to mail.myfamilyname.com.
From the local area network all works. I can send to hotmail, receive from any machine on the Local Area Network etc.
Also my pop works. I can receive my mail using windows outlook express from work.
But the problem is when trying to use the mail server from work (18.104.22.168, fixed IP with mywork.com as domain) or my brothers computer (he uses bluecom.no as ISP, and don't have a fixed IP or a domain. This day the IP was 22.214.171.124) . The logs give me the following (first from my brothers place, then from work):
Jun 6 12:00:38 linux sendmail: i56A0aLj007960: ruleset=check_rcpt, arg1=<email@example.com>, relay=[126.96.36.199], reject=550 5.7.1 <firstname.lastname@example.org>... Relaying denied. IP name lookup failed [188.8.131.52]
Jun 7 10:13:53 linux sendmail: i578DrLj012848: ruleset=check_rcpt, arg1=<email@example.com>, relay=[184.108.40.206], reject=450 4.7.1 <firstname.lastname@example.org>... Relaying temporarily denied. Cannot resolve PTR record for 220.127.116.11
From these newsgroups, I got a little confused. Some says I have lists the IP address in /etc/mail/relay-domains or /etc/mail/access (or maybe both??). This would fix sending mail from work, which has an fixed IP. Right?
But what about sending mail from my brother, where the IP changes often. I gave him an account called email@example.com
and he can send to users of my system (@myfamilyname.com), and can receive via pop from anyone, but cannot send to, say, hotmail as seen in the log above. Can I insert bluecom.no in either "relay-domains" or "access" so that he can mail too. Or is it another way of so that he can send mails using my server and domain (that don't fail any junk mail filters and won't make my server an open relay)? Or can I use the linux username and password somehow to authenticate that it is him and none other trying to relay a mail via my system?
Hope you can help