Re: Sending e-mails using postdrop - possible ?

2017-06-04 Thread Wietse Venema
Kent: > Hi Wietse, > > Thanks - as per my last e-mail, I am getting the errors back. > It's just the warnings I'm not getting back. If you are concerned about mistakes, sendmail command line is not the whole story. There is a lot more that can go wrong. The MAILLOG file has a complete(*)

Re: Sending e-mails using postdrop - possible ?

2017-06-04 Thread Kent
Hi Wietse, Thanks - as per my last e-mail, I am getting the errors back. It's just the warnings I'm not getting back. But, I can live with this as the warnings will be my coding errors - so apart from my test with intentional issues, it hopefully shouldn't happen. cheers Kent. > On

Re: Sending e-mails using postdrop - possible ?

2017-06-04 Thread Kent
Hi Wietse, Further to below - after more testing I am getting errors, but not warnings. I don't know where they are going, but I'm not getting them back at all. eg. If I call: > /usr/sbin/sendmail.postfix -g > sendmail.postfix: invalid option -- 'g' > sendmail.postfix: invalid option -- 'g' >

Re: Sending e-mails using postdrop - possible ?

2017-06-04 Thread Kent
Hi Wietse, Thanks for your guidance so far. I'm trying to use the postfix sendmail command line - and have this working (code is still rough). However, I'm now trying to get any output from the command. To simulate an error, I've intentionally added an invalid -N option - which in my

Re: Sending e-mails using postdrop - possible ?

2017-06-02 Thread Wietse Venema
Kent: > Hi Wietse, > > Okay - I think I've worked out the answer to my second question if I use the > sendmail command line, with the -N option. > > > /usr/sbin/sendmail.postfix -f t...@dev.kamar.kiwi.nz -N 'success, delay, > > failure' k...@kamar.nz < tmp > > Reading through documentation /

Re: Sending e-mails using postdrop - possible ?

2017-06-01 Thread Kent
Hi Wietse, Okay - I think I've worked out the answer to my second question if I use the sendmail command line, with the -N option. > /usr/sbin/sendmail.postfix -f t...@dev.kamar.kiwi.nz -N 'success, delay, > failure' k...@kamar.nz < tmp Reading through documentation / mailing lists, it

Re: Sending e-mails using postdrop - possible ?

2017-06-01 Thread Kent
Hi Wietse, Thanks - I'll stop trying to attempt to do it this way then. The SMTP approach does have the advantage of realtime feedback on the 'rcpt to:' being accepted and I can spread the load across multiple threads / connections. Next question: Is there a way to get a 'delivered'

Re: Sending e-mails using postdrop - possible ?

2017-06-01 Thread Wietse Venema
Kent: > Hi All, > > I have a MongoDB with a set of e-mails that I want to send. I want to be > able to track their delivery / bounce / delayed status - plus link any > replies back to the original e-mail. > > I have already written a c++ service to handle incoming e-mails (by piping > the

Sending e-mails using postdrop - possible ?

2017-06-01 Thread Kent
Hi All, I have a MongoDB with a set of e-mails that I want to send. I want to be able to track their delivery / bounce / delayed status - plus link any replies back to the original e-mail. I have already written a c++ service to handle incoming e-mails (by piping the incoming e-mails to my