Local and Virtual Mail Delivery?

2011-11-14 Thread Edward Carraro
I was wondering if it's possible to set up postfix to do both Virtual and Local delivery. Right now I have it set up to do virtual delivery, but all my root emails only get delivered if r...@domain.com exists in my LDAP instead of staying in the system I am using the Postfix 2.7.1 package that

Re: Local and Virtual Mail Delivery?

2011-11-14 Thread Edward Carraro
Thanks! I was googling for that but couldn't find it :) On Mon, Nov 14, 2011 at 2:34 PM, Noel Jones njo...@megan.vbhcs.org wrote: On 11/14/2011 1:10 PM, Edward Carraro wrote: I was wondering if it's possible to set up postfix to do both Virtual and Local delivery. http://www.postfix.org

smtpd_sender_login_maps with aliases?

2010-11-03 Thread Edward Carraro
I would like to set up SMTP, allowing the user to authenticate as their main address, but still continue to send mail using their alias (without disabling reject_sender_login_mismatch, as discussed here http://serverfault.com/questions/61351/) I'm just not sure what my ldap mapping config should

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Edward Carraro
On Wed, Nov 3, 2010 at 11:26 AM, donovan jeffrey j dono...@beth.k12.pa.uswrote: postconf -m cidr dbm environ internal ldap nis nisplus proxy regexp static tcp unix was your postfix compiled with ldap support ? yes your getting your Auth users from from your local recipients map. -j

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Edward Carraro
On Wed, Nov 3, 2010 at 12:36 PM, Reinaldo de Carvalho reinal...@gmail.comwrote: $ cat /etc/postfix/virtual $ cat virtual | grep -v # server_host = ldap://ldapserver:389 server_port = 389 search_base = query_filter = (mail=%s) result_attribute = uid version = 3 start_tls = no bind = yes

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Edward Carraro
On Wed, Nov 3, 2010 at 1:04 PM, Reinaldo de Carvalho reinal...@gmail.comwrote: You must set a basedn. Thanks! It's working again after setting the basedn... it's weird it worked before without it. Your changes also work now too. I also changes it from /etc/postfix/virtual to