i set the default domain name as the hostname in /etc/sysconfig/network and the loopback adress to the domain name as well in the host file
[root@ ~]# service exim restart
Shutting down exim: [ OK ]
Starting exim: [ OK ]
[root@ ~]# service dovecot restart
Stopping Dovecot Imap: [ OK ]
Starting Dovecot Imap: [ OK ]
[root@ ~]#
i still get this error
Message not sent. Server replied:
Requested action not taken: mailbox unavailable
550 relay not permitted