i setup a postfix mail server on a fedora 14 box
I can send perfectly but i cant receive any email from outsid
I'm getting
Code:
Mar 20 12:46:42 serverlinux postfix/smtpd[11394]: connect from nm19.bullet.mail.ird.yahoo.com[77.238.189.76]
Mar 20 12:46:44 serverlinux postfix/smtpd[11394]: NOQUEUE: reject: RCPT from nm19.bullet.mail.ird.yahoo.com[77.238.189.76]: 554 5.7.1 <nm19.bullet.mail.ird.yahoo.com[77.238.189.76]>: Client host rejected: Access denied; from=<xxxx@yahoo.fr> .............
Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.mydomain.org
mydomain =mydomain.org
myorigin = $mydomain
inet_interfaces =all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8,192.168.1.0/24
home_mailbox = Maildir/
header_checks = regexp:/etc/postfix/header_checks
smtpd_banner = $myhostname ESMTP
mailbox_size_limit = 1073741824
# for SMTP-Auth settings
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
inet_protocols = all
unknown_local_recipient_reject_code = 550
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.7.7/samples
readme_directory = /usr/share/doc/postfix-2.7.7/README_FILES
smtpd_client_restrictions =permit_mynetworks,permit_sasl_authenticated, reject_non_fqdn_helo_hostname,permit
smtpd_helo_restrictions =permit_mynetworks,reject_non_fqdn_helo_hostname,reject_unknown_helo_hostname,permit_sasl_authenticated,permit
smtpd_recipient_restrictions =reject_unauth_pipelining,reject_non_fqdn_recipient,reject_invalid_helo_hostname,reject_unknown_recipient_domain,permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
smtpd_sender_restrictions =permit_sasl_authenticated,reject_non_fqdn_sender,reject_unknown_sender_domain,reject_unauth_destination,permit
and here is the output of the DIG command
Code:
[root@serverlinux morad]# dig mx mydomain.org
; <<>> DiG 9.7.2-P2-RedHat-9.7.2-2.P2.fc14 <<>> mx mydomain.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9619
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.org. IN MX
;; ANSWER SECTION:
mydomain.org. 3600 IN MX 10 mail.mydomain.org.
;; AUTHORITY SECTION:
mydomain.org. 3206 IN NS ns02.domaincontrol.com.
mydomain.org. 3206 IN NS ns01.domaincontrol.com.
;; ADDITIONAL SECTION:
ns01.domaincontrol.com. 7592 IN A 216.69.185.1
;; Query time: 1082 msec
;; SERVER: 81.52.165.35#53(81.52.165.35)
;; WHEN: Tue Mar 20 12:56:03 2012
;; MSG SIZE rcvd: 122
thx in advance!!!!