Using unix domain socket to send mail?

2009-10-11 Thread Srdan Dukic
Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this command as it is slow. I can see that there is a socket under '/var/spool/postfix/private/smtp' and was wondering if it was possible to use this to

Re: Using unix domain socket to send mail?

2009-10-11 Thread Ralf Hildebrandt
* Srdan Dukic srdan.du...@gmail.com: Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this command as it is slow. Use direct SMTP to port 25, localhost -- Ralf Hildebrandt Geschäftsbereich IT |

Re: Using unix domain socket to send mail?

2009-10-11 Thread Wietse Venema
Srdan Dukic: Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this command as it is slow. I can see that there is a socket under '/var/spool/postfix/private/smtp' and was wondering if it was

Re: Using unix domain socket to send mail?

2009-10-11 Thread Srdan Dukic
2009/10/12 Wietse Venema wie...@porcupine.org Srdan Dukic: Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this command as it is slow. I can see that there is a socket under

Re: Using unix domain socket to send mail?

2009-10-11 Thread mouss
Srdan Dukic a écrit : 2009/10/12 Wietse Venema wie...@porcupine.org mailto:wie...@porcupine.org Srdan Dukic: Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this

Re: Using unix domain socket to send mail?

2009-10-11 Thread Chris Babcock
Are there any non-internet, unix domain socket(s) which can be used to send mail to the smtp daemon? i.e. is there any *documented* way to give mail to postfix for remote delivery that doesn't involve the tcp/ip stack (other than the sendmail binary). http://www.postfix.org/master.5.html

Re: Using unix domain socket to send mail?

2009-10-11 Thread Wietse Venema
Srdan Dukic: After reading about the performance benefits of unix sockets vs. internet sockets[1] it made no sense to go through the whole TCP handshake (ACK's etc...) and related context switches when it was really internal communication. I was just curious if there was a mechanism in place