[SOLVED] Strange behavior of Postfix?

2012-03-09 Thread Leslie León Sinclair
After Noel Jones tips, I check his postfix config and database in MySQL, 
and found that his mailing list domain was added, and was empty. Of 
course, Postfix is not a member of Merlin´s the Magician family, empty 
domain, empty mailboxes, so, get the error slapping you in the face...


Best regards and, as always:
Thanks Wietse, Noel, and all...
Participe en la XVI Convencioacute;n de Ingenieriacute;a y Arquitectura del 
26 al 30 de noviembre de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Strange behavior of Postfix?

2012-03-08 Thread Leslie León Sinclair

A childhood friend of mine have this problem:

He can send mails to his mailing list server only with RoundCube, but 
with another Client[Squirrelmail, Thunderbird, ClawsMail or Micro$oft 
Outlook doesn´t], and I don´t know what´s happening. I post below his 
main.cf. Mailman if configured and working, when you send a mail to a 
list, postfix give a user unknown error[the user of the list], but 
with RoundCube works as a sunshine. So I don´t know what might be 
happening there.


I hope you can help me because the issue is tricky to me too.

main.cf
smtpd_banner = $myhostname ESMTP $mail_name Debian GNU/Linux
biff = no

# Appending domain is the MUA's job.
append_dot_mydomain = no

readme_directory  = no

# Bounce template
bounce_template_file = /etc/postfix/warnings/bounce.msg

# Debug
debug_peer_level  = 4
debug_peer_list   = $mynetworks

# Net interfaces
inet_interfaces  = all
inet_protocols   = all
mynetworks_style = host
mynetworks   = 127.0.0.0/8

relayhost = mx.mydomain.cu

myhostname = apolo.mydomain.cu
mydomain   = mail.mydomain.cu
myorigin   = $mydomain
masquerade_domain = 
proxy:mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf

relay_domain = proxy:mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth

#smtpd_sasl_path = smtpd
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable  = yes
broken_sasl_auth_clients= yes
smtpd_sasl_authenticated_header = yes
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject, 
reject_non_fqdn_hostname, permit_sasl_authenticated, 
reject_unauth_destination
smtpd_sender_restrictions   = reject_unauth_pipelining, 
reject_unknown_sender_domain, reject_non_fqdn_sender, 
hash:/etc/postfix/rules/spamaddrss
smtpd_recipient_restrictions= permit_mynetworks, 
permit_auth_destination, permit_sasl_authenticated, permit_mx_backup, 
reject_unauth_destination, reject_unlisted_recipient


smtpd_tls_auth_only = no
smtpd_use_tls   = yes
smtp_tls_note_starttls_offer= yes
smtpd_tls_CAfile= /etc/ssl/certs/cacert.pem
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file  = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_loglevel  = 5
smtpd_tls_received_header   = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source   = dev:/dev/urandom

smtpd_helo_required = yes
disable_vrfy_command= yes
smtp_sasl_auth_enable   = no
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject

body_checks = pcre:/etc/postfix/rules/body_checks, 
regexp:/etc/postfix/rules/avchk, pcre:/etc/postfix/rules/avchkre
header_checks = pcre:/etc/postfix/rules/header_checks, 
pcre:/etc/postfix/rules/headerchkmsg

mime_header_checks = pcre:/etc/postfix/rules/mime_header_checks

smtpd_sender_login_maps = pcre:/etc/postfix/rules/sender_login_checks

smtp_mx_address_limit = 0
smtp_connect_timeout = 30
smtp_helo_timeout = 60s
smtp_rcpt_timeout = 240s
smtp_quit_timeout = 240s
smtp_rset_timeout = 20s
smtp_skip_4xx_greeting = yes
smtp_skip_5xx_greeting = yes

message_size_limit = 10485760
mailbox_size_limit = 10485760

recipient_delimiter = +

smtpd_recipient_limit = 25

dovecot_destination_recipient_limit = 1

maximal_queue_lifetime = 4d

delay_warning_time = 4h
smtpd_error_sleep_time = 1s

local_destination_concurrency_limit = 25
bounce_queue_lifetime = 4d

alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases

#mydestination = [He tried a lot of values here, but right now is empty, 
and still strange the behavior]


transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
owner_request_special = no

virtual_mailbox_base= /home/vmail
virtual_uid_maps= static:5000
virtual_gid_maps= static:5000
virtual_transport   = dovecot

virtual_alias_maps  = 
proxy:mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = 
proxy:mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps= 
proxy:mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf


show_user_unknown_table_name = no

queue_directory   = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory  = /usr/lib/postfix
mail_owner= postfix
default_privs = nobody

unknown_local_recipient_reject_code = 550
local_recipient_maps =  $alias_maps, $virtual_mailbox_maps, 
proxy:unix:passwd.byname


in_flow_delay   = 1s

home_mailbox= Maildir/

mail_spool_directory = /var/spool/mail

debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id  sleep 5

sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
mailbox_command = 

Re: Strange behavior of Postfix?

2012-03-08 Thread Leslie León Sinclair

The two sessions, below...

1) Show one maillog example of a good session.


Mar  8 14:58:40 apolo postfix/pickup[26492]: C7A5356B4: uid=33 
from=les...@mail.mydomain.cu
Mar  8 14:58:40 apolo postfix/qmgr[2706]: C7A5356B4: 
from=les...@mail.mydomain.cu, size=553, nrcpt=1 (queue active)
Mar  8 14:58:42 apolo postfix/smtpd[24204]:  localhost[127.0.0.1]: rcpt 
TO:les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: extract_addr: input: 
les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: smtpd_check_addr: 
addr=les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: ctable_locate: move existing 
entry key les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: extract_addr: in: 
les...@mail.mydomain.cu, result: les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: ctable_locate: move existing 
entry key les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: maps_find: 
recipient_canonical_maps: les...@mail.mydomain.cu: not found
Mar  8 14:58:42 apolo postfix/smtpd[24204]: mail_addr_find: 
les...@mail.mydomain.cu - (not found)
Mar  8 14:58:42 apolo postfix/smtpd[24204]: maps_find: canonical_maps: 
les...@mail.mydomain.cu: not found
Mar  8 14:58:42 apolo postfix/smtpd[24204]: mail_addr_find: 
les...@mail.mydomain.cu - (not found)
Mar  8 14:58:42 apolo postfix/smtpd[24204]: send attr key = 
les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: input attribute value: 
les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: dict_proxy_lookup: 
table=mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf 
flags=lock|fold_fix key=les...@mail.mydomain.cu - status=0 
result=les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: maps_find: 
virtual_alias_maps: 
proxy:mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf(0,lock|fold_fix): 
les...@mail.mydomain.cu = les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/smtpd[24204]: mail_addr_find: 
les...@mail.mydomain.cu - les...@mail.mydomain.cu
Mar  8 14:58:42 apolo postfix/pipe[27511]: 9749456A7: 
to=les...@mail.mydomain.cu, relay=dovecot, delay=0.17, 
delays=0.13/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)




2) Show one maillog example of a bad session.


Mar  8 14:52:59 apolo postfix/smtpd[24202]: Read 52 chars: MAIL 
FROM:les...@mail.mydomain.cu
Mar  8 14:52:59 apolo postfix/smtpd[24202]: NOQUEUE: reject: RCPT from 
unknown[10.8.xxx.yyy]: 550 5.1.1 mail...@list.mydomain.cu: Recipient 
address rejected: User unknown; from=les...@mail.mydomain.cu 
to=mail...@list.mydomain.cu proto=ESMTP helo=[10.8.xxx.yyy]



Participe en la XVI Convencioacute;n de Ingenieriacute;a y Arquitectura del 
26 al 30 de noviembre de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: tranportList and transportList.db

2012-02-10 Thread Leslie León Sinclair
Check the init scripts if you have any[depending on your Linux(Debian, 
CentOS, Suse or Slackware) could change], postfix config, or a backup 
program could be rewriting the transportList with the old one. Check and 
tell us :D.


Best regards.


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Disable sending mails via telnet

2012-01-23 Thread Leslie León Sinclair
Problem solved.

Using smtpd_sender_login_maps and pcre with domain checking against
logged user...

Thanks for the help.
Regards to all...


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Disable sending mails via telnet

2012-01-11 Thread Leslie León Sinclair
I´m testing a server, so I need to unable people[users], to connect via
telnet[smtp.mydomain.com:25] to the mail server.


 2012/1/10 Leslie León Sinclair les...@electrica.cujae.edu.cu:
  Can anyone point me in the right direction, I´m stucked here and Google
  is not helping...
 
 define telnet here, do you mean: direct connection to port 25? or an
 *actual* telnet session (port 23).
 
 Ildefonso.
 
 
 
  Best regards.
 
 
  Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
  Habana, Cuba: http://www.congresouniversidad.cu
  Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Disable sending mails via telnet

2012-01-11 Thread Leslie León Sinclair
Telnet the protocol in port 25...

 On Tuesday, January 10, 2012, 16:45:25, Leslie León Sinclair wrote:
  Can anyone point me in the right direction, I´m stucked here and Google
  is not helping...
 
 TELNET the Protocol or a telnet client?
 


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Disable sending mails via telnet

2012-01-11 Thread Leslie León Sinclair
Sorry my mistake, I´m punishing myself right now, by the way I asked
here in the list, but I was tired dealing with this problem. Reading
yesterday´s mail now... I feel like a barbarian...

It´s not gonna happen again, or at least, I will try.

Good day to all...


 
 Welcome to the postfix-users mailing list.
 
 Upon subscribing, you should have received a message explaining how to 
 ask for help, to wit: http://www.postfix.org/DEBUG_README.html#mail
 


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Disable sending mails via telnet

2012-01-11 Thread Leslie León Sinclair
First:
I apology bellow about my yesterday´s behavior.

My issue:
I have a postfix[Debian] server, and it´s working nice, but I need to block 
people to send mails via telnet[telnet mydomain.com 25], everything is working 
nice and shiny, error/warning logs are empty, dovecot logging normal, no error 
so far, but still the issue. 

Now:
I will do a VM with the same config and will test, on other machine, to see 
some 
changes in SASL and stuff related and later I post my results with main.cf 
included.
Until then, please do not replys to my mails, I´ll be out for a while...

Best regards...


 Sorry my mistake, I´m punishing myself right now, by the way I asked
 here in the list, but I was tired dealing with this problem. Reading
 yesterday´s mail now... I feel like a barbarian...
 
 It´s not gonna happen again, or at least, I will try.
 
 Good day to all...
 



Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Disable sending mails via telnet

2012-01-10 Thread Leslie León Sinclair
Can anyone point me in the right direction, I´m stucked here and Google
is not helping...

Best regards.


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


Re: Mailing List with Postfix

2011-12-05 Thread Leslie León Sinclair
Mailman[list manager], could do perfectly, the job. You should create a 
separated lists for the users, and his options as you pointed, Mailman 
has a strong/easy-to-understanduse backend.


HTH, Goutam.

Best regards.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -   
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware   Debian GNU/Linux user
*Proud GNU/Linux User #445535 -   http://counter.li.org/
*Katana yanai, otoko nanda.
/


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: postfix log

2011-11-18 Thread Leslie León Sinclair
You can do a python script to parse/split in different lines or 
parameters /var/log/[mail.log | maillog] and insert records into MySQL 
database.


Best regards,
Leslie.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -   
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware   Debian GNU/Linux user
*Proud GNU/Linux User #445535 -   http://counter.li.org/
*Katana yanai, otoko nanda.
/


Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: Quota for mail

2011-11-08 Thread Leslie León Sinclair
The problem is showing the quota for the users[I have multiple quotas, a 
field of a MySQL table], Users1 have 10MB quota and Users2 have 100MB, 
some users have 250MB, how can I show quota with a query, with Dovecot 
or Postfix??? If all my users have the same quota, works for me great[I 
have tested], but different quota here... That´s the thing... Still 
working on that... If someone have solved the same issue please share 
the piece of code, or script :D.


Thanks for replies...

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


[SOLVED]Re: Quota for mail

2011-11-08 Thread Leslie León Sinclair

Done, at last!!!

Missing stuff on my install:

[PostfixAdmin config file]
$CONF['used_quotas'] = 'YES'; // Was no activated, this was the main 
reason of my past mails. Sorry again.

$CONF['quota'] = 'YES';

Other changes made:

[Dovecot config file]
protocol imap {
mail_plugins = quota imap_quota
}

protocol pop3 {
mail_plugins = quota
}

protocol lda {
mail_plugins = quota
}

dict {
quota = mysql:/etc/dovecot/dovecot-quota.conf
}

plugin {
quota = dict:storage=20 proxy::quota
}

[dovecot-quota.conf]
driver = mysql
connect = host=localhost dbname=postfix user=postfix password=yourpassword
default_pass_scheme = MD5-CRYPT
table = quota
select_field = current
where_field = path
username_field = username

[dovecot-sql.conf]
password_query = SELECT username AS user,password FROM mailbox WHERE 
username = '%u'
user_query = SELECT maildir, 5000 AS uid, 5000 AS gid, 
CONCAT('dict:storage=',floor(quota/1024),' proxy::quota') as quota FROM 
mailbox WHERE username = '%u'


Best regards and many, many thanks to all.
HTH all trying to do the same, the way I did it.


--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Quota for mail

2011-11-07 Thread Leslie León Sinclair

Hi:

I have a Postfix+MySQL+Dovecot+PostfixAdmin[Lenny server] setup, and 
works very nice. But I need to put quota in my webmail[RoundCube], and 
after a long research in Internet, I see DoveAdm as a good option,the 
issue is...


- It´s DoveAdm a command part of Dovecot, if so, where is it?

- Or a script/package,if so, where can I download it? Because I don´t 
find the download link.


- Another simple way to implement quota in mail. I´m still 
reading/searching several ways to do the same with ease.


Thanks in advance  for your time.
Best regards.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: Quota for mail

2011-11-07 Thread Leslie León Sinclair
The problem is the query for MySQL... I have quotas in a table in mysql, 
but there´s a lot of parameters that I dont know when to use it.


For example:
1- The quota query in MySQL - query = SELECT quota FROM mailbox WHERE 
username='%s'
2- The quota query in Dovecot - user_query = SELECT home, uid, gid, 
concat('maildir:storage=', quota_kb) AS quota FROM users WHERE userid = '%u'


I´am testing - SELECT quota CONCAT('maildir:storage=', quota_kb) FROM 
mailbox WHERE username='%s', or alternative queries...


If works I will post the answer.

Thanks for the reply :D.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: Quota for mail

2011-11-07 Thread Leslie León Sinclair
The issue is that I have multiple quotas/domains, for my users. Some 
users have 10MB, others have 100MB, and Admin/Root[postmaster, 
webmaster, abuse, hostmaster] have 500MB and I need to fetch the quota, 
for the specific user with MySQL.


Best regards.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: Quota for mail

2011-11-07 Thread Leslie León Sinclair
Thanks again, and sorry the thread, I´am stacked here. Almost near the 
solution.


Best regards.




You should move this discussion over to the Dovecot mailing list.




--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: statistics tool for postfix log files

2011-10-28 Thread Leslie León Sinclair
PFlogsumm could help you, there is a nice tutorial in [1], combined with 
and mailgraph, I think is a very good option.


HTH,
Leslie.


[1] 
http://www.howtoforge.com/postfix-monitoring-with-mailgraph-and-pflogsumm-on-debian-lenny


--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu


Re: First Insallation, Bouncing Emails

2011-10-21 Thread Leslie León Sinclair

Something like:

mysql_virtual_alias_maps.cf
user = user_for_db
password = password_for_db
hosts = localhost
dbname = database_name
query = SELECT goto FROM alias WHERE address='%s' AND active = '1'
/mysql_virtual_alias_maps.cf


What does /etc/postfix/mysql_virtual_alias_maps.cf look like?

Simon



Best regards.

--
/***
*Leslie León Sinclair
*Administrador de Redes
*Facultad de Ingenieria Electrica, CUJAE.
*Calle 114 #11901 e/ Ciclovía y Rotonda
*Marianao 19390, Ciudad de la Habana, Cuba
*Tel: (53 7) 266-3321
*Miembro de GUTL -  
http://www.ecured.cu/index.php/Grupo_de_Usuarios_de_Tecnolog%C3%ADas_Libres_GUTL
*Another happy Slackware  Debian GNU/Linux user
*Proud GNU/Linux User #445535 -  http://counter.li.org/
*Katana yanai, otoko nanda.
/




Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu