From: Stroller <lin...@my...> - 2006-10-22 19:17:08
|
On 22 Oct 2006, at 04:54, RYAN M. vAN GINNEKEN wrote: > ...When I try to send an invoce using SL i get no confirmation from > SL that anything got send and nothing in my sendmail logs. I've only tried sending invoices by email a couple of times so far (I'm about to set up the correct template layout for my invoices & then it'll be full-steam ahead), but SL seems to give no confirmation - it only adds a general note to the invoice to the effect of "sent at 22/10/2006". > This is was appears in my /usr/local/sql-ledger.conf about email. > > # location of sendmail > $sendmail = "| /usr/sbin/sendmail -t"; > > Is this correct for FreeBSD using Postfix? because nothing seems to > happen This is correct under on my Linux install for Postifx - the -t flag is required to "extract recipients from message headers". What happens when you type at the command line `cat some_file.txt | / usr/sbin/sendmail -t yo...@yo...p`? (without the quotes) What happens when you `echo yo...@yo...p > foo && cat foo some_file.txt | /usr/sbin/sendmail -t`? (again without the quotes) If the messages are not delivered then this is a postfix problem, not one with SQL-Ledger. Check `postqueue -p` immediately after sending, or have `watch -n 0.5 postqueue -p` running in another terminal. Stroller. |