automatically save Undeliverable email address

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
zeros
New user
New user
Posts: 3
Joined: 2014-07-31 11:29

automatically save Undeliverable email address

Post by zeros » 2014-07-31 11:40

how can I automatically save Undeliverable email address?

[examples]
Rejected by mailbox host.
550 Requested action not taken.
This user doesn't have a yahoo.co.kr account
550 5.1.1 No such user
etc...

I need rejected email address list.
but, now hmailserver use only return email.

let's make one table of DB.
save the rejected e-mail address.

what do you think?
what should I do?

sorry. I can not speak English well.

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: automatically save Undeliverable email address

Post by percepts » 2014-07-31 15:22

you can do this yourself by writing a script to trap mails sent back from mailer-daemon and handle them as you wish.

search online docs for Script, COM API, eventhandlers.vbs and rules

you will need to know VBScript and SQL if you want to put results in a table but you could just forward the mailer-daemon mail to one one address who actions it.

zeros
New user
New user
Posts: 3
Joined: 2014-07-31 11:29

Re: automatically save Undeliverable email address

Post by zeros » 2014-07-31 16:02

dear. percepts

thank u for your reply.

but, I can't find "Undeliverable email address save script for mailer-daemon".

I need example.

thanks.

User avatar
mattg
Moderator
Moderator
Posts: 19810
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: automatically save Undeliverable email address

Post by mattg » 2014-07-31 16:23

sniff sniff
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

^DooM^
Site Admin
Posts: 13862
Joined: 2005-07-29 16:18
Location: UK

Re: automatically save Undeliverable email address

Post by ^DooM^ » 2014-07-31 21:14

I wrote a parser to do just this from the logs way back in V4 of hMail so I could remove stale addresses from our DB.

http://www.hmailserver.com/forum/viewto ... =14&t=8097

I have no idea if it works with V5 log files
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

zeros
New user
New user
Posts: 3
Joined: 2014-07-31 11:29

Re: automatically save Undeliverable email address

Post by zeros » 2014-08-01 03:41

dear. ^DooM^

thanks for ur reply.

but, I use hmailserver v5.4.2.

T_T

^DooM^
Site Admin
Posts: 13862
Joined: 2005-07-29 16:18
Location: UK

Re: automatically save Undeliverable email address

Post by ^DooM^ » 2014-08-01 23:40

May still work, have you tried it?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

Post Reply