Author Topic: test list  (Read 1791 times)

dbowen1

  • Posts: 19
    • View Profile
test list
« on: April 03, 2006, 12:42:46 pm »
Dean,

During some tech support you did for me a while ago you imported a list of test addresses such as test1@lmhost2.com, test2@lmhost2.com, etc. There are about 10,000 of these addresses and you mentioned that messages sent to these are just silently discarded by your server.

My question is, can I still use this list for testing and will your server still discard these as you described? (I don't want to hammer your server unnecessarily)

Thanks,
Dan

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
test list
« Reply #1 on: April 03, 2006, 10:37:33 pm »
I had removed some of the entries and only 0-999 were active.  I have set it up to now cover 0-11000.  You can email this list but try not to send more than a few thousand at a time, please. :)

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

mr.trevor

  • Posts: 125
    • View Profile
test list
« Reply #2 on: April 04, 2006, 11:45:04 am »
I may be using my straw brain today but I am intrigued as to how you set up a few thousand e-mail addresses with such ease.
It takes me a couple of minutes to set one up... :o
TrevorW

dbowen1

  • Posts: 19
    • View Profile
test list
« Reply #3 on: April 04, 2006, 11:50:10 am »
Quote from: "mr.trevor"
I may be using my straw brain today but I am intrigued as to how you set up a few thousand e-mail addresses with such ease.
It takes me a couple of minutes to set one up... :o


I could be wrong, but my guess is that the email addresses don't actually exist and the server is set up to discard emails to addresses that don't exist.

mr.trevor

  • Posts: 125
    • View Profile
test list
« Reply #4 on: April 04, 2006, 11:59:34 am »
I must admit that I am not too clear about this but I was thinking that if addresses don't actually exist then the mail would be bounced.
TrevorW

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
test list
« Reply #5 on: April 04, 2006, 02:54:21 pm »
I did it with email aliases. I created an alias for each of the addresses and pipe the email to |/bin/true, essentially discarding it.   With qmail, used on my server, you need a new file for each alias.

I used a PHP script via SSH shell in the /var/qmail/mailnames/lmhost2.com folder, where aliases are created:

Code: [Select]
#!/usr/bin/php
<?phpfor($i=0;$i<=11000;$i++){ exec("echo \"|/bin/true\" > .qmail-test$i");}?>

Of course, hard drive access becomes an issue with several thousand files in a folder and this may not be the best way to do it.  I think .procmailrc, for example, could achieve this and more (ie. discard test*@lmhost2.com) in just a few lines.  I should probably look into .procmailrc for qmail... :)

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting