Good Morning
Centos 5.5 + postfix 2.3.3
Scenario : Send Mail from mysql
I am running a mysql database thar has to send email on certain events.
it is working via incrond folder monitoring and a sendmail wrapper.
basically, a stored procedure selects the email source text into a
folder and then incrod takes over. it works.
now, i want postfix to directly pickup and send the email.
i have written the file to /var/spool/postfix/pickup but there is no
pickup. the headers are terminated with /r/n and the file name is
email100. user mysql belongs to postfix group.
can anyone help me on this one ??
thank you and have a nice day.
PLeite
This is a transcript of the mysql generated file ::
(There are some trailing white spaces) could the be the reason ??
To:
(E-Mail Removed)
From:
(E-Mail Removed)
Subject: test email
Date: 2 Sep 2011 10:07:05 -0600
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0000_01CA4B3F.8C263EE0"
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01CA4B3F.8C263EE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
email body - from mysql
------=_NextPart_000_0000_01CA4B3F.8C263EE0
Content-Type: text/html
Content-Transfer-Encoding: 7bit
email body - from mysql
------=_NextPart_000_0000_01CA4B3F.8C263EE0--