Fw: What authentication method is the best SASL

2009-08-25 Thread Gaby L
I use SASL for remote clients. What is the best authentication mechanism for SASL security? I use outlook express clients. My smptpd conf is: /usr/local/lib/sasl2/smtpd.conf: pwcheck_method: saslauthd mech_list: PLAIN LOGINFor courier-imap what is the best authenticated method?I wan

Re: Fw: What authentication method is the best SASL

2009-08-25 Thread Patrick Ben Koetter
* Gaby L : > I use SASL for remote clients. > What is the best authentication mechanism for SASL security? I use outlook > express clients. STARTTLS and LOGIN combined give you an encrypted connection and crypted password storage NTLM gives you encrypted authentication and plaintext password stor

Re: Blocking mail "from me to me"

2009-08-25 Thread Daniel L'Hommedieu
On Aug 24, 2009, at 17:58, mouss wrote: LuKreme a écrit : On 24-Aug-2009, at 08:28, Daniel L'Hommedieu wrote: The one bit of spam I'd like to stop, and I seem to remember seeing talk of it at some point (but I've been unable to find it again) is the spam appears to be "from me to me." That is,

Re: Any C api to access Postfix programmatically?

2009-08-25 Thread Phill Macey
2009/8/24 Δημήτριος Καραπιπέρης : > > I came to this solution, a bash script to validate a local recipient > employing the SMTP protocol. > Depending on your config, wouldnt you also be able to use 'postmap -q' or 'postalias -q' to directly query a particular lookup table? That would avoid a netwo

Recommendation for easy to use autoresponse

2009-08-25 Thread June Qiu
Hi, I have been looking around and found some solutions for virtual users. In my case, I have a mixture of virtual and local user accounts. I want to be able to customise the response for each user. Is there any autoresponse add-ons that I can use?

Re: Any C api to access Postfix programmatically?

2009-08-25 Thread Δημήτριος Καραπιπέρης
Users source could be ldap or mysql, not a hash file. In essence, I need to employ the local_recipient_map property, which holds all the valid recipients of the particular Postfix instance. Dimitrios O/H Phill Macey έγραψε: 2009/8/ l24 Δημήτριος Καραπιπέρης : I came to this solution, a b

Re: Blocking mail "from me to me"

2009-08-25 Thread kj
Martijn de Munnik wrote: Most of this spam is also blocked using spamhaus. Also you could add SPF to your own domain so no other servers could send mail using your domain. http://www.openspf.org/Introduction One caveat is that SPF is used to verify the envelope sender, not what's in the From:

Block messages from *.mydomain.dom

2009-08-25 Thread pablo crivaro
Hi all! My domain is mydomain.dom. I want to block messages coming from *.mydomain.com (i.e. spamdomain.mydomain.dom). I couldn't find any configuration hint to do it. Thanks in advance, Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/

check_sender_access to virtual map?

2009-08-25 Thread Cameron Camp
LuKreme said to use: check_sender_access hash:/etc/postfix/mydomain == mydomain example.com REJECT you cannot send on behalf of example.com .example.comREJECT you cannot send on behalf of example.com can I use: check_sender_access proxy:mysql:/etc/postfix/mysql-virtual_domains.cf and i

Re: Block messages from *.mydomain.dom

2009-08-25 Thread ghe
On Aug 25, 2009, at 12:46 PM, pablo crivaro wrote: Hi all! My domain is mydomain.dom. I want to block messages coming from *.mydomain.com (i.e. spamdomain.mydomain.dom). I couldn't find any configuration hint to do it. I've done this by declaring my own internal domain names: slsware.dmz

Re: Any C api to access Postfix programmatically?

2009-08-25 Thread Barney Desmond
2009/8/26 Δημήτριος Καραπιπέρης : > > Users source could be ldap or mysql, not a hash file. > In essence, I need to employ the local_recipient_map property, which holds > all the valid recipients > of the particular Postfix instance. You can use postmap -q to make such queries, ldap or mysql works

Re: check_sender_access to virtual map?

2009-08-25 Thread Magnus Bäck
On Tuesday, August 25, 2009 at 21:24 CEST, Cameron Camp wrote: > LuKreme said to use: > > check_sender_access hash:/etc/postfix/mydomain > > == mydomain > example.com REJECT you cannot send on behalf of example.com > .example.comREJECT you cannot send on behalf of example.com > >

Re: check_sender_access to virtual map?

2009-08-25 Thread Steve
Original-Nachricht > Datum: Tue, 25 Aug 2009 12:24:15 -0700 > Von: Cameron Camp > An: postfix-us...@cloud9.net > Betreff: check_sender_access to virtual map? > LuKreme said to use: > > check_sender_access hash:/etc/postfix/mydomain > > == mydomain > example.com REJECT you

Re: Blocking mail "from me to me"

2009-08-25 Thread mouss
Daniel L'Hommedieu a écrit : > [snip] > For those who are curious, here is my smtpd_recipient_restrictions: > > smtpd_recipient_restrictions = permit_sasl_authenticated, > permit_mynetworks, put reject_unauth_destination here. don't play with fire. > check_sender_access p

Re: check_sender_access to virtual map?

2009-08-25 Thread mouss
Cameron Camp a écrit : > LuKreme said to use: actually, it was mouss... > > check_sender_access hash:/etc/postfix/mydomain > > == mydomain > example.com REJECT you cannot send on behalf of example.com > .example.comREJECT you cannot send on behalf of example.com > > can I use: > > che

Re: log check_client_access

2009-08-25 Thread mouss
Martijn de Munnik a écrit : > > On Aug 24, 2009, at 8:31 PM, Martijn de Munnik wrote: > >> >> On Aug 24, 2009, at 7:57 PM, /dev/rob0 wrote: >> >>> On Monday 24 August 2009 12:43:16 Martijn de Munnik wrote: How can I write a message to syslog when a check_client_access rule matches? >>>

Re: Fw: What authentication method is the best SASL

2009-08-25 Thread mouss
Gaby L a écrit : > > > > I use SASL for remote clients. > What is the best authentication mechanism for SASL security? I use > outlook express clients. > > My smptpd conf is: > > /usr/local/lib/sasl2/smtpd.conf: > pwcheck_method: saslauthd > mech_list: PLAIN LOGIN > use PLAIN or L

Re: check_sender_access to virtual map?

2009-08-25 Thread Cameron Camp
> That depends on your table schema and the contents of > mysql-virtual_domains.cf. user = xx password = x dbname = mail query = SELECT domain AS virtual FROM domains WHERE domain='%s' hosts = 127.0.0.1 table structure: use mail; CREATE TABLE domains ( domain varchar(50) NOT NULL, PRIM