Page 1 of 1

automatically save Undeliverable email address

Posted: 2014-07-31 11:40
by zeros
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.

Re: automatically save Undeliverable email address

Posted: 2014-07-31 15:22
by percepts
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.

Re: automatically save Undeliverable email address

Posted: 2014-07-31 16:02
by zeros
dear. percepts

thank u for your reply.

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

I need example.

thanks.

Re: automatically save Undeliverable email address

Posted: 2014-07-31 16:23
by mattg
sniff sniff

Re: automatically save Undeliverable email address

Posted: 2014-07-31 21:14
by ^DooM^
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

Re: automatically save Undeliverable email address

Posted: 2014-08-01 03:41
by zeros
dear. ^DooM^

thanks for ur reply.

but, I use hmailserver v5.4.2.

T_T

Re: automatically save Undeliverable email address

Posted: 2014-08-01 23:40
by ^DooM^
May still work, have you tried it?