|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: archa_bhandare (archa_bhandare
persistent.co.in)
Date: Thu Dec 13 2007 - 22:33:02 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I am a new user to the Postfix MTA. I have tried to configure the MTA using
the following steps. Please correct me if I am wrong
(These steps were executed referring to the BASIC_CONFIGURATION_README and
the INSTALL file)
Note that I do not have Sendmail MTA configured on my system (infact I am
not sure if it is configured, but the command "/usr/bin/sendmail.OFF -q"
gives an error)
1. Downloaded the Postfix 2.4 Patchlevel 6 Source Code and the PGP
signature from www.postfix.org <http://www.postfix.org/>
2. Logged in to our FreeBSD system as an unprivileged user.
3. Copied these two tar files to our FreeBSD system here.
4. Untarred the Source code tar.
5. cd to this top-level Postfix directory of the source tree typed
a. make
6. Created an user account named "postfix", with an user id and group
id that are not used by any other user account (as said in the INSTALL
document)
7. Also created an group postdrop, with an user id and group id that
are not used by any other user account (as said in the INSTALL document)
8. Executed the command
a. make install
b. Installed all setting in default locations.
9. I changed the "main.cf" file to the following configurations
a. myhostname = host.domain.tld
b. mydomain = domain.tld
c. myorigin = $mydomain
d. inet_interfaces = all
e. mydestination = $myhostname,localhost.$mydomain,localhost
f. mynetworks_style = host
g. mynetworks = 168.100.189.0/28,127.0.0.0/8
h. relay_domains = $mydestination
i. relayhost = $mydomain
j. relay_recipient_maps = hash:/etc/postfix/relay_recipients
k. alias_maps = hash:/etc/aliases
l. home_mailbox = Mailbox
m. mail_spool_directory = /var/mail
n. mailbox_command = /some/where/procmail (don't know where this folder
is )
o. mailbox_transport = cyrus
p. fallback_transport = cyrus
q. 1user_relay = $local
other.host
Rest settings are default.
10. Excuted the following command next
a. postfix start
This gave the status as "postfix/postfix-script: starting the Postfix mail
system"
I think with this status, the postfix MTA is up.
Now, my issue is that, I tried to send mails from another machine using the
username as from abc
domain.tld to pqr
domain.tld and server hostname as my
FreeBSD system name on port 25.
But it says failed to connect to the system.
Is there anything I am missing out to do?
How should I check if the postfix MTA us up and running?
Please reply asap.
Regards,
Archa
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]