[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

POSTFIX smtp relay access problem SOLVED (live config of postfix)



Keyword:
==========

Redhat Linux AS 2.1 RLAS21 RLAS 2.1 postfix configuration compatibility
outlook not sending mail to postfix smtp. Postfix smtp relay simple
postfix relay how to, postfix relay-how-to.
postfix+squirrelmail how to configure..


Server is providing the following services:
==============================================

Primery DNS
Mailing System : Webmail / POP/IMAP client
Web Server : for rvpn.co.in

Packages Used:
==============
OS : Redhat AS - version 2.1 (RHAS21)

apache-1.3.23-10 --- Webserver daemon (service httpd start/stop/status)
imap-2001a-15 : ----> POP3 access to Outlook and Edora client
Postfix-2.0.13-3.1.rhas21 ---> MTA
squirrelmail-1.2.7-4 -->Webmail for Postfix & Imapd
squirrelmail-plugins compatibility:
     1) change_password---3.1-1.2.80--> change pass of user through webmail
     2) compatibility 1.3 --> required for change password option

Remark:
=======
1)when installing this squirrelmail error like httpd required will be popup
just ignore it puting rpm -Uvh squirr*.rpm --nodeps. it works.
2) After this entry is required in /etc/httpd/conf/http.conf for alies
for /webmail option in the web browser
3) if POP client like outlook express dosn't work. some relay related
problem has to be sorted out in the main.cf files. To relay local LAN
user in POSTFIX I did the following things:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
inet_interfaces = all
mynetworks_style = subnet
mynetworks = 210.212.60.0/24 192.168.17.0/24 192.168.18.0/24
smtpd_recipient_restrictions = permit_mynetworks check_client_access
hash:/etc/postfix/client_access check_sender_access
hash:/etc/postfix/sender_access reject_unauth_destination

Note : create the file in /etc/postfix for sender_access and
check_client_access.

Sample of client_access file:
210.212.99.60	OK
210.212.99.51	OK
192.168.17.0	OK
127.0.0.1	OK
10.0.0.2	OK

IMPORTANT: after any entry or changed dont be fool and forget to write it
to database. to write it to database just do

postmap client_access

Now go and check the Mail is sending and receiving from Outlook also.

Here is live and running Postfix main.cf file configuration:
============================================================


# readme_directory: The location of the Postfix README files.
#
readme_directory = /etc/postfix/README_FILES
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
mydestination = pushkar.co.in
myorigin = pushkar.co.in
masquerade_domains = pushkar.co.in
#fallback_transport = smtp:ns.pushkar.co.in
inet_interfaces = all
mynetworks_style = subnet
mynetworks = 2sdsfsdfs60.0/24 192.168.17.0/24 192.168.18.0/24
smtpd_recipient_restrictions = permit_mynetworks check_client_access
hash:/etc/postfix/client_access check_sender_access
hash:/etc/postfix/sender_access reject_unauth_destination

hummmmmmm
Pushkar Bhatkoti
ARTEK ENTERPRISES PVT LTD
Nehru Place New Delhi India
pushkar_bhatkoti@rediffmail.com







Its just cook. I have tested and its running working fine







Reply to: