We are currently using sendmail on our only server (let's call it our "live server"), along with Apache, Perl and MySQL and POP.
In order to move the sendmail service and take all the load *out* of the current live server (some 15,000 messages are received and some 20,000 sent every day), how to configure our perl scripts on the live server to use another machine's sendmail services?
We know that it's possible to use the sendmail directive SMART_HOST to specify an external relay server, but in this case we have already seen that some maillog entries are anyway written on the live server, therefore we are forced to maintain a sendmail service on the live AND a sendmail service on the "mail server".
What's the advantage of it, if not simply avoiding only DNS lookups and sending retries? We are still forced to "transmit" a mail message "somewhere else" anyway... is there a way to be able to (essentially) being able to remove/disable the sendmail service from the live server completely using *only* an external mail server?
i.e. communicate the message to the remote server, have it accepted immediately into his mail queue, and let him worry about DNS resolving, whether the address actually exists, queuing retys etc ...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.