This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Greylist not populating?

I have enabled greylisting. My understanding is that three items of an incoming message are recorded; (1) sender address, (2) host IP, and (3) recipient address. The first time these three items [together] are encountered the message is temorarily rejected [default Astaro wait time 5 minutes] until the sending server re-sends. After the re-send/5 minutes the "triplet" is recorded in to the SMTP proxy database and further e-mails are allowed through. 

In watching my log it appears as if my SMTP proxy db is not recording the triplets. I sent a  message to myself (2-23-05 late afternoon) and watched the reject. The re-send came through fine. All messages today, from the same account to the same account, are also being rejected. I am seeing this from other messages as well. 

Am I missing something in my configuration? Anyone else having this issue? Is there a "purge" threshold for the database where it begins again? 

Thanks,

Big

Astaro 5.100


This thread was automatically locked due to age.
Parents
  • You find the DB in the directory /var/chroot-smtp/etc/greylist_db/rcpt_address/ip_address. There is a file named by the greylisted e-mail address. Inside this file, you will find the timestamp (in unix format). To encode this, use the function on the commandline: 
    perl -e 'print localtime(unix-timestamp) . "\n"';
    This shows you the time, the sender address was greylisted the first time. After 5 minutes, the sender should be able to send mail to your ASL. 
    Please post the relevant loglines. This will help us to debug!
    Cheers bagira
  • Bagira,

    Thank you for the response. First of all, the information as to where the greylist is stored was very helpful. The Perl script, for some reason, only returns epoc no matter where I run it. 

    Now, for all of you that read this message and wondered, my apologies...the first thing I had to do was get some sleep - too many long days and nights tend to cloud your thinking. As I was looking through the greylist folder(s) it dawned on me what was happening in my particular case; providers such as Yahoo, Hotmail, GMAIL, etc., use many, many mail servers. As it turns out messages sent from my personal hotmail account were coming from different mail (IP) servers each time resulting in a unique "triplet" and subsequently a wait time. I suspect, without blinding myself looking at logs all day, that this is consistent with many of the messages coming in. 

    Thanks again for the help and I will now gladly accept my flogging for not paying attention...:-)

    Big
  • Same thing had me scratching head for a bit [:)]
Reply Children
No Data