Re: Virtual users - LDAP

2012-08-03 Thread Reinaldo de Carvalho
uot; user, the command don't works: > > #postmap -q doug...@xxx.ufsc.br ldap:accountsmap > # > accountsmap_query_filter = (&(objectClass=qmailUser)(|(mailAlternateAddress=%s)(mail=%s))) accountsmap_result_attribute = mail -- Reinaldo de Carvalho http://korreio.sf.net http://pyth

Re: LDAP aliases

2012-03-06 Thread Reinaldo de Carvalho
send an email to jean@xxx.xx Postfix return > a "jean.bon unknown user"  error. > > What did I forgot in configuration to make the reverse mapping > ALIAS --> UID  working ? > Alas maps query don't have domain part. You need test: postmap -q "jean.bo

Re: Encrypt Paswword?

2011-06-06 Thread Reinaldo de Carvalho
TARTTLS) before authentication, isn't visible. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)

Re: Postfix (from and name)

2011-04-13 Thread Reinaldo de Carvalho
RFC5322) and not require that MAIL FROM (SMTP Protocol) is equal to From: (IMF). To parse headers you need a external integrated by milter or content filter. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to

Re: SASL generic failure, recreating smtp.postfix ?

2011-04-06 Thread Reinaldo de Carvalho
/var/spool/postfix/var/run/saslauthd/mux. Saslauthd daemon must be started and listen on this socket. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)

Re: migrating postfix setup to new server ?

2011-03-31 Thread Reinaldo de Carvalho
official packages, will have a tough job to be free of vulnerabilities (public announcements occur after the distro updates). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you wor

Re: postfix for dummies (me) probably a general error in config of smtp

2011-03-25 Thread Reinaldo de Carvalho
? No: wshekr...@frontier.com != ws...@ubu.doink.org -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)

Re: postfix for dummies (me) probably a general error in config of smtp

2011-03-25 Thread Reinaldo de Carvalho
gt; > suggestions? 1. The authentication really happened when postfix/smtp tried deliver? 2. The sender (MAIL FROM) is equals to authentication user (AUTH)? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try

Re: postfix for dummies (me) probably a general error in config of smtp

2011-03-25 Thread Reinaldo de Carvalho
tpd then part of postfix or > a package I have failed to get still? > sasl2-bin is the cyrus implementation of SASL, but doesn't matter, it's works with dovecot and postfix. To enable smtp slient autentication: http://www.postfix.org/SOHO_README.html#client_sasl_enable -- Rein

Re: Limiting outgoing SMTP connections when relaying message

2011-03-09 Thread Reinaldo de Carvalho
h0 parent 1:1001 handle 1001: sfq perturb 10 tc qdisc add dev eth0 parent 1:1002 handle 1002: sfq perturb 10 -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work,

Re: Adding an address to smtpd_sender_restrictions thru email ?

2010-11-18 Thread Reinaldo de Carvalho
hostname or IP address. > I wonder if it would be possible to do that by forwarding this SPAM to > a "special" email address ? > Use virtual_alias_maps to change real destination to another email address. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.

Re: Delivery to a websocket gateway

2010-11-08 Thread Reinaldo de Carvalho
replies OK to everything :-) > I don't think so. tcpdump is the best friend to learn a protocol, and read the RFC to have a complete understanding. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to ad

Re: just another header rewrite

2010-11-08 Thread Reinaldo de Carvalho
hecks, than cleanup will add a date header. If doesn't work the documentation should be fixed or I misunderstand? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work,

Re: serious bug with check_client_access

2010-11-04 Thread Reinaldo de Carvalho
On Thu, Nov 4, 2010 at 11:13 PM, Vincent Lefevre wrote: > On 2010-11-04 23:06:17 -0300, Reinaldo de Carvalho wrote: >> On Thu, Nov 4, 2010 at 10:42 PM, Reinaldo de Carvalho >> wrote: >> > >> > check_client_access type:table >> >    Search the specifi

Re: serious bug with check_client_access

2010-11-04 Thread Reinaldo de Carvalho
On Thu, Nov 4, 2010 at 10:42 PM, Reinaldo de Carvalho wrote: > > check_client_access type:table >    Search the specified access database for the client hostname, > parent domains, client IP address, or networks obtained by stripping > least significant octets. See the access(5)

Re: serious bug with check_client_access

2010-11-04 Thread Reinaldo de Carvalho
ess entry in restriction, will generate some lookups. I'll change my tombstone words for you: "While not fully understand a documentation, don't try to adapt this documentation to the way you work, but rather yourself to the way the documentation works". -- Reinaldo de Carvalh

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Reinaldo de Carvalho
On Wed, Nov 3, 2010 at 1:45 PM, Edward Carraro wrote: > On Wed, Nov 3, 2010 at 12:36 PM, Reinaldo de Carvalho > wrote: >> $ cat /etc/postfix/virtual > > $ cat virtual | grep -v "#" > server_host = ldap://ldapserver:389 > server_port = 389 > se

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Reinaldo de Carvalho
ender login lookups. $ postmap -vq john...@example.com ldap:/etc/postfix/virtual -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)

Re: smtpd_sender_login_maps with aliases?

2010-11-03 Thread Reinaldo de Carvalho
der_login_maps lookup by sender to retrieve authorized users. Senders must be in query_filter and all attributes with authorized users should be listed in result_attribute. you might want: query_filter = (|(mail=%s)(mailAlternateAddress=%s)) result_attribute = uid, mail, mailAlternateAddress --

Re: Custom action based on rDNS and helo

2010-11-03 Thread Reinaldo de Carvalho
ings in main.cf > and without an extra program)? I'm trying to decipher what you want... > - Match PTR/A-record (no "unknown" client hostname) You can only reject it. > - Helo matches client hostname > No sense. -- Reinaldo de Carvalho http://korreio.sf.net ht

Re: default_destination_recipient_limit not working after changing the mailbox_transport to local_transport

2010-11-03 Thread Reinaldo de Carvalho
be processed without local transport. As Victor correct me (again) to use transport_maps isn't the better approach, although works for me. I use transport_maps to integrate postfix->lmtp->cyrus and do recipient validation on virtual_alias_maps with LDAP. -- Reinaldo de Carvalho http://kor

Re: default_destination_recipient_limit not working after changing the mailbox_transport to local_transport

2010-11-01 Thread Reinaldo de Carvalho
sport values and use transport_maps: # main.cf transport_maps = hash:/etc/postfix/transport # /etc/postfix/transport exmaple.org lmtp:unix:/path/to/cyrus-lmtp-server-socket -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a softw

Re: default_destination_recipient_limit not working after changing the mailbox_transport to local_transport

2010-11-01 Thread Reinaldo de Carvalho
l_destination_concurrency_limit and local_destination_recipient_limit values? With local_destination_concurrency_limit > 1, you can't enforce one regular file. Cyrus will be create 1 regular file peer message, if you have concurrency connections, the recipients will be splited in some messages.

Re: postfix clustering

2010-10-31 Thread Reinaldo de Carvalho
On Sun, Oct 31, 2010 at 2:13 AM, Stan Hoeppner wrote: > Reinaldo de Carvalho put forth on 10/30/2010 3:39 PM: > > > From Cyrus mailling list: > > > > "Now that Cyrus 2.4 has been released with a lot of the groundwork for > > bandwidth efficient replication i

Re: postfix clustering

2010-10-30 Thread Reinaldo de Carvalho
support master-master replication with safe conflict resolution, and multiple replication topologies including replication with more than two copies. This will allow efficient failover within a single datacentre as well as geographically distant close-to-real-time disaster recovery." -- Rein

Re: SmartHost. Route all except one user.

2010-10-26 Thread Reinaldo de Carvalho
il to > @terra.com.br and sent to @domain.local configured in server. > Add 'domain.local' in mydestination. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-22 Thread Reinaldo de Carvalho
On Fri, Oct 22, 2010 at 12:04 AM, Matt Hayes wrote: > On 10/21/2010 10:52 PM, Reinaldo de Carvalho wrote: > >> >> 1. You are a backscatter (e.g. accepting email to unknown users). >> >> 2. or Some account has been compromissed and used to sent spam. >

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread Reinaldo de Carvalho
t; 'witheld' mails & just in case I regret the decision later, I can restore > back > the mail or mail queue files to recover them back. > > > 1. You are a backscatter (e.g. accepting email to unknown users). 2. or Some account has been compromissed and used to sent spam. 3. look this queue GUi: http://sourceforge.net/dbimage.php?id=215498 (korreio.sf.net) -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "While not fully understand a software, don't try to adapt this software to the way you work, but rather yourself to the way the software works" (myself)

Re: [OT] Detecting "telnet"?

2010-06-10 Thread Reinaldo de Carvalho
rokes etc.), but > little useful. > Why use telnet (e.g. raw tcp client) or block them if with few lines if code in pyhton/perl/shell you can do anything. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, b

Re: translating just the domain name (for all users in the domain)

2010-05-19 Thread Reinaldo de Carvalho
orted. > > I do want the username checked during SMTP arrival time.  Will it do so for > the virtual_alias_maps if I use regexp: format? > > You must create a lookup table by user. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Best practice to drop spam with virtual mailboxes

2010-05-12 Thread Reinaldo de Carvalho
, but change to > dovecot isn't something we'd like to do. So this doesn't help either. > You can use Korreio or sievelib (part of python-cyrus) to put/active a sieve script for all (each) users. But sieve is the way. -- Reinaldo de Carvalho http://korreio.sf.net http://python-c

Re: lpr notifications thru postfix

2010-05-10 Thread Reinaldo de Carvalho
stdrop to "wheel" from "_postdrop" without any difference.  Same > error. > Cups process onwer is in wheel? I think no. > Jamal > > -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: lpr notifications thru postfix

2010-05-09 Thread Reinaldo de Carvalho
process' isn't 'owner of lp* files', you need look owner pf cups process with 'ps' command. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: lpr notifications thru postfix

2010-05-09 Thread Reinaldo de Carvalho
gt; > Can someone give me a clue as to what is wrong?  Funny thing is that > sometimes it starts working on its own and then stops again. > Show permissions of /usr/sbin/postdrop and /usr/sbin/sendmail. lpr/lp process owner have rights to exec this commands? -- Reinaldo de Carvalho ht

Re: Filter before delivery without procmail or maildrop

2010-05-08 Thread Reinaldo de Carvalho
gexp:/etc/posfix/filter.regexp # /etc/posfix/filter.regexp /./ filter spamfilter: Or open another smtp port (smtpd), disable content_filter on this port, and setup local clients to use this port (as documented). > So is there a way to do filtering only on moment before delivery? > I&#

Re: Php hook for all my emails

2010-05-08 Thread Reinaldo de Carvalho
ogprocessor) provide a cool engine to load logfile in real-time to a database. Each module is a class, then is easy to implement support for new log formats. Postfix module isn't complete, and you can contribute with the project. Some modules like to Iptables are available. -- Reinaldo de Carva

Re: Postfix with Procmail LDA vs Postfix with Dovecot LDA

2010-05-03 Thread Reinaldo de Carvalho
n cyrdeliver. > - if you use dovecot as a pop/imap server, then dovecot lda is a > "natural" choice. > - elsif you use courier pop/imap, then use maildrop > - elsif you need no filtering, use postfix alone > - else, use maildrop -- Reinaldo de Carvalho http://korreio.sf.net

Re: RE : How to forward mail when mailbox not localy existing

2010-05-02 Thread Reinaldo de Carvalho
t putting: > > luser_relay = $u...@[ip_address_of_old_server] > local_recipient_maps  = > > All the mailbox not yet localy created on the new server will be forwarded to > the old. > Please, don't turn off (local) recipient checking. -- Reinaldo de Carvalho http://korreio.sf.net http:/

Re: Design: end_of_header_checks support

2010-04-27 Thread Reinaldo de Carvalho
On Tue, Apr 27, 2010 at 8:41 PM, Reinaldo de Carvalho wrote: > > Another wish is the support to non-terminatives actions (i have > commented few mounths ago)[1]. > > [1] http://www.mail-archive.com/postfix-users@postfix.org/msg21004.html > Maybe not actualy compatible with lo

Re: Design: end_of_header_checks support

2010-04-27 Thread Reinaldo de Carvalho
On Tue, Apr 27, 2010 at 6:44 PM, Wietse Venema wrote: > Reinaldo de Carvalho: >> >> Have a chance to be available the SMTP information inside >> header_checks/end_of_header_checks like macros ${client_address}, >> ${sasl_username}, ${sender} and additionally regexp/pc

Re: Design: end_of_header_checks support

2010-04-27 Thread Reinaldo de Carvalho
a chance to be available the SMTP information inside header_checks/end_of_header_checks like macros ${client_address}, ${sasl_username}, ${sender} and additionally regexp/pcre capability to compare (if) this with the header? -- Reinaldo de Carvalho

Re: "The IP you're using to send mail is not authorized" -- depending on user

2010-04-26 Thread Reinaldo de Carvalho
. Create a account for each application and use a smtp library to send email. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Wildcard certificate warning

2010-04-20 Thread Reinaldo de Carvalho
t. It happens when > it try connection using STARTTLS (port 25) and also TLS/SSL (port 465). > > ¿Why? > > The box is named mai.example.com, so I understand a wildcard certificate > (*.example.com) should be enough. > This is a client verification. -- Reinaldo de Carva

Re: Append a custom head via a filter, partially OT

2010-04-18 Thread Reinaldo de Carvalho
to > go into any special mime processing of the message? > > Gary Smith > Add to bash script: sed -i '0,/^$/s//X-unique-header: ${VAR_UNIQUE_VALUE}\n/' "$FILE" Plesae, set VAR_UNIQUE_VALUE and FILE as apropriated. -- Reinaldo de Carvalho http://korreio.sf.net

Re: Migrating from postfix to Exim

2010-04-11 Thread Reinaldo de Carvalho
> Replace /usr/sbin/sendmail to binary provided by exim. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: RBL Usage questions

2010-04-10 Thread Reinaldo de Carvalho
t; > -- > Stan > Disclose the organization rules to receive emails on main website. Put a URL in reject reason to inform the problem (need a patch for build-in restrictions). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: RBL Usage questions

2010-04-10 Thread Reinaldo de Carvalho
\.|-)cable(\.|-)|(\.|-)user(\.|-)|^dynamic|(\.|-)dynamic|dynamic(\.|-)|(\.|-)ppp(oe)?(\.|-|)|^ppp)/ reject generic hostname -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Patch: support BURL

2010-04-10 Thread Reinaldo de Carvalho
On Sat, Apr 10, 2010 at 10:19 AM, Wietse Venema wrote: > Reinaldo de Carvalho: >> Send a unique message is faster than send twice (twice for saving on >> IMAP server). > > Saving to the IMAP server? > > So this is really about sending yourself mail via IMAP, instead o

Re: Patch: support BURL

2010-04-09 Thread Reinaldo de Carvalho
On Fri, Apr 9, 2010 at 9:51 PM, Wietse Venema wrote: > Reinaldo de Carvalho: >> >> IMAP users will benefit saving bandwidth ($/Kbyte) and time (in slow >> connections). > > That would not explain why sending to an IMAP server is > faster than sending that

Re: Patch: support BURL

2010-04-09 Thread Reinaldo de Carvalho
On Fri, Apr 9, 2010 at 8:48 PM, Wietse Venema wrote: >> >> Mail client will write message to imap folder and MTA will get the >> message. Avoid send messahe twice over the link. >> >>-- >>Reinaldo de Carvalho >> > > Why is there a problem with sen

Re: filtering messages without using another LDA

2010-03-19 Thread Reinaldo de Carvalho
ckscatter. But if someone have an alternative besides that, > it's always welcome. > > 1. http://postfixquotareject.ramattack.net/ 2. Write a policyd to check the quota and reject the message. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don

Re: FW: PCI Compliance

2010-03-18 Thread Reinaldo de Carvalho
" > > > In theory you can to use 'smtpd_proxy_filter'. http://www.postfix.org/postconf.5.html#smtpd_proxy_filter -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-17 Thread Reinaldo de Carvalho
om, and so on (all mailboxes in domain example.com) > Sorry, I misunderstand your question. Is not possible create "everyone" as you request. You need a cron job. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Reinaldo de Carvalho
t; I mean dynamic by anything but generating hash alias_maps thru cron > scripts. > > > Thanks and regards, > Ronie > -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: If I don't want to queue emails, which value I've to give to default_transport?

2010-02-17 Thread Reinaldo de Carvalho
or defer_transports and default_transport > (because, as I said before, if I comment out this 2 commands, postfix > is relaying without put in queue...) > > I hope I'm more understandable... > Thanks > Michele > -- Reinaldo de Carvalho http://korreio.sf.net http://p

Re: If I don't want to queue emails, which value I've to give to default_transport?

2010-02-16 Thread Reinaldo de Carvalho
un)setting a transport. 2. To discard emails not listed in transport_maps use default_transport = discard (unusual). > Otherwhise the email will be stored in queue. > To go to queue is not a problem, not to be deliverable is a problem. -- Reinaldo de Carvalho http://korreio.sf.net http://pyth

Re: If I don't want to queue emails, which value I've to give to default_transport?

2010-02-15 Thread Reinaldo de Carvalho
content, and recover from a abrupt reboot. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: I need to know the criterion of creation of a queued mail,so that I can retrieve the subject from it

2010-02-15 Thread Reinaldo de Carvalho
he subject is always between Subject: and N%Date, I > can easly write a script to retrieve it... > > Thanks > Michele > -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Postfix Addon Software

2010-02-12 Thread Reinaldo de Carvalho
cls jumping to next restriction (useful for "FILTER", "WARN" and TOS/DSCP proposed action). Something like "set behavior and dunno". -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Reinaldo de Carvalho
/lmtp" prefork=1 > /etc/postfix/main.cf: > mailbox_transport = cyrus:unix:/var/spool/postfix/public/lmtp > With lmtp chroot: mailbox_transport = lmtp:unix:/cyrus-socket/lmtp Without chroot: mailbox_transport = lmtp:unix:/var/spool/postfix/cyrus-socket/lmtp -- Reinaldo

Re: Block BCC

2009-10-15 Thread Reinaldo de Carvalho
ut # header_checks file /^Bcc: / IGNORE -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Postfix snapshot 20091008 with postscreen

2009-10-09 Thread Reinaldo de Carvalho
On Fri, Oct 9, 2009 at 11:27 AM, Miguel Di Ciurcio Filho wrote: > Reinaldo de Carvalho wrote: >> >> The sleep time grows cpu time consume and established connections. >> Enforce no sleep time and a very low hard limit (to drop connection) >> has better performace

Re: Postfix snapshot 20091008 with postscreen

2009-10-08 Thread Reinaldo de Carvalho
> > Great work. > > Miguel > > > -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Stomp logging for postfix - patch

2009-09-29 Thread Reinaldo de Carvalho
s. A new plugin is a class with a method "insert", very easy make anything. I working in postfix plugin but iptables plugin seems OK. http://groups.google.com/group/post-la/attach/aa63b7c30a0bfc91/processLog-2009092701.tar.gz?part=2 -- Reinaldo de Carvalho http://korreio.sf.net http://

Re: EHLO reply use 2 packets

2009-09-23 Thread Reinaldo de Carvalho
On Wed, Sep 23, 2009 at 4:29 PM, Wietse Venema wrote: > Reinaldo de Carvalho: >> Hi, >> >> Someone can tell me why EHLO reply send 2 packets? >> >> ~# postconf mail_version >> mail_version = 2.5.5 >> >> >> ## tcpdump ## >> >>

EHLO reply use 2 packets

2009-09-23 Thread Reinaldo de Carvalho
15.1.65.25: . ack 188 win 54 e.@.@.M. . ..A`.[vU.t6(.. 7J.~.u.. ## End of MAIL FROM ## -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: SASL and Active Directory

2009-08-19 Thread Reinaldo de Carvalho
hode (davecot, cyrus, ldap, kerberos, ...) ? > > Any idea ? > > Regards -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Removing Headers

2009-08-14 Thread Reinaldo de Carvalho
is executed, and the matching process is repeated for the next message header or message body line." http://www.postfix.org/header_checks.5.html -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Removing Headers

2009-08-13 Thread Reinaldo de Carvalho
t; smtpd (listener) is not smtp (client). Again, isn't required any aditional configuration than header_checks. You need a regular expression to match exactly with local amavis server. You can test with postmap: postmap -q - regexp:/path/header_checks < /path/to/sample-message -- Re

Re: Removing Headers

2009-08-13 Thread Reinaldo de Carvalho
nup line in master.cf, mas i didn't > understand what's going on there. > -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)

Re: Blocking external messages TO the hostname

2009-05-24 Thread Reinaldo de Carvalho
that is the 'main' hostname of the server, > listed in /etc/hosts: > 62.73.174.227    eul0001189.eu.verio.net                eul0001189 > and in 'mydestination' in /etc/postfix/main.cf > Try remove relay_domains from parent_domain_matches_subdomains. relay_domains must be

Re: RFC 1918 -v- Postfix

2009-05-19 Thread Reinaldo de Carvalho
orks and forward another queries for the provider. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Postfix version 2.6.0 available

2009-05-12 Thread Reinaldo de Carvalho
hank you for Postfix! ;) last, the item above is a option? always_add_missing_headers=yes ignore $local_header_rewrite_clients value? I read updated postconf.5.html but this is not clear to me. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Using a Virtual Domain Host in smtp_helo_name

2009-05-08 Thread Reinaldo de Carvalho
. >     Is this possible? Or desirable? > This is not necessary. If any domain send spam the IP or network will be blocked and not servername. What problem you are trying to solve? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re:

2009-05-05 Thread Reinaldo de Carvalho
ss is: > > j...@john-does-imac.localdomain.local myhostname = john-does-imac.localdomain.local mydomain = localdomain.local myorigin = $mydomain mydestination = $myhostname, $mydomain, localhost Now j...@john-does-imac.localdomain.local, j...@localdomain.local and j...@localhost are valids. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Redirect messages for just one recipient

2009-05-05 Thread Reinaldo de Carvalho
main.tld". > > Is it possible? I've tried to accomplish this inserting on /etc/aliases > file of mail gateway the entry: > > re...@domain.tld:       re...@extdomain.tld > > But I get: > > # newaliases > postalias: warning: /etc/aliases, line 85: name must be lo

Re: turn on bind when quering ldap referral

2009-05-04 Thread Reinaldo de Carvalho
On Mon, May 4, 2009 at 2:09 AM, Victor Duchovni wrote: > On Sat, May 02, 2009 at 08:02:43PM -0300, Reinaldo de Carvalho wrote: > >> A company have a active directory with sub-domains and when postfix >> query the main ldap server, if user don't present on this server, its &

turn on bind when quering ldap referral

2009-05-02 Thread Reinaldo de Carvalho
090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece. ###### DON'T BIND ON 192.168.2.7 ### -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: [maybe OT] postfix HA

2009-03-25 Thread Reinaldo de Carvalho
priority) stop, slave set IP and MAC address from master. Its very simple and usefull. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Understand smtpd_client_connection_rate_limit

2009-03-17 Thread Reinaldo de Carvalho
2009/3/17 Eduardo Júnior : > > Hi, all > > > I read this: > http://www.postfix.org/postconf.5.html#smtpd_client_connection_rate_limit > > he maximal number of connection attempts any client is allowed to make to > this service per time unit. > > What does mean clie

Re: saslauthd with realm support

2009-03-16 Thread Reinaldo de Carvalho
t; and "realm" but de client can chose if send "john...@example.com" as "user" and empty realm "johndoe" as "user" and "example.com" as "realm". -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: relay_recipient_maps, aliases and LDAP

2009-03-14 Thread Reinaldo de Carvalho
to accomplish this? Meanwhile I'll keep searching Google, but when > searching for postfix, it comes with tons of results, will have to sort them > all. > > Thanks in advance and best regards. > > > -- > Marcio Merlone > I already explain to you about this in local postfix mailling list. -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Local mail listener

2009-03-06 Thread Reinaldo de Carvalho
nce to decide which program responds > out of protocol. > > I will not participate in this discussion until you have > proper evidence. > >        Wietse > Daniel, you can use: 1) tcpdump -nn -i ethX -s 0 -A port 25 # (maybe -i lo) 2) tcpdump -nn -i lo -s 0 -A port 225 3) tcpd

Re: Postfix mail queue

2009-01-22 Thread Reinaldo de Carvalho
> > http://www.postfix.org/postcat.1.html > > -- > Noel Jones I use Korreio. :D http://sourceforge.net/project/screenshots.php?group_id=206408&ssid=95520 Ps: i'd like postfix support for bounce by command. :) -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: move mailqueue

2009-01-16 Thread Reinaldo de Carvalho
Old box: > > /etc/postfix/main.cf: >relayhost = [ip address of new box] > >Wietse > Run "postsuper -r ALL" to probe new transport is necessary? -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Reinaldo de Carvalho
On Thu, Jan 8, 2009 at 11:10 AM, Martin Spinassi wrote: > On Thu, 2009-01-08 at 10:10 -0300, Reinaldo de Carvalho wrote: >> On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi >> wrote: >> > main.cf: >> > >> > smtpd_sender_restrictions= >> >

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Reinaldo de Carvalho
On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi wrote: > main.cf: > > smtpd_sender_restrictions= >check_client_access hash:/etc/postfix/access >reject > s/check_client_access/check_sender_access/ but this a problem if is a external MTA. > > Martín >

Re: About bounce nonexist mx server mails

2009-01-07 Thread Reinaldo de Carvalho
tamail.comerror:typo error # postmap /etc/postfix/transport To apply in queue messages: # postsuper -r ALL You can to reduce maximal queue lifetime; # postconf -e maximal_queue_lifetime=1d # postfix reload -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: CDB map files for virtual alias maps

2009-01-07 Thread Reinaldo de Carvalho
de is released via > http://www.postfix.org/downloads.html. > >Wietse > http://www.postfix.org/download.html ;-) -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: reject_rbl_client after check_policy_service

2009-01-02 Thread Reinaldo de Carvalho
on action=DEFER Try again later. # grep 'warning: restriction' /var/log/mail/mail.log Jan 2 12:27:57 marajo postfix/smtpd[11688]: warning: restriction `Try' after `defer' is ignored -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

transport documentation update proposed

2008-12-21 Thread Reinaldo de Carvalho
e- m...@hostname). Note 2: u...@domain or user+extens...@domain lookup is available in Postfix 2.0 and later. ... -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

how hash table in transport_maps has '*' support

2008-12-20 Thread Reinaldo de Carvalho
Hi, How hash table in transport_maps has '*' support and it in others options (e.g. check_client_access) dont work? Postfix always query for '*'? Why it is necessary if relayhost exist? -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: how to send mail to gmail account

2008-12-19 Thread Reinaldo de Carvalho
gmail or any other destination. If you need use Gmail as relay to any recipient you need configure a account in smtp_sasl_password_maps and relayhost properly. -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

[OT] Korreio: free software announce, Postfix related

2008-12-08 Thread Reinaldo de Carvalho
d a remote text editor through SSH. See screenhosts: http://sourceforge.net/project/screenshots.php?group_id=206408 Have fun. -- Reinaldo de Carvalho http://korreio.sf.net (Now available in English) http://python-cyrus.sf.net

Re: RBL

2008-12-07 Thread Reinaldo de Carvalho
_fqdn_recipient, > reject_rbl_client zen.spamhaus.org > > Terry > Avoid use implicit client check. Use check_client_access hash:/etc/postfix/whitelist, check_client_access regexp:/etc/postfix/spam_ip_regex -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

disable_vrfy_command should be obsoleted?

2008-11-28 Thread Reinaldo de Carvalho
Hi, The smtpd_discard_ehlo_keywords and smtpd_discard_ehlo_keyword_address_maps can replace disable_vrfy_command, then it can be removed? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Fwd: preventing backscatter with virtual_alias_maps

2008-11-24 Thread Reinaldo de Carvalho
xamples in other areas: > > Agree! The "local" domains have a same problem. Virtual domains also are local (to be in same machine). I prefer use the term "authoritative" (adapted from dns) for designate postfix domains (local, virtual, relay). -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net

Re: Courier (Authdaemon + imap + pop3 + maildrop) Memory usage

2008-11-11 Thread Reinaldo de Carvalho
s (i think that you want to know this value) > How could I confirm that memory is used by a process A or B? > Could It be something with Courier? Some trouble with Courier + PAM + MS AD > integration? > > Thanks for any help ( I still have 12 days before next needed boot :( ) >

Re: [OFF] SPF

2008-11-04 Thread Reinaldo de Carvalho
spfpolicy_time_limit: > > warning: problem talking to server private/spfpolicy: Connection timed > Run /usr/lib/postfix/policyd press Enter and if you see: action=DUNNO Its fine. > > Some ideas. > -- > Márcio Luciano Donada > Aurora Alimentos - Cooperativa Central Oeste Ca

Re: SMTP transaction interrupted

2008-11-04 Thread Reinaldo de Carvalho
> > Which tcpdump version is this? Where are the time stamps and the > packets with data (Len>0)? > >Wietse > tcpdump show only initial packet data by default and "-s0" show all data. Is usefull when decode HEX (-xX) or ASCII (-A) -- Reinaldo de Carv

  1   2   >