Re: transport_maps equivalent for virtual mailboxes

2020-09-14 Thread Stephen Ingram
On Mon, Sep 14, 2020 at 5:59 PM Noel Jones wrote: > On 9/14/2020 7:25 PM, Stephen Ingram wrote: > > > > What I really want is a recipient based relayhost_map, > > Yes, use transport_maps for that, with a recipient email address as > the key. > But I thought you couldn

Re: transport_maps equivalent for virtual mailboxes

2020-09-14 Thread Stephen Ingram
On Mon, Sep 14, 2020 at 5:20 PM Noel Jones wrote: > On 9/14/2020 7:03 PM, Stephen Ingram wrote: > > I'm using virtual mailboxes (virtual_mailbox_domains, > > virtual_mailbox_maps, virtual_alias_maps) and now want to use > > something like transport_maps so I can

transport_maps equivalent for virtual mailboxes

2020-09-14 Thread Stephen Ingram
I'm using virtual mailboxes (virtual_mailbox_domains, virtual_mailbox_maps, virtual_alias_maps) and now want to use something like transport_maps so I can control where the mail is relayed to based on the recipient domain. There appears to be no equivalent when you are using virtual mailboxes, like

test address expansion with LDAP mapping

2016-11-03 Thread Stephen Ingram
I found a way to test the expansion of normal .db maps: postmap -q testuser 'postconf -h virtual_alias_maps' however, it doesn't seem to work with LDAP maps. Is there a way to test those as well? Steve

Re: SASL binds

2016-01-02 Thread Stephen Ingram
On Sat, Jan 2, 2016 at 10:30 AM, Viktor Dukhovni wrote: > On Sat, Jan 02, 2016 at 12:00:23PM -0500, Brendan Kearney wrote: > > > Victor's script gets a Kerberos ticket every hour. it does not renew > the > > existing ticket, it seems. my tickets are valid for 10 hours, and > renewable > > for

Re: error looking up password info

2014-12-23 Thread Stephen Ingram
On Tue, Dec 23, 2014 at 9:45 AM, Viktor Dukhovni wrote: > On Tue, Dec 23, 2014 at 12:39:52PM -0500, Wietse Venema wrote: > > > > I'm using virtual aliases. Wouldn't that cause message to be handed > off to > > > virtual_mailbox or mailbox_transport? > > > > The routing depends on the recipient ad

Re: error looking up password info

2014-12-23 Thread Stephen Ingram
On Tue, Dec 23, 2014 at 9:18 AM, Viktor Dukhovni wrote: > On Tue, Dec 23, 2014 at 12:09:04PM -0500, Wietse Venema wrote: > > Viktor Dukhovni: > > > On Tue, Dec 23, 2014 at 08:29:52AM -0800, Stephen Ingram wrote: > > > > > > > I thought once > > &

Re: error looking up password info

2014-12-23 Thread Stephen Ingram
On Tue, Dec 23, 2014 at 9:09 AM, Wietse Venema wrote: > Viktor Dukhovni: > > On Tue, Dec 23, 2014 at 08:29:52AM -0800, Stephen Ingram wrote: > > > > > I thought once > > > the address was rewritten and the mail was handed over to local for > > > delivery

Re: error looking up password info

2014-12-23 Thread Stephen Ingram
On Tue, Dec 23, 2014 at 9:03 AM, Viktor Dukhovni wrote: > On Tue, Dec 23, 2014 at 08:29:52AM -0800, Stephen Ingram wrote: > > > I thought once > > the address was rewritten and the mail was handed over to local for > > delivery, then mailbox_transport would be followe

Re: error looking up password info

2014-12-23 Thread Stephen Ingram
On Tue, Dec 23, 2014 at 7:11 AM, Wietse Venema wrote: > Stephen Ingram: > > I'm trying to move from a CentOS 6.x server that uses Postfix 2.6.6 to a > > CentOS 7 server that uses version 2.10.1. I'm running the same > > configuration that works on the old setup,

error looking up password info

2014-12-23 Thread Stephen Ingram
I'm trying to move from a CentOS 6.x server that uses Postfix 2.6.6 to a CentOS 7 server that uses version 2.10.1. I'm running the same configuration that works on the old setup, however, Postfix won't deliver the message (via LMTP) and instead says: postfix/local[24338]: warning: error looking up

Re: GSSAPI authentication

2012-07-03 Thread Stephen Ingram
On Tue, Jul 3, 2012 at 12:29 PM, Viktor Dukhovni wrote: > On Tue, Jul 03, 2012 at 03:20:44PM -0400, Wietse Venema wrote: > >> > I thought this was working for me, but only due to a manual keytab I >> > had setup as user postfix (default /tmp/krb5cc_89) for testing. For >> > some reason postfix is

Re: GSSAPI authentication

2012-07-03 Thread Stephen Ingram
On Fri, Apr 6, 2012 at 10:15 AM, Viktor Dukhovni wrote: ...snip... > > The cron solution is much simpler and more robust. There is no > supervisor process running, no need for the child to not exit, no > need to instrument postfix start-up by wrapping in kstart, ... > > Instead, there is a crede

GSSAPI authentication

2012-04-05 Thread Stephen Ingram
Reading through some very old posts on the list it seems as though, although not very popular, it is possible to perform authentication in Postfix using GSSAPI. Setting up the keytab for the smtpd server seems straightforward enough, however, I'm unsure what to do when it comes to the smtp or lmtp

Re: Reverse entry lookups in LDAP

2011-11-09 Thread Stephen Ingram
On Wed, Nov 9, 2011 at 11:29 AM, Michael A. Leonetti wrote: > I really wasn't sure of what to title the mail, but. > > So, I need to get postfix to deliver both locally to the user (which is no > problem) and deliver to an external contact. The actual local e-mail address > of the user is found in

Re: Postfix plain text authentication with SASL

2011-06-09 Thread Stephen Ingram
On Thu, Jun 9, 2011 at 12:16 AM, Suresh Kumar Prajapati wrote: > Hi, > > and i dont find any saslauthd.conf file > > here is the /etc/sasl2/smtpd.conf > > pwcheck_method: saslauthd > mech_list: plain login That's a problem. In that file (/etc/sasl2/smtpd.conf) you are specifying that you want to

Re: Postfix plain text authentication with SASL

2011-06-08 Thread Stephen Ingram
On Wed, Jun 8, 2011 at 10:03 PM, Suresh Kumar Prajapati wrote: > Hi all, > > No one is there to help me > > > On Wed, Jun 8, 2011 at 12:49 PM, Suresh Kumar Prajapati > wrote: >> >> Hi, >> >> Can anyone help me setting postfix plain authentication with SASL. >> I've spent a complete week on th

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 4:31 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 04:19:56PM -0700, Stephen Ingram wrote: > >> Agreed. Here is the postfix log for when the ldap table is used: >> >> May 26 14:48:46 smtp postfix/smtpd[5653]: E8EB7CC056A: >> client=terr

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 2:18 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 02:14:20PM -0700, Stephen Ingram wrote: > >> 4test.net     4test.net >> >> thinking that the right side doesn't matter. Postfix is just looking >> for the presence of the do

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 1:43 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 01:27:24PM -0700, Stephen Ingram wrote: > >> >> I receive an error "User unknown in virtual alias table" >> >> and the mail is bounced. >> > >> > Likely th

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 1:17 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 01:05:47PM -0700, Stephen Ingram wrote: > >> I'm using postfix 2.3.3 on CentOS 5.3 and have experienced differing >> results depending on how I have postfix lookup the virtual domai

different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
I'm using postfix 2.3.3 on CentOS 5.3 and have experienced differing results depending on how I have postfix lookup the virtual domains hosted by postfix. First, for virtual_alias_domains lookup: postmap -q 4test.net hash:/etc/postfix/domains postmap -q 4test.net ldap:/etc/postfix/domains both y