Re: smtp-sink does not support all ipv6 addresses?

2016-01-05 Thread Tom Hendrikx
On 04-01-16 18:58, Wietse Venema wrote: > Tom Hendrikx: >> >> Hi, >> >> I'm trying to setup a test environment using smtp-sink as a mail >> receiver. For ipv4 I'm running smtp-sink on random addresses in >> 127.0.0.0/8, and was looking for the same trick on ipv6. My OS allows me >> to (ab)use

Virtual_Users for single domain

2016-01-05 Thread Dennis Steinkamp
Hey there, i would like to benefit from the convenience that virtual_users bring to your configuration, that is - from my point of view - that you don`t need to create local accounts for every e-mail user, even though in my case i only have a few of them. As far as i know, you can enable

Re: Virtual_Users for single domain

2016-01-05 Thread Noel Jones
On 1/5/2016 9:57 AM, Dennis Steinkamp wrote: > Hey there, > > i would like to benefit from the convenience that virtual_users > bring to your configuration, that is - from my point of view - that > you don`t need to create local accounts for every e-mail user, > even though in my case i only have

Re: ldap validate

2016-01-05 Thread Noel Jones
On 1/5/2016 1:22 PM, Gomes, Rich wrote: > Does this imply an actual list\map? > > " and list the valid recipients in relay_recipient_maps" > relay_recipient_maps = ldap:/path/to/file > > I am looking to do real-time LDAP lookups. > > The only time I get it to work is when using virtual

RE: ldap validate

2016-01-05 Thread Gomes, Rich
Does this imply an actual list\map? " and list the valid recipients in relay_recipient_maps" I am looking to do real-time LDAP lookups. The only time I get it to work is when using virtual mailbox domains and maps Not sure what I am missing here. Relaying is working great via relay domains

Re: PATCH: saslauthd show remote ip address

2016-01-05 Thread Quanah Gibson-Mount
--On Thursday, December 10, 2015 11:49 AM -0800 Quanah Gibson-Mount wrote: --On Thursday, December 10, 2015 2:29 PM -0500 Wietse Venema wrote: Quanah Gibson-Mount: --On Thursday, December 10, 2015 2:02 PM -0500 Wietse Venema

Re: Virtual_Users for single domain

2016-01-05 Thread Dennis Steinkamp
I am aware of the readme article its based on multiple hosted domains. Correct me if i am wrong here but virtual_mailbox_maps also requires virtual_mailbox_domains but i don`t have any "additional" virtual_mailbox_domains, i only need postifx to be responsible for one single domain only and

Re: Virtual_Users for single domain

2016-01-05 Thread Noel Jones
On 1/5/2016 1:10 PM, Dennis Steinkamp wrote: > I am aware of the readme article its based on multiple hosted domains. > Correct me if i am wrong here but virtual_mailbox_maps also requires > virtual_mailbox_domains > but i don`t have any "additional" virtual_mailbox_domains, i only > need postifx

RE: ldap validate

2016-01-05 Thread Gomes, Rich
It works! Thanks for all you help! Just have to see if I can turf certain emails now. I'll also need to see if I can filter the logs, smtpd -v gives way too much while without the -v gives way too little -Original Message- From: owner-postfix-us...@postfix.org

Re: ldap validate

2016-01-05 Thread Noel Jones
On 1/5/2016 1:50 PM, Gomes, Rich wrote: > Ok, my bad that does work in fact. > I had shut off smtpd -v in master.cf so I was not seeing the full LDAP > queries. > > However it will only validate the default domain even though I have more than > one domain listed in relay_domains. > Is it

Re: PATCH: saslauthd show remote ip address

2016-01-05 Thread Wietse Venema
Quanah Gibson-Mount: > --On Thursday, December 10, 2015 11:49 AM -0800 Quanah Gibson-Mount > wrote: > > > --On Thursday, December 10, 2015 2:29 PM -0500 Wietse Venema > > wrote: > > > >> Quanah Gibson-Mount: > >>> --On Thursday, December 10, 2015 2:02

Re: PATCH: saslauthd show remote ip address

2016-01-05 Thread Quanah Gibson-Mount
--On Tuesday, January 05, 2016 3:43 PM -0500 Wietse Venema wrote: I think I mentioned in this thread that the patch is not complete because the Cyrus implementation expects a string of the form "ipaddress:portnumber", and the patch provides the address only. Yep.

RE: ldap validate

2016-01-05 Thread Gomes, Rich
It's not so much what is missing as there is no in between Smtpd -v just gives so much per transaction. I usually set Sendmail at 18 and it show less than the -v does. I would like a way to see a successful map of email address to what is found during the LDAP query without all the additional

Re: ldap validate

2016-01-05 Thread Noel Jones
On 1/5/2016 2:32 PM, Gomes, Rich wrote: > > I'll also need to see if I can filter the logs, smtpd -v gives way too much > while without the -v gives way too little I can't remember the last time I needed verbose logging, even to debug a problem. What is missing from the normal logging you need

Re: Certificate does not match mail server for some reason

2016-01-05 Thread Maximilian Muster
On 04/01/16 20:24, Viktor Dukhovni wrote: On Mon, Jan 04, 2016 at 08:01:59PM +0100, Maximilian Muster wrote: I am using Dovecot for the IMAP server and installed Dovecot and Postfix in a recommended combined package for ubuntu called "mail-stack-delivery". There were some preconfigurations in

RE: ldap validate

2016-01-05 Thread Gomes, Rich
Ok, my bad that does work in fact. I had shut off smtpd -v in master.cf so I was not seeing the full LDAP queries. However it will only validate the default domain even though I have more than one domain listed in relay_domains. Is it picking this from mydomain setting in main.cf perhaps? Or

Re: smtp-sink does not support all ipv6 addresses?

2016-01-05 Thread Wietse Venema
Tom Hendrikx: > I can see the use of the setsockopt call, since leaving it out has the > side effect that smtp-sink is also reachable on 127.1.2.3 (ipv4). On the > other hand, that behaviour is sort of what I requested when I explicitly > specified an IPv4-mapped IPv6 address. If you want to talk

Re: Virtual_Users for single domain

2016-01-05 Thread Viktor Dukhovni
On Tue, Jan 05, 2016 at 01:30:32PM -0600, Noel Jones wrote: > Yes, it is correct to use > mydestination = localhost.example.com > virtual_mailbox_domains = example.com I use: main.cf: virtual_mailbox_domains = virtual.invalid virtual_mailbox_maps = ${indexed}vmbox