sharad kanekar:
> Dear All,
>              I configured Postfix 2.3.3-2  on CentOS 5.2.  But I am unable
> to send receive mails. I want to use ISP as relay host

To send mail using the ISP as relay host, use the main.cf:relayhost
parameter. http://www.postfix.org/postconf.5.html#relayhost

To receive mail for mails.coreteamsolutions.in via the ISP, you need
to set an MX record that points to the ISP, and you need to arrange
with the ISP that they forward your mail to the local machine. The
exact details depend on how the ISP's mail system works.

        Wietse

> [EMAIL PROTECTED] ~]# postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> inet_interfaces = all
> mail_owner = postfix
> mail_spool_directory = /var/spool/mail
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = coreteamsolutions.in
> myhostname = mails.coreteamsolutions.in
> mynetworks = 192.168.1.0/24, 127.0.0.0/8
> mynetworks_style = subnet
> myorigin = $myhostname
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
> sample_directory = /usr/share/doc/postfix-2.3.3/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymoust
> smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
> reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_path = private/auth
> smtpd_sasl_type = dovecot
> unknown_local_recipient_reject_code = 550
> 
> My Postfix  /var/log/maillog are
> 
> Aug 15 04:19:12 mails postfix/pickup[6269]: 40D627B057F: uid=501
> from=<sharad>
> Aug 15 04:19:12 mails postfix/cleanup[6330]: 40D627B057F: message-id=<
> [EMAIL PROTECTED]>
> Aug 15 04:19:12 mails postfix/qmgr[6270]: 40D627B057F: from=<
> [EMAIL PROTECTED]>, size=372, nrcpt=2 (queue active)
> Aug 15 04:19:12 mails postfix/local[6333]: 40D627B057F: to=<
> [EMAIL PROTECTED]>, orig_to=<sharad>, relay=local,
> delay=0.04, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to
> mailbox)
> Aug 15 04:19:16 mails postfix/smtp[6332]: 40D627B057F: to=<
> [EMAIL PROTECTED]>, relay=gmail-smtp-in.l.google.com[209.85.143.27]:25,
> delay=3.9, delays=0.02/0.01/2.1/1.8, dsn=2.0.0, status=sent (250 2.0.0 OK
> 1218754156 22si3415027tim.10)
> Aug 15 04:19:16 mails postfix/qmgr[6270]: 40D627B057F: removed
> Aug 15 04:21:30 mails postfix/pickup[6269]: EA5787B057F: uid=501
> from=<sharad>
> Aug 15 04:21:30 mails postfix/cleanup[6391]: EA5787B057F: message-id=<
> [EMAIL PROTECTED]>
> Aug 15 04:21:30 mails postfix/qmgr[6270]: EA5787B057F: from=<
> [EMAIL PROTECTED]>, size=365, nrcpt=2 (queue active)
> 
> -- 
> Thanks and Regards,
> 
> Sharad Kanekar

Reply via email to