LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread James Robertson
Hi Postfix Users! I decided to write a bash script for extracting recipients from Windows Active Directory for a Postfix box in front of Exchange. I realise there are other scripts out there but wanted to give it a try myself as part of me learning more about scripting and the command line.

Re: LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread Stefan Förster
* James Robertson wrote: > I decided to write a bash script for extracting recipients from Windows > Active Directory for a Postfix box in front of Exchange. [...] > $LDAPSEARCH -x -h $LDAPHOST -D $LDAPUSER -w $LDAPPASS -b $LDAPBASE \ > '(proxyAddresses=*)' 2>$ERRORLOG | $GREP -f $RELAYDOMAINS

Virtual accounts.

2009-06-14 Thread Gerard
Running postfix 2.6 I have mail accounts at 'hotmail' and 'yahoo'. I would like to use fetchmail to retrieve mail from those accounts and relay it to postfix. Now, I was thinking that I could use 'virtual' for that. The virtual file: m...@yahoo.com me m...@hotmail.comme I would then p

Re: Virtual accounts.

2009-06-14 Thread Stefan Förster
Hallo Gerard, * Gerard wrote: > Running postfix 2.6 > > I have mail accounts at 'hotmail' and 'yahoo'. I would like to use > fetchmail to retrieve mail from those accounts and relay it to postfix. > > Now, I was thinking that I could use 'virtual' for that. You can do this with fetchmail. "use

Re: LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread Patrick Ben Koetter
* Stefan Förster : > * James Robertson wrote: > > I decided to write a bash script for extracting recipients from Windows > > Active Directory for a Postfix box in front of Exchange. > [...] > > $LDAPSEARCH -x -h $LDAPHOST -D $LDAPUSER -w $LDAPPASS -b $LDAPBASE \ > > '(proxyAddresses=*)' 2>$ER

Postfix + Fetchmail

2009-06-14 Thread Gerard
I am attempting to set up Postfix to accept mail from 'fetchmail' I continually receive this error in the mail log: /var/log/maillog: Jun 14 08:14:25 scorpio postfix/smtpd[74871]: connect from localhost[127.0.0.1] Jun 14 08:14:25 scorpio postfix/smtpd[74871]: warning: xsasl_cyrus_server_get_mech

Re: Postfix + Fetchmail

2009-06-14 Thread Magnus Bäck
On Sunday, June 14, 2009 at 14:57 CEST, Gerard wrote: > I am attempting to set up Postfix to accept mail from 'fetchmail' I > continually receive this error in the mail log: > > /var/log/maillog: > > Jun 14 08:14:25 scorpio postfix/smtpd[74871]: connect from > localhost[127.0.0.1] > Jun 1

trivial-rewrite warning although mydestination is empty

2009-06-14 Thread Bernd Lommerzheim
Subject: trivial-rewrite warning although mydestination is empty Hello Postfix users! A few days ago I modified the configuration of my Postfix 2.6.2 mail server. Now I am just using the virtual addressing system of Postfix (virtual_alias* and virtual_mailbox*) and two transports for delivering i

Re: Postfix + Fetchmail

2009-06-14 Thread Gerard
On Sun, 14 Jun 2009 15:20:56 +0200 Magnus Bäck wrote: >On Sunday, June 14, 2009 at 14:57 CEST, > Gerard wrote: > >> I am attempting to set up Postfix to accept mail from 'fetchmail' I >> continually receive this error in the mail log: >> >> /var/log/maillog: >> >> Jun 14 08:14:25 scorpio p

Re: Postfix + Fetchmail

2009-06-14 Thread Magnus Bäck
On Sunday, June 14, 2009 at 16:25 CEST, Gerard wrote: > On Sun, 14 Jun 2009 15:20:56 +0200 > Magnus Bäck wrote: [...] > > Postfix. But why have you enabled server-side SASL when you're not > > using it? There was no permit_sasl_authenticated in your "postconf -n" > > output, so unless yo

TLS Session

2009-06-14 Thread Eduardo Júnior
Hi, everyone when I configure my Postfix to accept only SMTP AUTH through of a TLS Session, just credencials (user and password) are send through this session, right? After this, with client authenticated, the message pass clear? To pass the message encrypted, what I need to do? References in f

Re: TLS Session

2009-06-14 Thread Magnus Bäck
On Sunday, June 14, 2009 at 20:13 CEST, Eduardo Júnior wrote: > when I configure my Postfix to accept only SMTP AUTH through of a TLS > Session, just credencials (user and password) are send through this > session, right? No. > After this, with client authenticated, the message pass clear?

Re: Disabling a domain

2009-06-14 Thread Eduardo Júnior
Hi, On Fri, May 29, 2009 at 11:25 PM, Barney Desmond wrote: > 2009/5/30 Eduardo Júnior : > > On Thu, May 28, 2009 at 11:15 PM, Sahil Tandon wrote: > >> > >> What is your definition of 'disable' in this context? > > > > In my context, disable a domain would be leave it suspended. > > Become it in

Re: trivial-rewrite warning although mydestination is empty

2009-06-14 Thread Noel Jones
Bernd Lommerzheim wrote: Subject: trivial-rewrite warning although mydestination is empty Hello Postfix users! A few days ago I modified the configuration of my Postfix 2.6.2 mail server. Now I am just using the virtual addressing system of Postfix (virtual_alias* and virtual_mailbox*) and two

Signing outgoing mailman mail with DKIM

2009-06-14 Thread Zbigniew Szalbot
Hello, I used to have a working setup where all outgoing mail, including mailman, was being signed. However, I decided to stop using maia for content scanning (most of my mail is variuos subscriptions sent to outside users) and just sign the outgoing mail with DKIM. So I changed the entry in