OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: cant recieve mail --Help

From: Joel (zealousbonbon.net)
Date: Mon Nov 03 2003 - 01:33:05 CST


Hello
I have send the output as u suggested me.

[rootjoel root]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
myhostname = joel.d2visp.com
mynetworks = 192.168.0.0/24, 127.0.0.0/8
myorigin = joel.d2visp.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = joel.d2visp.com

This is the smtpd.conf

[rootjoel root]# cat /usr/lib/sasl/smtpd.conf
pwcheck_method: pam

I can send mails with authentication but the problem is cant recieve
mails.
If i send mail to myself then i can recieve mail but i cant get mail
from other domains.

Kindly help in this matter.

Thanks,
joel

On Sat, 2003-11-01 at 22:10, Andreas Winkelmann wrote:
> Am Samstag, 1. November 2003 12:23 schrieb Joel:
>
> > My mail concept is very new. So dont know much about that.
> > But I have configured smtp authentication with mysql. I can send the mail
> > with authentication.
>
> These are two diffrent things.
>
> > But i cant recieve mails.
> > I am describing my configuration.
> >
> > myorigin = $myhostname
> > mydestination = $myhostname localhost.$mydom
> > myhostname = xyz.example.com
> > mydomain = example.commynetworks = 168.100.189.0/28, 127.0.0.0/8
> > inet_interfaces = all
> > smtpd_sasl_auth_enable = yes
> > smtpd_sasl_local_domain = myserver
> > broken_sasl_auth_clients = yes
> > smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated
> > reject
> >
> > And in /etc/postfix/master.cf ..i have changed to like this.
> >
> > smtp inet n - n - - smtpd
> >
> > I can send mails but i m not recieving mail even i m mailing myself then
> > also i cant recieve mail.
> > plz help me....
>
> Check your logs. Send a "postconf -n". If it is a sasl-error, post your
> smtpd.conf.