Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
lveronneau  
#1 Posted : Wednesday, November 27, 2013 4:46:58 PM(UTC)
lveronneau

Rank: Member

Groups: Registered
Joined: 11/27/2013(UTC)
Posts: 11
United States
Location: Delaware

HI all,

I am using the server to send email from a few dating websites.
I use it specially to avoid sending emails to non valid addresses.

when "email is ready to delivery" occur I used a sql staement to save the msg in in a table
this works fine.

when "email is failed to deliver to an remote host" occurs i use a sql statement to buildup a list of invalid emails in bademailtable.

Is there a way i can automatically prevent sending to an address
that is in the bademailtable ?

like i would like to have in the event :
"When an email is ready to delivery"

something like :

stopdelivery if recptr in (select emailaddress from bademailtable)
??

thanks
ivan  
#2 Posted : Wednesday, November 27, 2013 7:22:44 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: lveronneau Go to Quoted Post
HI all,

I am using the server to send email from a few dating websites.
I use it specially to avoid sending emails to non valid addresses.

when "email is ready to delivery" occur I used a sql staement to save the msg in in a table
this works fine.

when "email is failed to deliver to an remote host" occurs i use a sql statement to buildup a list of invalid emails in bademailtable.

Is there a way i can automatically prevent sending to an address
that is in the bademailtable ?

like i would like to have in the event :
"When an email is ready to delivery"

something like :

stopdelivery if recptr in (select emailaddress from bademailtable)
??

thanks


Hi, I am sorry to say there is no such feature in DBConnector.

There alternative is:

in GFilter, you can set a rule like this:

if X-RCPT-TO contains:

{$fn_readfile:c:\mybadlist.txt}

then delete the message.

you need to update your mybadlist.txt by your application ( for example, update it from your table each 1 minutes ).
the format in mybadlist.txt should be:

bad1@domain
bad2@domain
...


ivan  
#3 Posted : Wednesday, November 27, 2013 7:24:49 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)

Another solution is:
write a Server Filter:

http://www.emailarchitec...ault.aspx?ct=filters.htm

but you need to build it by C++, you can read your database in the filter and delete the message if the recipient in your table.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.063 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.