terrygalant.li...@fastest.cc:
> 
> 
> On Tue, Aug 19, 2014, at 07:07 AM, Wietse Venema wrote:
> 
> ls -ld `postconf -h command_directory`/postdrop
>       -rwxr-sr-x+ 1 root postdrop 257K Aug 19 06:23 /usr/local/sbin/postdrop*
> 
> ls -ld `postconf -h queue_directory`/maildrop
>       drwx-wx--- 2 postfix postdrop 4.0K Aug 19 07:09 
> /var/spool/postfix/maildrop/
> 
> su -s /bin/sh nobody -c "`postconf -h command_directory`/postdrop </dev/null"
>       queue_id71680402FB[2197]

In that case, it should be possible to submit an email mesage (whether
it delivers properly depends on correct configuration in 
/usr/local/etc/postfix):

su -s /bin/sh nobody -c "/usr/local/sbin/sendmail -t" <<EOF
To: u...@example.com
Subject: test message

Hello world
EOF

(instead of u...@example.com specify some real email address).

Once this delivers mail as expected, you need to configure the
system to use the Postfix sendmail command instead of exim. 

This should be some automated procedure, for example, see "man
alternatives", "man mailwrapper", etc. 

The result will be, among other things, that:

    /usr/sbin/sendmail -> /usr/local/sbin/sendmail
    /usr/lib/sendmail -> /usr/local/sbin/sendmail

And perhaps some other configuration that depends on the details
of your specific distribution.

        Wietse

Reply via email to