129 reputation
5
bio website
location
age
visits member for 2 years, 1 month
seen Mar 24 at 15:22

Aug
23
awarded  Supporter
Aug
23
comment Sendmail access_db configuration. How is it used and how to write it
I figured that my policy is not possible to be enforced by using access db. I'll have to either learn how to write my own rule set or learn MIMEDefang or milter-regex... Thanks @adamo for the help, really appreciate it!
Aug
23
accepted Sendmail access_db configuration. How is it used and how to write it
Aug
23
comment Sendmail access_db configuration. How is it used and how to write it
Still, what's the right way of saying "only allow mails sent to domain xxx"? I can say "reject mails sent to xxx" but the list can go on forever...
Aug
23
comment Sendmail access_db configuration. How is it used and how to write it
Yes I rebuilt the access.db... After a few retries I found that I have to specify FEATURE(`blacklist_recipients') for the "To:" rejection to work...!!
Aug
22
comment Sendmail access_db configuration. How is it used and how to write it
My "To:domain.com REJECT" doesn't seem to be working, I tested it by invoking sendmail on the server. I guess the problem is I had "Connect:localhost RELAY" at the first line, and thus this rule already allows my sendmail request. So I'm wondering if rules written ahead of other rules will be the dominant rule?
Aug
22
comment Sendmail access_db configuration. How is it used and how to write it
Thanks for your answer! What I'm trying to do is to use the access db to strictly restrict email behavior. So I want sendmail to only allow emails that's originating from localhost, and destined to *@mydomain.com only. Is it possible to do that? Because then I'll have to somehow say "if not allowed by access db, reject".
Aug
22
asked Sendmail access_db configuration. How is it used and how to write it
Aug
22
accepted PHP occasionally fails to connect to mysql server
Aug
21
comment PHP occasionally fails to connect to mysql server
@squillman Thanks for pointing that out, since the IP fix isn't possible now, I need to check for other issues. However the problem is I cannot reproduce the problem, so it seems only temporary. And temporary problems are the hardest to fix because no body knows the cause :\
Aug
21
comment PHP occasionally fails to connect to mysql server
Darn! When I was trying to fix the issue by using ip address instead of the host name, I figured that Amazon doesn't provide you an IP address for their RDS server... Only an endpoint, which is the host name...
Aug
21
comment PHP occasionally fails to connect to mysql server
That is a good point! I have never thought it might cause problems. I also (even more) occasionally get the "Lost connection to MySQL server at 'reading initial communication packet', system error: 110" error, but at a more seldom rate than the unknown host thing. Would this also be caused by the DNS resolving issue?
Aug
21
comment PHP occasionally fails to connect to mysql server
@FrandsHansen I am connecting using the host name, so something like *.rds.amazon.com
Aug
21
asked PHP occasionally fails to connect to mysql server
Aug
20
awarded  Commentator
Aug
20
comment Prevent mail server (sendmail) used to backscatter
After several days I got the clear results that I expected... I got notification from Google's mail delivery subsystem saying that my email delivery failed permanently after a couple of retries. I think this justifies that my effort is in effect :)
Aug
17
accepted Sendmail refuses to send email after daemon is turned off
Aug
17
comment Sendmail refuses to send email after daemon is turned off
Thanks guys this is actually neater than the solution that I cranked up. I'll accept this one.
Aug
17
comment Sendmail refuses to send email after daemon is turned off
@voretag7 I see, so this is to let Daemon run but listens to local machine only rather than listening to incoming emails from outside?
Aug
17
answered Sendmail refuses to send email after daemon is turned off