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';
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

In main.cf check this setting. Someone probably has a better answer then me
but just for thought.

myorigin = $mydomain

hth.

<p>
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# [EMAIL PROTECTED]
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
myorigin = $mydomain
</p>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to