Re: virtual_alias_maps, continue after succesful match

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 08:48:33AM +0200, Roel van Meer wrote: > Basic question: if I have two virtual_mailbox_maps, is there a way to ensure > lookups happen in both of them, even if the first already had a match? No. > I tried using recipient_bcc_maps, and this works, but that map accepts only

Re: virtual_alias_maps, continue after succesful match

2014-07-09 Thread Alex JOST
Am 09.07.2014 08:48, schrieb Roel van Meer: Hi list! I'm in the process of converting our Postfix/OpenLDAP system to Postfix/Samba 4/Zarafa. The OpenLDAP structure contained mailacceptinggeneralid entries, with maildrop attributes for both local and remote addresses. The problem is that this doe

Re: virtual_alias_maps, continue after succesful match

2014-07-09 Thread Roel van Meer
Viktor Dukhovni writes: > Basic question: if I have two virtual_mailbox_maps, is there a way > to ensure lookups happen in both of them, even if the first already > had a match? No. I was afraid it wouldn't. > It seems the only way to make this work is to make sure that the LDAP > lookup re

Re: virtual_alias_maps, continue after succesful match

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 10:40:07AM +0200, Roel van Meer wrote: > >You can specify multiple result attributes, any of which can be > >multi-valued. > > I didn't know about the multiple result attributes; that's very helpful! result_attribute = attr1 attr2 ... -- Viktor.

localhost in header of virtual host

2014-07-09 Thread mail list
Hi we have a virtual domain setup when sending emails from a virtual somain dont want the local domain to appear in the headers. For example as you can see bellow when sending emails from a virtual email account (con...@vmail.eu) . inside the header information the localhostt is sent( lkjsdfgsa

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Tue, Jul 08, 2014 at 12:17:36PM +, Viktor Dukhovni wrote: > On Tue, Jul 08, 2014 at 02:04:12PM +0200, Ralf Hildebrandt wrote: > > > Running, though, is another issue: > > No idea what gentoo is up to, however try the following patch, > perhaps the shared object dependencies need to be exp

Re: localhost in header of virtual host

2014-07-09 Thread li...@rhsoft.net
Am 09.07.2014 16:45, schrieb mail list: > Hi we have a virtual domain setup when sending emails from a virtual > somain dont want the local domain to appear in the headers. > For example as you can see bellow when sending emails from a virtual > email account (con...@vmail.eu) . > inside the hea

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 03:00:45PM +, Viktor Dukhovni wrote: > > - $(SHLIB_LD) -o $(LIB) $(OBJS) > > + $(SHLIB_LD) -o $(LIB) $(OBJS) $(SYSLIBS) > > ... > > In my test on Ralf's system the above fixes the problem. Not > surprising, since with versioned symbols the shared objects need > to

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Wietse Venema
Viktor Dukhovni: > > - $(SHLIB_LD) -o $(LIB) $(OBJS) > > + $(SHLIB_LD) -o $(LIB) $(OBJS) $(SYSLIBS) ... > Wietse wanted to avoid $(SYSLIBS) when linking the shared libraries, > and removed them from SHLIB_LD line, but they are indeed not optional > in many cases. This breaks when $(SYSLIBS) co

Using "reject_unknown_sender_domain" with exemptions for certain sender domains

2014-07-09 Thread Ben Johnson
Hello! I have found the "reject_unknown_sender_domain" and "reject_unknown_recipient_domain" restrictions to be very effective in cutting-down on spam when applied to "smtpd_recipient_restrictions". Surely, there will be false-positives, but this is a small, private server and the "risk is worth t

Re: Using "reject_unknown_sender_domain" with exemptions for certain sender domains

2014-07-09 Thread Wietse Venema
Ben Johnson: [ Charset ISO-8859-1 unsupported, converting... ] > Hello! > > I have found the "reject_unknown_sender_domain" and > "reject_unknown_recipient_domain" restrictions to be very effective in > cutting-down on spam when applied to "smtpd_recipient_restrictions". > Surely, there will be fa

Re: Using "reject_unknown_sender_domain" with exemptions for certain sender domains

2014-07-09 Thread Ben Johnson
On 7/9/2014 1:36 PM, Wietse Venema wrote: > Place check_recipient_access before reject_unknown_recipient_domain, > and check_sender_access before reject_unknown_sender_domain. > > smtpd_recipient_restrictions = > permit_mynetworks > ... > # Must go before whitelists. > reject_una

understanding address_verify_poll_delay

2014-07-09 Thread btb
with respect to my previous question about address verification, i think i'm not understanding address_verify_poll_delay correctly. while working on troubleshooting the 6.2 second delay during the smtp handshake, i'd set address_verify_poll_delay to 15 seconds, expecting that postfix would the

Re: understanding address_verify_poll_delay

2014-07-09 Thread Wietse Venema
btb: > with respect to my previous question about address verification, i think > i'm not understanding address_verify_poll_delay correctly. while > working on troubleshooting the 6.2 second delay during the smtp > handshake, i'd set address_verify_poll_delay to 15 seconds, expecting > that po

Re: understanding address_verify_poll_delay

2014-07-09 Thread btb
On Jul 9, 2014, at 18.48, Wietse Venema wrote: > btb: >> with respect to my previous question about address verification, i think >> i'm not understanding address_verify_poll_delay correctly. while >> working on troubleshooting the 6.2 second delay during the smtp >> handshake, i'd set addre

Re: understanding address_verify_poll_delay

2014-07-09 Thread Wietse Venema
b...@bitrate.net: [ Charset windows-1252 converted... ] > > On Jul 9, 2014, at 18.48, Wietse Venema wrote: > > > btb: > >> with respect to my previous question about address verification, i think > >> i'm not understanding address_verify_poll_delay correctly. while > >> working on troubleshoo

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 12:27:19PM -0400, Wietse Venema wrote: > Viktor Dukhovni: > > > - $(SHLIB_LD) -o $(LIB) $(OBJS) > > > + $(SHLIB_LD) -o $(LIB) $(OBJS) $(SYSLIBS) > ... > > Wietse wanted to avoid $(SYSLIBS) when linking the shared libraries, > > and removed them from SHLIB_LD line, but they

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Wietse Venema
Viktor Dukhovni: > On Wed, Jul 09, 2014 at 12:27:19PM -0400, Wietse Venema wrote: > > > Viktor Dukhovni: > > > > - $(SHLIB_LD) -o $(LIB) $(OBJS) > > > > + $(SHLIB_LD) -o $(LIB) $(OBJS) $(SYSLIBS) > > ... > > > Wietse wanted to avoid $(SYSLIBS) when linking the shared libraries, > > > a

Re: understanding address_verify_poll_delay

2014-07-09 Thread btb
On Jul 9, 2014, at 19.35, Wietse Venema wrote: > address_verify_poll_delay (default: 3s) > The DELAY BETWEEN QUERIES for the completion of an address verification > request in progress. > > This specifies the delay betweem the $address_verify_poll_count > queries for one address verification

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 08:24:18PM -0400, Wietse Venema wrote: > I want to be able to specify "AUXLIBS=/some/where/libwhatever.a". > > Here is a patch that creates a SYSLIBS subset without *.a, specifically > for building Postfix shared libraries. Thanks. What do you want to do about "-Wl,--ena

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Wietse Venema
Viktor Dukhovni: > On Wed, Jul 09, 2014 at 08:24:18PM -0400, Wietse Venema wrote: > > > I want to be able to specify "AUXLIBS=/some/where/libwhatever.a". > > > > Here is a patch that creates a SYSLIBS subset without *.a, specifically > > for building Postfix shared libraries. > > Thanks. What d

Re: understanding address_verify_poll_delay

2014-07-09 Thread Wietse Venema
The address_verification_poll_count is the answer, but for some reason you insist on ignoring all my pointers to it. I will no longer contribute to this thread. Wietse

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Wed, Jul 09, 2014 at 09:05:08PM -0400, Wietse Venema wrote: > > Thanks. What do you want to do about "-Wl,--enable-new-dtags"? I > > I have no idea how portable that is even if only within LINUX. Reading various Linux documentation and even the Wikipedia entry for RPATH suggests that the pro

How to use only flat-file for passwords when using non-system users for a hosted, virtual domain?

2014-07-09 Thread Arun
Hello, I am just starting to build up my Postfix server. I have been reading the many docs.  I decided to set up with virtual_domains. For a simple first step I am not using the MySQL database tables yet, only flat files. In my main.cf configuration file I put /usr/local/etc/postfix/main.cf  

Re: How to use only flat-file for passwords when using non-system users for a hosted, virtual domain?

2014-07-09 Thread Dominik George
Hi Arun, >How do I add a password for the "a...@mx.testdomain.loc" that I would >use in my mail client program, like Thunderbird, to access the >account?  Both for sending and receiving? receiving is clearly out oft scope here, but implies you will be using an IMAP server. In that case, Dovecot

Re: How to use only flat-file for passwords when using non-system users for a hosted, virtual domain?

2014-07-09 Thread DTNX Postmaster
On 10 Jul 2014, at 08:21, Arun wrote: > Hello, > > I am just starting to build up my Postfix server. > > I have been reading the many docs. I decided to set up with virtual_domains. > > For a simple first step I am not using the MySQL database tables yet, only > flat files. > > In my main.c

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread li...@rhsoft.net
Am 10.07.2014 03:34, schrieb Viktor Dukhovni: > On Wed, Jul 09, 2014 at 09:05:08PM -0400, Wietse Venema wrote: > >>> Thanks. What do you want to do about "-Wl,--enable-new-dtags"? I >> >> I have no idea how portable that is even if only within LINUX. > > Reading various Linux documentation and

Re: Problem with "make makefiles dynamicmaps=yes"

2014-07-09 Thread Viktor Dukhovni
On Thu, Jul 10, 2014 at 08:44:33AM +0200, li...@rhsoft.net wrote: > > Where the RUNPATH kludge is needed the flag is I think important, > > since otherwise upgrade builds will run-time link with installed > > libraries from an older release in preference to the build's > > libraries (potential pro

Re: How to use only flat-file for passwords when using non-system users for a hosted, virtual domain?

2014-07-09 Thread Muhammad Yousuf Khan
Postfix is an MTA only. for IMAP and POP you need dovecot or courier combined with Postfix. Thanks, Yousuf On Thu, Jul 10, 2014 at 11:21 AM, Arun wrote: > Hello, > > I am just starting to build up my Postfix server. > > I have been reading the many docs. I decided to set up with > virtual_do

Re: How to use only flat-file for passwords when using non-system users for a hosted, virtual domain?

2014-07-09 Thread Narcis Garcia
As I understood, Postfix can deliver letters to a maildir/mailbox without MDA, but no IMAP/POP3 access service will provide. I believe too that SASL is a good way for authentication: http://www.postfix.org/SASL_README.html Postfix can have its own authentication with plain-text files, but has no