Wael MANAI: > I am using sendmail to send emails to postfix and I would like to know > if there is a way to get the filename given by postfix?
Wietse: > > No. The file name changes after you submit the mail. Wael MANAI: > Thx for the answer. So how can I replace sendmail cmd by telnet to send > emails always through postfix? I thought to do telnet on 127.0.0.1 but I > do not know which configuration to make in master.cf.... Postfix provides standard interfaces to receive or send mail: SMTP, UNIX pipe-to-command; there are also standard interfaces to manipulate email content: pipe-to-command, SMTP and Milter. These interfaces are where the Postfix support ends. Instead of the Postfix semdmail command, you can use a so-called "mini sendmail" that submits mail over SMTP. For example: http://www.acme.com/software/mini_sendmail/ That still will not get you the Postfix queue file name. Programs that attempt to read or write Postfix queue files are UNSUPPORTED. This means that they WILL BREAK when Postfix is updated. Wietse