[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4757: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
mvpskill.com | Forum • แสดงกระทู้ - การอนุญาติ ให้อุปกรณ์ต่างๆ ส่ง E-Mail ไปยังนอกองค์กร

การอนุญาติ ให้อุปกรณ์ต่างๆ ส่ง E-Mail ไปยังนอกองค์กร   

คำถามเกี่ยวกับ Exchange Server & SharePoint & lync & Microsoft Office365

การอนุญาติ ให้อุปกรณ์ต่างๆ ส่ง E-Mail ไปยังนอกองค์กร

โพสต์โดย Tidtee St Litano » ศุกร์ 24 ม.ค. 2014 11:13 pm

ว่ากันด้วยหลายๆ องค์กรคงมีระบบ E-mail ตัวเอง และมีอุปกรณ์ต่างๆ เช่น Printer, Wireless, Storage ฯลฯ อุปกรณ์เหล่านี้สามารถส่งสถานะออกไปผ่าน SMTP ได้
ถ้าส่ง SMTP ภายในองค์กรเอง ส่งได้สบายอยู่แล้ว แต่ถ้าออกไปยังนอกองค์กรล่ะ เช่น Outlook.com ฯลฯ ต้องทำอย่างไรมาดูกัน
exchange-2013-smtp-relay.png
exchange-2013-smtp-relay.png (13.1 KiB) เปิดดู 17047 ครั้ง

ขั้นแรกเลยเปิด Exchange Management Shell ขึ้นมาเลย (ตัวอย่างที่ผมทำนี้เป็น Exchange 2007 แต่คำสั่งใช้ได้ทุก Version ค๊าบบ)
Shell1.JPG
Shell1.JPG (46.23 KiB) เปิดดู 17047 ครั้ง

แล้วพิมพ์คำสั่งนี้ลงไปครับ หรือ Copy ไปก็ได้ครับ
New-ReceiveConnector -Name "xxxxx" -Usage Custom -PermissionGroups AnonymousUsers -Bindings <ip address> -RemoteIpRanges <ip address>

**** ตรง –Name คือชื่อ Receive connector ที่ต้องการจะตั้ง
**** ตรง –Bindings คิอ Ip address ของ SMTP Server หรือ Hub/Cas
**** ตรง –RemoteIpRanges คือ Ip address ของอุปกรณ์ที่ต้องการส่ง SMTP ออกไป ค๊าบบบบ

Shell2.JPG
Shell2.JPG (73.23 KiB) เปิดดู 17047 ครั้ง

หลังจาก สร้าง ReceiveConnector เรียบร้อยแล้ว ก็ต้องทำให้ Connect ตัวนี้ ปล่อยของออกด้านนอกได้ ตามด้านล่าง ค๊าบบบ

Get-ReceiveConnector "xxxx" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

*** Get-ReceiveConnector "xxxx" คือ ชื่อ Receive Connect ที่เราสร้างที่ต้องการให้อุปกรณ์ ส่ง Mail ออกไปข้าง ค๊าบบบ
จากนั้น Enter ลงไป เบาๆ ที่ปุ่ม

จากนั้น Test ส่ง SMTP จากอุปกรณ์ โลดครับ

*** เพิ่มเติมอย่านำคำสั่งแก้ที่ default receive connector เพราะเป็นการ open relay ให้ผู้ไม่หวังดีอาศัย exchange ของเราเป็นเครื่องส่ง spam ได้ครับ

PS. เขียนครั้งแรกครับผิดพลาดยังไงขออภัยด้วย ค๊าบบ
Credit : K. Thanyapon Sananakin (อาจารย์ ตุ่น)
ภาพประจำตัวสมาชิก
Tidtee St Litano
 
โพสต์: 1
ลงทะเบียนเมื่อ: ศุกร์ 24 ม.ค. 2014 10:15 pm
ที่อยู่: Bangkok, Thailand

ย้อนกลับไปยัง Exchange Server & SharePoint & lync & Microsoft Office365

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 1 ท่าน

About us | mvpskill.com

mvpskill.com | IT Professionals Community กลุ่มคนที่มีความเชี่ยวชาญและหลงใหลใน Microsoft Infrastructure เรารวมตัวกันเพื่อแบ่งปันความรุ้ความชำนาญให้กับพี่น้องร่วมอาชีพ เนื้อหาทั้งหมดไม่ว่าจะเป็น Knowledge Base, VDO, Ebook ทุกอย่างจะฟรี และฟรีตลอดไปครับ เนื้อหาและกิจกรรมงานสัมมนาที่เกิดขึ้นในสังคมแห่งนี้เกิดจากอาสาสมัคร ที่ไม่แสวงหาผลกำไรใด ๆ ทั้งสิ้น เราทำด้วยแรงกาย แรงใจ และแรงเงิน ที่พอจะมีส่วนตัวหรือได้รับการสนับสนุนจากองค์กรที่เห็นประโยชน์ของกิจกรรม ขอให้มีความสุขกับการแบ่งปันของเราครับ

cron