Don't forget to set 'enableINET6'.

Thomas





Von:    "William L. Thomson Jr." <w...@o-sinc.com>
An:     assp-user <assp-user@lists.sourceforge.net>
Datum:  29.01.2015 18:25
Betreff:        Re: [Assp-user] IPV6 and IPv4



On Thursday, January 29, 2015 06:21:36 AM you wrote:
> This setup works for me:
> 
> ListenPort:
> 127.0.0.1:25| xx.xx.xx.xx:25|yy.yy.yy.yy:25|
> 2001:0db8:85a3:08d3:1319:8a2e:0370:7344:25
> 
> Smtpdestination
> INBOUND:11125
> 
> Smtpdestinationrt
> Xx.xx.xx.xx=>127.0.0.1:11125|
>  2001:0db8:85a3:08d3:1319:8a2e:0370:7344=>127.0.0.1:11125|
> yy.yy.yy.yy=>127.0.0.1:11126|
> [::1]=>127.0.0.1:11125
> 
> Secondlistenport
> 127.0.0.1:587| xx.xx.xx.xx:587|yy.yy.yy.yy:587|
> 2001:0db8:85a3:08d3:1319:8a2e:0370:7344:587

Great thanks for that! I was just specifying the port numbers. I was 
hoping ASSP would 
just listen on both IPv4 and IPv6 without having to specify the wildcard 
IP address. Like 
this

SMTP Listen Port
25|2525

SMTP Destination
127.0.0.1:125|[::1]:125

SMTP Secure Listen Port
465

Disable AUTH support on listenPorts
2525


Given I cannot let ASSP map port to wildcard IPv4 and IPv6. This is what I 
am going 
with at the moment. But still no go on IPv6 for some reason.


SMTP Listen Port
0.0.0.0:25|0.0.0.0:2525|[::]:25|[::]:2525

SMTP Destination
127.0.0.1:125|[::1]:125

SMTP Secure Listen Port
0.0.0.0:465|[::]:465

Disable AUTH support on listenPorts
0.0.0.0:2525|[::]:2525

But unfortunately I get

Jan 29 12:09:15 mail assp.pl[25253]: [init] Error: couldn't create server 
socket on port 
'[::]:25' -- maybe another service is running or I'm not root (uid=0)? -- 
or a wrong IP 
address is defined? -- Address already in use
Jan 29 12:09:15 mail assp.pl[25253]: [init] Error: couldn't create server 
socket on port 
'[::]:2525' -- maybe another service is running or I'm not root (uid=0)? 
-- or a wrong IP 
address is defined? -- Address already in use
Jan 29 12:09:15 mail assp.pl[25253]: [init] Listening for SMTP connections 
on 
0.0.0.0:25 0.0.0.0:2525
Jan 29 12:09:15 mail assp.pl[25253]: [init] Error: unable to create IPv6 
socket to 
[::]:465 - IO::Socket::IP configuration failed
Jan 29 12:09:15 mail assp.pl[25253]: [init] Error: couldn't create server 
SSL-socket on 
port '[::]:465' -- maybe another service is running or I'm not root 
(uid=0)? - or a wrong 
IP address is specified?
Jan 29 12:09:15 mail assp.pl[25253]: [init] Listening for SMTPS (SSL) 
connections on 
0.0.0.0:465
Jan 29 12:09:15 mail assp.pl[25253]: [init] Listening for admin HTTP 
connections on 
0.0.0.0:55555
Jan 29 12:09:15 mail assp.pl[25253]: [init] Listening for stat HTTP 
connections on 
0.0.0.0:55553

> AFAIR I had problemens with the ipv6 listening Port at the mta 
(postfix).
> It was about the localhost interpretation in ipv6, but I can't remember 
an
> details an more.

I have patched qmail so its ready for IPv6 and IPv4. Its not listening on 
IPv6 at the 
moment, but that is some what moot given ASSP isn't working on IPv6 
either. But I 
might have to modify ASSP destination to like ::ffff:127.0.0.1 or 
something not sure. I 
will address that once I get ASSP listening on IPv6.

Presently IPv4 connections to qmail end up as follows in the log

@4000000054ca6be63aeab9bc tcpserver: pid 25448 from ::ffff:127.0.0.1
@4000000054ca6be63b17cccc tcpserver: ok 25448 
localhost:::ffff:127.0.0.1:125 
localhost:::ffff:127.0.0.1::36795


-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message.

Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is 
your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to