how to configure postfix main server without having domain?
how to configure postfix main server without having domain?
|
Are trying to build a test/local server or is this a production server ?
what do you mean by ? Quote:
Please provide more information on what exactly you are planning to do with mail server. |
i am learning red hat enterprise linux v5 and in that i have not configure DNS or DHCP servers inspite ofthat i want to configure postfix mail server for my local network
so tell me how do i configure postfix mail server????????? i have installed folling rpms 1.postfix 2.service-switch-mail i am abel to send mail to the local user of the RHEL5 server's bt nt abel to send mail to client through mutt... kindely help me... |
First of all. Sendmail and Postfix are 2 different MTAs(Mail Transfer Agents).
You cannot use sendmail and postfix at the same time. You first need to change the default MTA. If you want to change from a Sendmail MTA to Postfix MTA use this command: Code:
alternatives –set mta /usr/sbin/sendmail.postfix To select an alternative from those MTAs available use this command: Code:
alternatives –config mta Code:
alternatives –config mta Selection Command ———————————————– * 1 /usr/sbin/sendmail.sendmail + 2 /usr/sbin/sendmail.postfix Enter to keep the current selection[+], or type selection number: About your second question, In order to access your emails through different mail clients, you have to install IMAP/POP Server like dovecot and configure it. http://rimuhosting.com/support/setti...sp?mta=postfix |
the following things which i had done yet...
1. yum -y install postfix 2. yum -y install system-switch-mail-gnome 3. system > administration > mail transport agent switcher > postfix > ok 4. chkconfig postfix on 5. service postfix start 6. mutt > m(to createmail) > to:root@123.localdomain > subject:test > hiiiiiiiiiii i receiver this mail in return X-Original-To: root@VMrhel5.localdomain Delivered-To: root@VMrhel5.localdomain Date: Wed, 14 Dec 2011 12:55:29 +0530 (IST) From: MAILER-DAEMON@VMrhel5.localdomain (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: root@VMrhel5.localdomain Auto-Submitted: auto-replied [-- Attachment #1: Notification --] [-- Type: text/plain, Encoding: 7bit, Size: 0.4K --] This is the mail system at host VMrhel5.localdomain. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. - - 2/2: Mail Delivery System Undelivered Mail Return i have made no change in main.cf file what to do now... |
|
this is okay but i dont have a AD network or dont have a DNS server too
|
just use any domain name if in a lan.
r u going to use mail service over web or lan ? |
if u r not using mail service over web just follow
http://servercomputing.blogspot.com/...-in-linux.html |
what to do if there is no domain in lan?
|
just use a domain like yourname.com
|
okay i try and told u the result
|
sendmail: warning: valid_hostname: invalid character 64(decimal): root@VMrhel5.sunny
sendmail: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: root@VMrhel5.sunny i got this error when i tried to send mail to local users |
your host name includes invalid charactors, correct it (do not use symbols)
|
plz send me main.cf,body_checks and header_checks
|
All times are GMT -5. The time now is 06:44 PM. |