Re: internal messages problem with postfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 root@xxxxxxxxxxxx But now, I can't receive internal messages as it tries to send them to root@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxx
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
# user@xxxxxxxxxxxxxxxxxxxx
#
# 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux