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@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.)
Luke S Crawford wrote:
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.
I really don't understand why people just don't turn off their mailservers if they don't want mail from others.
Ralph
Ralph Angenendt ra+centos@br-online.de writes:
I really don't understand why people just don't turn off their mailservers if they don't want mail from others.
Most of us have come close. I get north of 500 spams a day unprotected. I've been using the same email since '01. I know many others have it worse than I do.
At that point, there is no choice about loosing mail. When sorting that by hand (and I have) I delete a significant amount of good mail. The automated filters usually do much better than this human when you have 10 spams for every legitimate mail.
Rejecting mail from mailservers that don't follow the generally accepted best practices, I think, is completely reasonable. It gets rid of a whole lot of spam, and the rules are pretty simple and easy to follow, so I think it is completely reasonable to ask people who run mailservers to put in a little effort to setup things like rdns, and to make sure they don't do things like retry once a minute.
what if my mailserver was rejecting with a 4xx because it was overloaded? retrying every minute would certainly not help things.
I really don't understand why people just don't turn off their mailservers if they don't want mail from others.
Most of us have come close. I get north of 500 spams a day unprotected. I've been using the same email since '01. I know many others have it worse than I do.
I got my first website address in 1997. I almost got bob.com, but networksolutions would not give it to me even though it was expired for a year. Microsoft legal even offered to network solutions to let it go..but they would not send the fax. It should have been mine. I spent a week calling about it to microsoft and left a message to a 'top guy'. The next day it was suddendly given to the guy who owns it now. A 'friend' of microsofts.
Anyway...back on the topic. My email has been the same forever. On the old server I could, after filtering, get upwards of 2000 mails a day. Not all junk mail is filterable due to work and stuff.
I just did my centos though..new server, updated the spam stuff...down to less than 100 a day. It is like being reborn.
So, it is possible with a heavliy used email address to weed out a lot of junk through centos and spam assassin indeed. I was highly impressed.
on 9-13-2008 2:50 AM Ralph Angenendt spake the following:
Luke S Crawford wrote:
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.
I really don't understand why people just don't turn off their mailservers if they don't want mail from others.
I just don't want mail from others that are sending me bulk crap telling me how inadequate my manhood is or plugging the next new penny stock, or can't take 5 minutes to read how to setup their server properly.
If someone wants to send me legitimate mail, I'll do my best to accept 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,
jerry
Just 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.