Brian wrote:
Mufit Eribol wrote:
Hello,

After a server crash, I re-installed postfix, cyrus-imapd, amavisd-new, spamassassin on a Centos 5.1 box. But, now mail system behaves somewhat different.

There is no problem with mail receiving/sending from/to internet.

Before the crash, mail system used to sent internal messages to [EMAIL PROTECTED] But now, I can't receive internal messages as it tries to send them to [EMAIL PROTECTED] I used the same postfix, cyrus-imapd, amavisd-new, /etc/aliases conf files from the previous setup.

Must be a configuration issue I overlook. Could anybody please tell me what to check?

Best wishes,
Mufit

main.cf:
mydomain = example.com
myhostname = server.example.com
mydestination = example.com ...

amavisd.conf
$mydomain = 'example.com';
$myhostname = 'server.example.com';
In main.cf check this setting. Someone probably has a better answer then me
but just for thought.

myorigin = $mydomain

hth.

Thank you for your reply. But, it is already set as you told.

I installed CentOS to a formatted hard disk but used the same conf files for postfix, amavisd-new, cyrus-imapd, /etc/aliases from the previous setup. Somehow, mail system gets the "server name" as the "domain name" for the internal messages.

[EMAIL PROTECTED] ~]# uname -n
server.example.com
[EMAIL PROTECTED] ~]# hostname -d
example.com
[EMAIL PROTECTED] ~]# hostname -f
server.example.com
[EMAIL PROTECTED] ~]# hostname
server.example.com

It looks names are configured correctly. I am stumped!

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to