|
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: Fri Dec 14 2007 - 01:14:46 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
With my current installation, before doing " make install" in
/usr/ports/mail-mta/postfix-current, I tried to send a mail to my Postfix
server and the observations are as follows:
The mail was sent to a user 'postfix', which was configured on Postfix
installation (referring to the INSTALL guide)
Say my System IP (from which I sent the mail using a perl script) is
192.168.10.200
And Say the PostFix Server IP is 192.168.10.300
The other parameters setup in the main.cf are as stated in my last mail. i.e
myhostname = abc.domain.co.in
mydomain = domain.co.in
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname,localhost.$mydomain,localhost
mynetworks_style = class
mynetworks = 168.100.189.0/28,127.0.0.0/8
relay_domains = $mydestination
relayhost = $mydomain
relay_recipient_maps = hash:/etc/postfix/relay_recipients
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Mailbox
mail_spool_directory = /var/mail
mailbox_command = /etc/postfix/procmail
mailbox_transport = cyrus
fallback_transport = cyrus
1user_relay = $local
other.host
smtpd_banner = $myhostname ESMTP $mailname
Also before sending the mail I had kept tcpdump to a txt file (check.txt) on
the Postfix system
When I sent the mail from my system, I saw that netstat showed me the
following status
Proto: tcp4
Recv-Q: 81
Send-Q: 0
LocalAddress: 192.168.10.300.smtp
ForeignAddress: 192.168.10.200.52744
State: ESTABLISHED (before) / CLOSE_WAIT (on completion)
When I checked the check.txt file dumped, I got some encrypted characters. I
could see the MAIL FROM, RCPT TO headers there
But when I logged in as 'postfix' user and typed the command
% mail
It said "No Mails".
I checked the /var/mail and /etc/postfix/procmail folders, but there was
nothing there too.
I had the following queries
(1) How do I get the mail for the user?
(2) How do I add another user into Postfix?
(3) When I add a user, how do I map the ID of the user into Postfix
Please help
Regards,
Archa
-----Original Message-----
From: owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org] On Behalf Of Devdas Bhagat
Sent: Friday, December 14, 2007 11:57 AM
To: postfix-users
postfix.org
Subject: Re: Issue in connecting to the Postfix MTA
On Fri, Dec 14, 2007 at 11:18:22AM +0530, archa_bhandare wrote:
>
> Sorry, but I didn't get what ' On FreeBSD "use the ports".' means. Can you
> please explain in brief.
IIRC,
cd /usr/ports/mail-mta/postfix-current && make install replace clean
(the directory may not be correct).
> Or can u tell me the exact steps I should perform to setup and test that
the
> Postfix server is up and running? Its ok if you even provide me with
> examples of domain name, mail to etc
>
What does netstat say? And your logs?
Devdas Bhagat
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]