I tried to install citadel on a debian squeeze machine.
So far, what I've done is :
- install citadel from the repo
- create a user testuser & assign it the address [email protected]
Add 2 mx record to cloudflare
3a. mail.mydomain.com 1.2.3.4
3b. MX : mydomain.com mail.mydomain.com 40
edit my /etc/hosts file, and add myIP mydomain.com\n myIP mail.mydomain.com
Then, I can send an email to my gmail account , and I can see in the recipient from : [email protected]
However, when sending an email from my gmail account to [email protected], I've got this error message:
Delivery to the following recipient failed permanently:
[email protected]
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain mydomain.com by mail.mydomain.com. [1.2.3.4].
The error that the other server returned was:
550 Invalid recipient: testusermydomain.com
Not that the '@' disapeared : testusermydomain.com instead of [email protected]
When I try to send an email to [email protected], I've got a different error message :
The error that the other server returned was:
551 <[email protected]> - relaying denied
I am relatively new to the mail server setup process, and I chosoe citadel for its simplicity. Does anyone got any idea about what is going wrong?
Following the intruction on this link made the setup work correctly.
http://www.ducky-pond.com/posts/2012/Jul/installing-citadel-on-rpi/
Then you will need to edit /etc/init.d/webcit, and put this just after #/bin/sh (If it is missing)