[Postfixbuch-users] Cyrus-SASL mit SMTP-AUTH

root lutz.rueckfort at freenet.de
So Jan 26 15:33:45 CET 2003


Hallo;
der
make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/local/include"
AUXLIBS="-L/usr/local/lib -lsasl"
brachte schon einen Haufen warnings

gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c virtual.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c mailbox.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c recipient.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c deliver_attr.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c maildir.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c unknown.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -o virtual virtual.o mailbox.o 
recipient.o deliver_attr.o maildir.o unknown.o ../../lib/libmaster.a 
../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/lib -lsasl -L/usr/lib 
-lpcre -ldb -lnsl -lresolv
cp virtual ../../libexec
[src/proxymap]
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c proxymap.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include 
-DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -o proxymap proxymap.o 
../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a 
-L/usr/local/lib -lsasl -L/usr/lib -lpcre -ldb -lnsl -lresolv
cp proxymap ../../libexec

das sind die letzten Zeilen und in der /usr/local/include stehen keine Files.

Gruß Lutz
 

Am Sonntag, 26. Januar 2003 15:02 schrieb Ralf Hildebrandt:
> * root <lutz.rueckfort at freenet.de>:
> > Hallo,
> >
> > ich habe mir "postfix-2.0.3" aus dem Internet besorgt und mit
> >
> > make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/local/include"
> > AUXLIBS="-L/usr/local/lib -lsasl"
> > unter Suse 8.1 kompiliert und gebunden.
> > make install ( update wäre wohl besser gewesen !)
>
> make upgrade
> ist sogar noch besser.
>
> smtpd_recipient_restrictions =
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    reject_unauth_destination,
>    check_sender_access hash:/etc/postfix/access,
>    check_recipient_access hash:/etc/postfix/access,
>    permit_maps_rbl,
>    permit_mx_backup,
>    check_relay_domains
>
> check_relay_domains macht da am Ende nach reject_unauth_destination
> keinen Sinn.
> Brauchst Du permit_mx_backup ?
>
> > In Verzeichnis  /usr/lib/local steht keine SASL-Lib ?
>
> Sollte aber, laut obiger Compilationszeile fuer Postfix.
>
> > "saslauthd start" kann ich nirgends finden, muss ich den Dienst überhaupt
> > starten ?
>
> Ja. Wenn Du was selbst kompilierst musst Du auch selber fuer
> Startscripte sorgen, insbes. bei speziellen, optionalen Komponenten.
>
> find /  -name saslauthd
>
> > Auszug aus mail log File weicht von dem Log-Eintrag, wie auf Seite 165 im
> > Postfix Buch beschrieben, ab !
>
> Willst Du dass Postfix beim SENDEN SICH SELBST authorisiert
> (gegenueber einem Relayhost) oder dass ANDERE SICH authorisieren,
> damit sie ueber dich Relayen koennen?



Mehr Informationen über die Mailingliste Postfixbuch-users