e-mail dosen't work send/receive


I had my ip changed by my ISP so i fallow the steps to change the ip to ehcp.
After the ip was changed my e-mail didn't work at all...
I did a cd /ehcp and run ./setup so now it works and al my sites work also but i whant to know how to rezolve this in the future if there is any ader easy way.

edit /etc/main.cnf
change all old ip/networks to new one.
restart postfix
/etc/init.d/postfix restart
re-test your mail sending..

should work after this..
if not, let us know your syslog's by:
tail -100 /var/log/syslog
after you restart postfix, and test email..

debian:~# nano /etc/m
magic mailman/ mime.types motd.tail
magic.mime mailname mke2fs.conf mtab
mail/ mail.rc modprobe.d/ mysql/
mailcap manpath.config modules
mailcap.order mc/ motd
debian:~# nano /etc/m

i don't see any main.cnf

sory, it was /etc/postfix/main.cf

and an alternative way that may solve:
go to ehcp gui, options, "fix mail configuration"
also in gui, options, dont forget to update your dns ip.