kapetr:
> Hello,
> 
> I didn't thing, that my Postfix is the bad guy, but I have to say -
> if the client is
> Evolution (in SSL+SASL connection with the ISPs server), the
> messages goes out without problem.
> 
> The problem is only if Postfix is the client ?! 
> Why ?

Please complain to the vendor of the software that announces AUTH
support and that fails to implement the AUTH=<> option.  You may
refer them to RFC 4954 which has all the details.

> I have try yours "to modify executable" way.
> 
> The "AUTH=<>" is in /usr/lib/postfix/smtp - I had edit it in "mc"
> and have replaced it with " " and left the "^@" (this is probably
> the NULL byte).
> 
> But it just give an error in log:
> Nov  5 11:24:05 zly-hugo postfix/master[1418]: warning:
> /usr/lib/postfix/smtp: bad command startup -- throttling
> Nov  5 11:25:05 zly-hugo postfix/master[1418]: warning: process
> /usr/lib/postfix/smtp pid 2633 killed by signal 11

The file size must be the same before and after editing.

    $ cp /usr/libexec/postfix/smtp smtp.new
    $ perl -pi -e 's/ AUTH=/\0AUTH=/' smtp.new
    $ ls -l /usr/libexec/postfix/smtp smtp.new
    -rwxr-xr-x  2 root    wheel  1700160 Nov  8 20:12 /usr/libexec/postfix/smtp
    -rwxr-xr-x  1 wietse  wheel  1700160 Nov 12 08:13 smtp.new
    $ cmp -l /usr/libexec/postfix/smtp smtp.new
    313969  40   0

The numbers 1700160 and 313969 will be different on your system
(unless you use the same FreeBSD version and the same compiler
options as I did).

        Wietse

Reply via email to