I made a little file with a From:, To: and body. I execute the command cat file.txt | sendmail -t -O MinQueueAge=1m thinking that the message would try every minute to send instead of the default 30m. (if the initial attempt failed of course). This doesnt seem to have any effect? In the event I have an important email and I want it try perhaps every minute (1minute) to send the email how do I accomplish this from the sendmail command line? Thanks, jerry
Jerry Geis <geisj at pagestation.com> writes:> In the event I have an important email and I want it try perhaps every > minute (1minute) > to send the email how do I accomplish this from the sendmail command line?considering just how many people use greylisting, this is likely a bad idea. Greylisting works by rejecting the first message from a new server with a 4xx (temporary) error code. If the server tries again immediately or never tries again, it's probably a spammer. If the server waits a reasonable period of time (say, 30 minutes) and then re-sends the mail, it's probably legit, and the greylist program puts that server on the whitelist so mail from that server goes through right away next time. Many people set things up such that if you try again immediately, you get put on a blacklist, as you are probably a spammer. (that said, the answer to your question is what you did with -q1m But you probably don't want to do it.)
Jerry Geis wrote:> I made a little file with a From:, To: and body. > I execute the command cat file.txt | sendmail -t -O MinQueueAge=1m > > thinking that the message would try every minute to send instead of > the default 30m. (if the initial attempt failed of course). > > This doesnt seem to have any effect? > > In the event I have an important email and I want it try perhaps every > minute (1minute) > to send the email how do I accomplish this from the sendmail command > line? > > Thanks, > > jerry >I had to change /etc/sysconfig/sendmail QUEUE=1m and restart sendmail it did not seem to have effect on an individual message from the command above. Thanks for the info about greylisting. Jerry
on 9-12-2008 6:15 PM Jerry Geis spake the following:> I made a little file with a From:, To: and body. > I execute the command cat file.txt | sendmail -t -O MinQueueAge=1m > > thinking that the message would try every minute to send instead of the > default 30m. (if the initial attempt failed of course). > > This doesnt seem to have any effect? > > In the event I have an important email and I want it try perhaps every > minute (1minute) > to send the email how do I accomplish this from the sendmail command line? > > Thanks, > > jerryJust because you are pounding someone else's mail server doesn't mean it is going to accept it one minute after it failed. If my servers don't accept your mail, either your server is on a blacklist, or I am being dossed and my servers are overloaded. If you are in a blacklist, I still won't accept it a minute later. If I am being dossed, it will take some time to resolve and the load to drop before I can accept your message. Either way, pounding another server every minute will cause you more grief than it is worth. If you want instant point-to-point communication, use a fax machine. Or call ahead and let someone know it is important and they can watch for it on their end. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080915/ff22196a/attachment-0002.sig>