Necesito de su ayuda, les cuento:
Tengo instalado, configurado y funcionando un servidor de correo con lo siguiente:
-SO Debian Sarge
-Postfix
-Cyrus Imap (POP3)
-SASL
-LMTP
-Amavis-new
-SpamAssassin
-ClamAv
He configurado unos alias virtuales de la siguiente forma:
#Para conseguir que los mail enviados a [email protected] sean recibidos por mail1, mail2 y [email protected]
[email protected] [email protected], [email protected], [email protected]
Hasta ahí no tengo problemas, pero lo que necesito hacer ahora es que cuando [email protected] ó [email protected] ó [email protected] envien un correo, en el from aparesca [email protected]. Vale decir, los correos enviados por mail1,mail2 ó [email protected] lleguen como [email protected].
Saludos y gracias por su ayuda
Les dejo el main.cf y el virtual (alias)
main.cf
Código:
virtualsetgid_group = postdrop smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no delay_warning_time = 4h # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtp_sasl_auth_enable = no smtpd_sasl_auth_enabled = yes smtp_sasl_local_domain = debian smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access pcre:/etc/postfix/recipient_checks.pcre, check_helo_access hash:/etc/postfix/helo_checks, check_sender_access hash:/etc/postfix/sender_checks, check_client_access hash:/etc/postfix/client_checks, check_client_access pcre:/etc/postfix/client_checks.pcre, permit smtpd_data_restrictions = reject_unauth_pipelining, permit smtpd_sasl_security_options = noanonymous command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix config_directory = /etc/postfix myhostname = smtp.midominio.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = $mydomain mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost relayhost = mynetworks = xxx.xxx.x.x/xx, xxx.xxx.xxx.xxx mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + local_recipient_maps = mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp #inet_interfaces = all #inet_protocols = all content_filter = smtp-amavis:[127.0.0.1]:10024 virtual_alias_maps = hash:/etc/postfix/virtual