Re: "bouncing messages from ..." (was: request (privately) for maillog)

2020-06-04 Thread drav...@dravionsoftware.com
Yes, there was a bounce notification

like this:

Some messages to you could not be delivered. If you're seeing this
message it means things are back to normal, and it's merely for your
information.

Here is the list of the bounced messages:
- 4804



On 6/4/2020 7:01 AM, ml+opensmtpd_m...@esmtp.org wrote:
> Happened again for me. Anyone else?
>



Issues building OpenSMTPD on MS-Windows (x86_x64) with Cygwin

2020-06-01 Thread drav...@dravionsoftware.com
For the sake of better readability, i started a new topic (i hope you
dont mind) ;-)

Ok, as described in my Hello post,  i had a few problems, running the
./configure script, which resulted in the error message:

"configure: error: *** compiler cannot create working executables"

After some trial and error, i found out, it has indeed something to do,
with the way i was trying to include LibreSSL, but finally i was able to
find a set of switches ./configure can work with.

Which is: LDFLAGS="-L/opt/libressl/lib" CFLAGS="-I/opt/libressl/include"
./configure --with-gnu-ld

But now the Problems are shifted to another sport (see below)

Dravion@CAMELOT ~/OpenSMTPD
$ make
make  all-recursive
make[1]: Entering directory '/home/Dravion/OpenSMTPD'
Making all in openbsd-compat
make[2]: Entering directory '/home/Dravion/OpenSMTPD/openbsd-compat'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../usr.sbin/smtpd
-I../openbsd-compat -I../openbsd-compat/libasr -I../openbsd-compat/err_h
-I/usr/include   -I/opt/libressl/include  -DDLL_EXPORT -DPIC -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset  -c -o libasr/asr_debug.o
libasr/asr_debug.c
libasr/asr_debug.c: In function ‘_asr_dump_config’:
libasr/asr_debug.c:292:11: error: ‘RES_USE_DNSSEC’ undeclared (first use
in this function); did you mean ‘RES_USE_DNAME’?
  292 |  PRINTOPT(RES_USE_DNSSEC, "USE_DNSSEC");
  |   ^~
libasr/asr_debug.c:281:36: note: in definition of macro ‘PRINTOPT’
  281 | #define PRINTOPT(flag, n) if (o & (flag)) { fprintf(f, " " n); o
&= ~(flag); }
  |    ^~~~
libasr/asr_debug.c:292:11: note: each undeclared identifier is reported
only once for each function it appears in
  292 |  PRINTOPT(RES_USE_DNSSEC, "USE_DNSSEC");
  |   ^~
libasr/asr_debug.c:281:36: note: in definition of macro ‘PRINTOPT’
  281 | #define PRINTOPT(flag, n) if (o & (flag)) { fprintf(f, " " n); o
&= ~(flag); }
  |    ^~~~
make[2]: *** [Makefile:550: libasr/asr_debug.o] Error 1
make[2]: Leaving directory '/home/Dravion/OpenSMTPD/openbsd-compat'
make[1]: *** [Makefile:419: all-recursive] Error 1
make[1]: Leaving directory '/home/Dravion/OpenSMTPD'
make: *** [Makefile:351: all] Error 2


Did some one came across the same error in a similar or the same situation?

Greetings,
Dravion



Re: Hello@All + Cygwin64

2020-05-29 Thread drav...@dravionsoftware.com


On 5/29/2020 9:11 PM, chris wrote:
> You may want to omit '--with-libs=/usr/local/lib' and instead target
> individual libraries, e.g. '--with-cflags="-I/usr/local/openssl/include"
> --with-ldflags="-L/usr/local/openssl/lib"' ; the aforementioned is
> causing gcc to attempt to output over a directory. (as per config.log)

i tested it:

./configure '--with-cflags="-I/usr/local/include"
--with-ldflags="-L/usr/local/lib"'

but the outcome is still the same.

#Error
checking if compiler allows __attribute__ on return types... yes
checking compiler and flags for sanity... no
configure: error: *** compiler cannot create working executables, check

I guess it's something else, maybe it has some problems figuring out my
system specs (which are not Linux/Not Unix) ;-)

uname -a CYGWIN_NT-10.0 CAMELOT 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64
Cygwin

My libressl build works fine.
Dravion@CAMELOT /usr/local/include

$ ls -la
total 24
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 openssl
-rw-r--r--  1 Dravion None 9416 May 29 14:13 tls.h

Dravion@CAMELOT /usr/local/lib
$ ls -la
total 22036
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
-rw-r--r--  1 Dravion None 16054220 May 29 14:13 libcrypto.a
-rw-r--r--  1 Dravion None  2439224 May 29 14:12 libcrypto.dll.a
-rw-r--r--  1 Dravion None  910 May 29 14:12 libcrypto.la
-rw-r--r--  1 Dravion None  346 May 29 14:13 libssl.a
-rw-r--r--  1 Dravion None   202402 May 29 14:13 libssl.dll.a
-rw-r--r--  1 Dravion None  923 May 29 14:13 libssl.la
-rw-r--r--  1 Dravion None   558660 May 29 14:13 libtls.a
-rw-r--r--  1 Dravion None    59596 May 29 14:13 libtls.dll.a
-rw-r--r--  1 Dravion None  948 May 29 14:13 libtls.la
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 pkgconfig

Dravion@CAMELOT /usr/local/bin
$ ./openssl version
LibreSSL 3.1.2




Hello@All

2020-05-28 Thread drav...@dravionsoftware.com
Hi,

I want to introduce myself to the list ;d

By the way, is there anybody out there, tried to make OpenSMTPD work on
Cygwin/Windows?

I was able to built OpenSMTPD under Windows Subsystem for Windows (WSL),
but i am curious and eager to know if someone had some progress, making
it work on Cygwin,
MinGW of MSYS2 as well.

It's just for curiosity, no Project demand or something like this.

Greetings,
Dravion





signature.asc
Description: OpenPGP digital signature