I wrote a simple JSP that relays mail off of the same server the code is hosted on. The /var/log/maillog file showed the following error:
Oct 21 19:41:17 oradev sendmail[7681]: o9LNpH03007681: from=<automatedemail@car.somefakedomain.org>, size=385, class=0, nrcpts=1, msgid=<15307386.1287705077663.JavaMail.root@oradev.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]Even though the 'to' email address is valid, the 'from' email address was intentionally spoofed (i.e., the 'from' address is not a real address).
Oct 21 19:41:19 oradev sendmail[7683]: o9LNpH03007681: to=<test@ipnweb.org>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=120385, relay=aspmx.l.google.com. [74.125.93.27], dsn=5.0.0, stat=Service unavailable
Oct 21 19:41:19 oradev sendmail[7683]: o9LNpH03007681: o9LNpJ03007683: DSN: Service unavailable
Resolution:
1. Make sure that the domain name of the 'from' email address is a valid mail server, otherwise it might be rejected.
Obviously make sure that your DNS is configured correctly and that both the 'to' and 'from' servers are accessible.
Rerunning the scenario now works, and /var/log/maillog shows:
Oct 21 19:50:50 oradev sendmail[7678]: o9LNoouZ007678: from=<automatedemail@somerealdomain.org>, size=375, class=0, nrcpts=1, msgid=<1269514.1287705050212.JavaMail.root@oradev.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]Applicable Versions:
Oct 21 19:50:51 oradev sendmail[7680]: o9LNoouZ007678: to=<test@ipnweb.org>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120375, relay=alt1.aspmx.l.google.com. [209.85.227.27], dsn=2.0.0, stat=Sent (OK 1287705051 u36si4103378weq.17)
Red Hat AS 4 Update 4
Great Article. Thank you for sharing! Really an awesome post for every one.
ReplyDeleteA Fast Cross Range Scaling Algorithm for ISAR Images Based on the 2 D Discrete Wavelet Transform and Pseudopolar Fourier Transform Project For CSE
A Physical Model of Non stationary Blur in Ultrasound Imaging. Project For CSE
Content Aware Enhancement of Images with Filamentous Structures Project For CSE
Deformable Image Registration Using Functions of Bounded Deformation Project For CSE
Effects of Compression on Remote Sensing Image Classification Based on Fractal Analysis Project For CSE
Fast and Robust Symmetric Image Registration Based on Distances Combining Intensity and Spatial Information Project For CSE
Segment based Disparity Refinement with Occlusion Handling for Stereo Matching Project For CSE
A Multi channel Cross modal Fusion Framework for Electron Tomography Project For CSE
supreme clothing
ReplyDeletecurry 6
golden goose slide
golden goose sneakers
cheap jordans
golden goose
golden goose
paul george shoes
golden goose outlet
air jordan
Look At This this post hop over to these guys discover here internet look at these guys
ReplyDeleteRecommended Site Ysl replica this page Goyard Dolabuy go now Bottega Veneta Dolabuy
ReplyDeletew8b19o9h18 i5g09d3x36 x7r84t1k96 i9r19p9s08 e0c30z2f80 j1s27n4c43
ReplyDelete