-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 2 alternative: a) installi pdnsd in locale e fai risolvere a pdnsd l'MX record del tuo dominio sul localhost. Esempio di conf: - ------------------------------------------------------------------------ global { perm_cache=512; cache_dir="/var/cache/pdnsd"; max_ttl=604800; run_as="pdnsd"; paranoid=on; status_ctl=on; server_port=53; server_ip="127.0.0.1"; } server { ip="213.21.141.2","213.21.164.2"; purge_cache=off; } rr { ttl=86400; owner="localhost."; name="lxnaydesign.net"; mx="127.0.0.1"; soa="localhost.","root.localhost.",42,86400,900,86400,86400; } - --------------------------------------------------------------------- poi modifichi il resolv.conf mettendo nameserver 127.0.0.1 b) Tarocchi un po' il tuo main.cf > mars fabio # postconf -n > alias_database = hash:/etc/mail/aliases > alias_maps = ldap:ldapsource > append_at_myorigin = yes > append_dot_mydomain = no > broken_sasl_auth_clients = yes > command_directory = /usr/sbin > config_directory = /etc/postfix > content_filter = smtp-amavis:[127.0.0.1]:10024 > daemon_directory = /usr/lib/postfix > debug_peer_level = 2 > default_destination_concurrency_limit = 2 > home_mailbox = .maildir/ > html_directory = no > inet_interfaces = all > lmtp_cache_connection = NO > local_destination_concurrency_limit = 2 > local_transport = local > mail_owner = postfix > mailbox_transport = lmtp:unix:/var/imap/socket/lmtp > mailq_path = /usr/bin/mailq > manpage_directory = /usr/share/man > mydestination = $myhostname, $mydomain > local_recipient_maps = Qui dovresti mettere local_recipient_maps = proxy:unix:passwd.byname, $alias_maps > mydomain = lxnaydesign.net > myhostname = mars > mynetworks = 127.0.0.0/8 192.168.1.0/24 > mynetworks_style = subnet > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme > relay_domains = > relayhost = $mydomain Relayhost devi mettere l'smtpserver del tuo provider. > sample_directory = /etc/postfix > sendmail_path = /usr/sbin/sendmail > setgid_group = postdrop > smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, > reject > smtpd_sasl_auth_enable = yes > smtpd_sasl_local_domain = lxnaydesign.net > smtpd_sasl_security_options = noanonymous > smtpd_tls_CAfile = /etc/ssl/postfix/server.pem > smtpd_tls_auth_only = yes > smtpd_tls_cert_file = /etc/ssl/postfix/server.crt > smtpd_tls_key_file = /etc/ssl/postfix/server.key > smtpd_tls_loglevel = 3 > smtpd_tls_received_header = yes > smtpd_tls_session_cache_timeout = 3600s > smtpd_use_tls = yes > soft_bounce = yes > tls_random_source = dev:/dev/urandom > unknown_local_recipient_reject_code = 550 Teoricamente dovrebbe bastare. Devi ovviamente avere gli utenti crati sul tuo host. Ti consiglio anche di dare un'okkiata a /usr/share/doc/postfix/* in particolare LOCAL_RECIPIENT_README - -- Flavio Visentin | \|||/ | @/0.0\@ | \ - / +------------------oOOo---oOOo------------------ There are only 10 types of people in this world: those who understand binary, and those who don't. GPG Key: http://www.zipman.it/gpgkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCkfG8usUmHkh1cnoRAlYbAJ9zYFQ+2aqwy2t0JoRY1dYhW0cNkgCdH+u2 Rsc+7FiJkYU04rUqHs9EdcE= =lHFL -----END PGP SIGNATURE-----