Hi Johan,

johan Hartono wrote:
st1\:*{behavior:url(#default#ieooui) }
Dear all,

I have been running on this problem for some days now. I tryto build an email 
server using FreeBSD 6.2, Postfix, and dovecot.

Right now I have a problem relaying my email. Every time Isend email from a 
client through my email server to outer world, I got thismessage

-----------------

 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied

-----------------

while it works just fine for local email.

here I include my mail log result

-----------------

Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=<[EMAIL 
PROTECTED]>,relay=goldenflower [61.8.75.114], reject=550 5.7.1 <[EMAIL 
PROTECTED]>...Relaying denied

Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=<[EMAIL PROTECTED]>, 
size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114]

------------------

this is my postconf -n result.

------------------

command_directory = /usr/local/sbin

config_directory = /usr/local/etc/postfix

daemon_directory = /usr/local/libexec/postfix

debug_peer_level = 2

html_directory = no

inet_interfaces = all

mail_owner = postfix

mailq_path = /usr/local/bin/mailq

manpage_directory = /usr/local/man

mydestination = $myhostname, localhost.$mydomain, localhost,$mydomain

mydomain = sinb.cjb.net

myhostname = mail.sinb.cjb.net

mynetworks = 61.8.75.0/0, 127.0.0.0/8, goldenflower,61.8.75.114

myorigin = $mydomain

newaliases_path = /usr/local/bin/newaliases

queue_directory = /var/spool/postfix

readme_directory = no

sample_directory = /usr/local/etc/postfix

sendmail_path = /usr/local/sbin/sendmail

setgid_group = maildrop

smtpd_recipient_restrictions =permit_mynetworks          check_sender_access 
unix:passwd.byname $alias_maps

unknown_local_recipient_reject_code = 550


The mail servers of Yahoo, etc are probably rejecting your emails because they did not find the related MX records for your domain sinb.cjb.net.

Your email server needs to have a valid MX record setup on your DNS servers or on your ISP's DNS servers. A reverse DNS record is also needed.

 $dig sinb.cjb.net mx  @ns3.cjb.net.

; <<>> DiG 9.3.3 <<>> sinb.cjb.net mx @ns3.cjb.net.
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37178
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;sinb.cjb.net.                  IN      MX

;; AUTHORITY SECTION:
cjb.net. 3600 IN SOA ns1.cjb.net. cjb.cjbmanagement.com. 1189534800 300 300 86400 3600

;; Query time: 1448 msec
;; SERVER: 216.194.70.3#53(216.194.70.3)
;; WHEN: Wed Sep 12 00:09:56 2007
;; MSG SIZE  rcvd: 91



If you just want to relay your emails from your network to the internet, then the following relayhost entry should work:

relayhost = [mailserver.isp.tld]


Hope that helps.


Thanking you...



------------------------

Any idea all??

for any help will be greatly appreciated.

Thx and best Regards

Johan H

Best Regards

Johan Hartono
===========

'TooMuch Power Tends to Corrupt' -- Lord Acton 1887 --


--------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

System Administrator

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to