Link to home
Start Free TrialLog in
Avatar of Sanjeev jha
Sanjeev jhaFlag for India

asked on

Postfix mail server configuration

Las t time i tried hard but and fully success in configuring Postfix mail server on Centos 5.2

Now again i am trying to build Postfix mail server.

Now I am trying below website
http://adityo.blog.binusian.org/?p=44 
and following step by step and let check whether am success or fail again.

My question is this:

1:if there is any good site similar or best then this please mentioned.
2:wget  http://mirrors.rootservices.net/postfix/official/postfix-2.5.5.tar.gz( this command is not running)
3:wget http://prdownloads.sourceforge.net/courier/courier-authlib-0.61.0.tar.bz2(this command is also showing error)
4:-wget http://prdownloads.sourceforge.net/courier/courier-imap-4.4.1.tar.bz2(This command also not working)

Humble request is check and suggest how would be able to download all these.
and also requesting to check whether this site is worth full or not ; if not then mentioned like this where everything should be mentioned step by step.

Regards
Sanjeev.
Avatar of Sandy
Sandy
Flag of India image

Sanjeev,

Why don't you try Zimbra once.. You gonna love that

TY/SA
Hi,

the URL for downlink is wrong.  you can below to download the same.
wget http://sourceforge.net/projects/courier/files/latest/download?source=files

You can refer below URL to configure Postfix. here it is explained in very simple and it was worked for me.
http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/
Avatar of Sanjeev jha

ASKER

Thanks for post; am trying to configure test environment and test. If i face any issue let you know by questions.


Thanks
Sanjeev
"yum upgrade"
"yum install postfix"
Following your link;

First i installed Red Hat 6 in fresh PC. Then I decided to configure DNS but I am getting below errow, Please help me in troubleshoot.

"Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
dns_rdata_fromtext: for.portway.com:3: near '1D': not a valid number
dns_rdata_fromtext: for.portway.com:11: near 'mail.portway.com.': not a valid number
zone portway.com/IN: loading from master file for.portway.com failed: not a valid number
zone portway.com/IN: not loaded due to errors.
_default/portway.com/IN: not a valid number
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
dns_rdata_fromtext: rev.portway.com:3: near '1D': not a valid number
zone 0.168.192.in-addr.arpa/IN: loading from master file rev.portway.com failed: not a valid number
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: not a valid number"
                                                           [FAILED

Please help me where am doing wrong.
named (BIND) configuration is wrong.
It has nothing to do with postfix.
named-checkconf -z tells what is wrong and you have BIND ADMINISTRATORS GUIDE at distance od internet search.
root@server ~]# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm( This command run successful)
[root@server ~]# rpm -ivh epel-release-6-8.noarch.rpm(This command run successful)
[root@server ~]# yum install squirrelmail(This command shows some error which is below)

yum install squirrelmail
Error: Package: squirrelmail-1.4.22-3.el6.noarch (epel)
           Requires: hunspell-en
Error: Package: squirrelmail-1.4.22-3.el6.noarch (epel)
           Requires: php-mbstring

Please suggest how to avoid this error:
For troubleshoot:

I have run Successfully 1 command and second command and then 2 files created by epel_

in /etc/yum.repos.d folder.

I deleted both folder for testing because i have already created yum directory in this folder.
after doing this again tried to install squirrelmail but not worked.
then again run 1 command and 2 command but now it is telling
no package available of squirrelmail. Please help me for the same.
yum clean all
yum check-update
you need to have centos repositories as epel pulls its requisites from them (system will become centos 5.10 in the end)
am doing in RH-6

 yum install squirrelmail
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package squirrelmail available.
Error: Nothing to do
How would i get centos repositories in RED HAT 6?
"This system is not registered with RHN.
RHN support will be disabled."

How to enable this and what does mean
First line of your question says CENTOS 5.2

To get  access to redhat repositories you need to enter your RHN credentials in rhn_register tui/gui (that costs 1 redhat subscription)
1:-IS it Possible possible to install mail server in Red Hat-6?

2:-if yes then please advise and mentioned the link which i should  follow and able to configure successfully.
Hi
http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/

This is very useful site and am following this:
My point is below:

1:- When I follow in Red Hat-6 it works same to same line by line in Postfix and dovecot configuration.it creates only problem in installation of squirrelmail

2: when I follow in CentOs then this site does not match line by line in postfix and dovecot configuration. I found many thing difference. Please help me.
squirrelmail pkg can be downloaded separately can then can be installed.

TY/SA
please also tell me step by step for installation and How it could be downloaded.
go to rhn.redhat.com
log in with your subscription ID, register the system, and "yum install squirrelmail"

sorry, default config for all rpms is 1:1 between rhel and centos.
Hi Sysrams:

I am configuring postfix in RED HAT6, the link which you have mentioned is good; am following same step by step in it works till dovecot coniguration. But when I tried to configure squirrelmail and getting difficulty and won't be able to install it. Please tell me other command so that i may download and install it without  registration.

or
I am trying to install postfix in Centos5 and following the link is not matching so getting more confusion.

Please help me and send similar link for centos or suggest which version is compatible for this site.

Thank you very much for you
Postfix versions on both EL5 and EL6 are almost same
On EL5 you might want to disable/remove sendmail to not interfere with your postfix trades
am talking how to install squirrelmail in RH6
Add redhat optional repository via RHN
Add EPEL repository https://fedoraproject.org/wiki/EPEL (rpm --import import key file, rpm --install epel-release.el6.rpm)
then
yum install squirrelmail
Hi Sir: Please confirm without subscription ID, Is it possible to install squirrelmail in RedHat 6 or not.

Because I am getting difficulty to create repository.
I am not able to install it RH6.Please help me.

"Install EPEL repository first. And install SquirrelMail package from EPEL repository"
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please give me the link from where I could able to download centos6 ISO.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please also guide me create user email id through webmail
http://wiki.centos.org/HowTos/MigrationGuide (look for EL6 -> CentOS6 migration)
You may not need a DVD...
Hi please suggest me to implement or integrate postfixadmin.
Try webmin...
Hi with the help of this site
http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=10
I tried to configure my mail server. I am able to get postfixadmin/login.php but i am not able to login with the help of email Id and password. Please help.

1: I am not able to do last one and getting error "Setup password not specified correctly"

if you would follow this link then I am facing point no:- 5,6,7.
try editing the *.inc.php with vim or some other editor that checks syntax.
I have successfully configured postfixadmin and able to login.
Please find attached file. it would be more clear. Now I want

1:- How to make it working. I mean form here I want to configure email id; group id; reset password etc. How all these task would be done. Please mentioned any link or give me command for the same. So that my mail server become fully functional.


Thanks in advance.
Sanjeev
postfixadmin.png
Please provide me some solutions for the above query.
I've requested that this question be closed as follows:

Accepted answer: 0 points for sjhabth's comment #a39932633

for the following reason:

Thanks
Actually everybody else helped you. I dont get the idea hos potfixadmin or named are relevant to your initial question. If it sounded like "help me to fix misconfigured mail server" all the discussion was in right place