Send and Receive Email

domgarofalo
domgarofalo used Ask the Experts™
on
I am trying to set up Citadel on my Raspberry Pi. I can send and receive emails internally, but nothing externally. The domain name domgarofalo.net points the IP address of the Pi.

Where should I be looking to troubleshoot this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Timothy McCartneySYS ADMINISTR I INFRAS

Commented:
have you set up MX records that point to your Pi? Without MX records, inbound (external) mail won't know how to get there
Timothy McCartneySYS ADMINISTR I INFRAS

Commented:
http://mxtoolbox.com/

This free tool helps run many different parameters against a domain of your choosing (including looking up MX records).
Info Security Manager
Commented:
Get the logs hear and we can see what is the error is it relay denied ?

i see your MX is configured

domgarofalo.net

domgarofalo.net MX preference = 0, mail exchanger = smtp.secureserver.net
domgarofalo.net MX preference = 10, mail exchanger = mailstore1.secureserver.net

is your server having same IP




http://www.pihomeserver.fr/en/2013/06/22/raspberry-pi-home-server-raspbian-installer-votre-serveur-demail-avec-citadel/

Commented:
Hold on..

If you are just sending mails outside then there is no need of MX to be setup. Check you DNS configuration and the SMTP port state. Apart from that you can check whether network traffic is open or not for that specific port because many times at the end we found "ISP" is the culprit who is not allowing the traffic on port number 25.

Apart from this "Yes" if you want to go publicly you need to setup "MX" "TXT" records as-well in order to hassle free delivery of your mails at your inbox.. :)

TY/SA

Author

Commented:
I do have the mx records set up and I have ports 25 and 110 open on my router. Is it the configuration settings in Citadel that are wrong?
Shiju JacobInfo Security Manager

Commented:
i see your IP may be blacklisted

[root@shiju-centos ~]# telnet smtp.secureserver.net 25
Trying 72.167.238.29...
Connected to smtp.secureserver.net.
Escape character is '^]'.
554 p3plibsmtp01-03.prod.phx3.secureserver.net bizsmtp IB106. Connection refused. 117.192.12.133 is listed on the Policy Block List (PBL).  <http://www.spamhaus.org/query/ip/117.192.12.133> Please visit http://www.spamhaus.org/pbl/ for more information.
Connection closed by foreign host.

Author

Commented:
The IP addess you listed is not the IP address of the Pi.

Author

Commented:
Here is an excerpt from my mail log.

ay 22 20:44:32 raspberrypi citserver[8363]: SMTPCQ: processing outbound queue
May 22 20:44:32 raspberrypi citserver[8363]: SMTPCQ: queue run completed; 0 mes$
May 22 20:44:32 raspberrypi citserver[8363]: No external notifiers configured o$

Does this help?
Top Expert 2015

Commented:
According to all blacklists you dont have reverse DNS rercord on that IP. Ask your provider to set up reverse delegation or at least reverse host name.

Author

Commented:
Okay, I'll try that. I have my domain name pointed to the IP address that my Pi is on. My domain name is domgarofalo.net. My Citadel installation is at 65.xx.xxx.xxx:8504. I have my A record for domgarofalo.net pointed to 65.xx.xxx.xxx. I have another A record pointed to smtp.domgarofalo.net as well as an MX Record pointed to smtp.domgarofalo.net. For the folder for the subdomain, I have a redirect going to 65.xx.xxx.xxx:8504. What else am I doing wrong here?

Commented:
For a inbox delivery it is recommended to follow the best practices which includes SPF,  DKIM and PTR.

TY/SA

Author

Commented:
How to set up SPF, DKIM, and PTR?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial