Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Untitled
Monday, May 14th, 2007 at 6:50:53pm UTC 

  1. root@papinicomputer:/etc/postfix# cat main.cf
  2. myhostname = mail.papinicomputer.it
  3. mydomain = papinicomputer.it
  4.  
  5. virtual_mailbox_base = /home/webmail
  6.  
  7. virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
  8. # vengono assegnate all'utente che gestirà le mailbox un uid e gid statici
  9. # così da evitare di dover creare un utente reale per ogni utente virutale
  10. virtual_gid_maps = static:5001
  11. virtual_uid_maps = static:5001
  12.  
  13. # indica con quale backend (mysql) e dove trovare la lista dei domini gestiti
  14. # dal server
  15. virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
  16. virtual_mailbox_limit = 51200000
  17.  
  18. # indica in quale file di configurazione sono presenti i parametri per ottenere la
  19. # lista delle mailbox presenti nel sistema
  20. virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
  21. virtual_minimum_uid = 1001
  22. virtual_transport = virtual
  23.  
  24. # Per la gestione delle quote delle mailbox
  25. virtual_create_maildirsize = yes
  26. virtual_mailbox_extended = yes
  27. # dove trovare i limiti di dimensione della mailbox e come comportarsi
  28. virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf
  29. virtual_mailbox_limit_override = yes
  30. virtual_maildir_limit_message = Hai terminato il tuo spazio disponibile !!
  31. virtual_overquota_bounce = yes
  32.  
  33. # indica i domini per cui il server deve accettare la posta in ingresso
  34. relay_domains = mysql:/etc/postfix/mysql/mysql_relay_domains_maps.cf
  35.  
  36. mailbox_command = /usr/bin/spamc | procmail -a "$EXTENSION"
  37.  
  38.  
  39. smtpd_recipient_restrictions =
  40.             permit_mynetworks,
  41.             reject_invalid_hostname,
  42.             reject_non_fqdn_hostname,
  43.             reject_non_fqdn_sender,
  44.             reject_non_fqdn_recipient,
  45.             reject_unknown_sender_domain,
  46.             reject_unknown_recipient_domain,
  47.             reject_unauth_pipelining,
  48.             reject_unauth_destination,
  49.             reject_rbl_client zombie.dnsbl.sorbs.net,
  50.             reject_rbl_client relays.ordb.org,
  51.             reject_rbl_client opm.blitzed.org,
  52.             reject_rbl_client list.dsbl.org,
  53.             reject_rbl_client sbl.spamhaus.org,
  54.             reject_rbl_client blackholes.easynet.nl,
  55.             permit

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right