White domains in greylist

Questions and answers about how to do stuff

Moderators: erroneus, HyTeK, prisoner881



White domains in greylist

Postby obolyz » Thu Mar 04, 2010 2:01 pm

Using ESVA for some years and still don't now how exactly SQLrey works...(shame on me)

What is use of White domains? I understant, that white domain is not sender domain used in from mail address. It is sender smtp server domain.
But...

I asked friend to send mail. His smtp server domain name - smtp.xxx.com. So before asking to send, I added smtp.xxx.com to white domain and asked to send email. Message was greylisted. Why? I clicked "forget" and took another try - added xxx.com to White domains and again asked to send email. No luck. Message greylisted again.

ESVA new install. No tweaks on SQLgrey.
obolyz
Enthusiast
 
Posts: 43
Joined: Sat Aug 04, 2007 8:51 am



Re: White domains in greylist

Postby borni » Thu Mar 04, 2010 6:03 pm

from ESVA Manual :

White Domains
The domain that is referred to here is the domain in the FQDN determined by reverse lookup, not the senders
domain name. For example, company yyy sends all their mail through their ISPs (zzz) smarthost. The mail from
address will be yyy.com, but the reverse lookup on the mail server sending the message is zzz.com.
If you decide to trust all hosts that resolve to zzz.com hostnames, you can manually add zzz.com to the white
domain list.

hth
User avatar
borni
Genius
 
Posts: 291
Joined: Tue Jul 07, 2009 12:16 pm
Location: Essen, Germany



Re: White domains in greylist

Postby obolyz » Thu Mar 04, 2010 7:05 pm

I have read manual. Maybe I didn not explained clearly (sorry about my english).

As I wrote - my friend, witch mail address is lets say friend@somedomain.com, sends mail through smtp.xxx.com.
Adding xxx.com or smtp.xxx.com to white domains does not work - mails still greylisted for first attempt.

Adding regexp so sqlgrey config file seems to work fine.
obolyz
Enthusiast
 
Posts: 43
Joined: Sat Aug 04, 2007 8:51 am



Re: White domains in greylist

Postby borni » Thu Mar 04, 2010 7:19 pm

unless you said you have read the manual .... did you doublecheck the reverse lookup of the respective server?

Code: Select all
dig -x ip

would be your friend, where ip is the ip of your friend's mailserver.
Be also sure that you check the server that is connecting to ESVA! this can also be a gateway/smarthost.
User avatar
borni
Genius
 
Posts: 291
Joined: Tue Jul 07, 2009 12:16 pm
Location: Essen, Germany



Re: White domains in greylist

Postby obolyz » Fri Mar 05, 2010 5:26 am

Yes I did.
To checked maillog from with host connection was made - its smtp.xxx.com.

Four ESVA running on different sites with the same beahviour - not white domains not working....
obolyz
Enthusiast
 
Posts: 43
Joined: Sat Aug 04, 2007 8:51 am



Re: White domains in greylist

Postby borni » Fri Mar 05, 2010 8:19 am

Did you also crosscheck what greylisting is storing in the greylist table?
Is this the same you have whitelisted?
User avatar
borni
Genius
 
Posts: 291
Joined: Tue Jul 07, 2009 12:16 pm
Location: Essen, Germany



Re: White domains in greylist

Postby obolyz » Fri Mar 05, 2010 8:23 am

Yes its the same.
obolyz
Enthusiast
 
Posts: 43
Joined: Sat Aug 04, 2007 8:51 am



Re: White domains in greylist

Postby borni » Fri Mar 05, 2010 8:47 am

the only way I could think about to solve this is analyzing the logs.
you would need to increase the postfix loglevel and add logging to mysql so you can see what data is received from postfix and what queries are sent to mysql (from greylisting).
User avatar
borni
Genius
 
Posts: 291
Joined: Tue Jul 07, 2009 12:16 pm
Location: Essen, Germany


Return to 2.x How-to

Who is online

Users browsing this forum: No registered users and 1 guest

cron