This is my first time configuring virtualmin/webmin and i cannot complete configuration postfix I have configure ssh,mysql, apache, dovecot and BIND DNS right. I have configure two domains, main domain and other virtual domain. but when i have configured postfix i have checked send email from server to other mail using roundcube installed in one domain and is right I can configure POP3 /SMTP account in client email right but when i try send email from gmail to new account i recived this error: This is the mail system at host prod-node1.xxx.es.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system (expanded from ): host prod-node1.xxx.es/var/run/dovecot/lmtp] said: 550 5.1.1 User doesn't exist: pp2-cartavinos.es@prod-node1.xxx.es (in reply to RCPT TO command) Final-Recipient: rfc822; pp2-cartavinos.es@prod-node1.xxx.es Original-Recipient: rfc822;pp2@cartavinos.es Action: failed Status: 5.1.1 Remote-MTA: dns; prod-webext1.xxx.es Diagnostic-Code: smtp; 550 5.1.1 User doesn't exist: pp2-cartavinos.es@prod-node1.xxx.es domain is xxx.es and server name (hostname -f) is prod-node1.xxx.es other virtual domain is cartavinos.es and i have created email pp2@cartavinos.es
my postconf -n command is:
[root@prod-node1 ~]# postconf -n alias_maps = hash:/etc/aliases allow_percent_hack = no broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mailbox_command = /usr/lib/dovecot/dovecot-lda -d "$USER" mailbox_size_limit = 0 mailbox_transport = lmtp:unix:/var/run/dovecot/lmtp mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, $mydomain, prod-node1.xxx.es mail.$mydomain mydomain = xxx.es myhostname = prod-node1.xxx.es myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES recipient_bcc_maps = hash:/etc/postfix/recipient_bcc sample_directory = /usr/share/doc/postfix-2.10.1/samples sender_bcc_maps = hash:/etc/postfix/bcc sender_canonical_maps = hash:/etc/postfix/canonical sender_dependent_default_transport_maps = hash:/etc/postfix/dependent sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_use_tls = yes smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/virtual virtual_transport = lmtp:unix:/var/run/dovecot/lmtp
Please can someone help me , i don't mind use LMTP or other protocol only want configure in some way the postfix&dovecot
I forgot said i use CentOS, Please can some body say me a valid configuration for can send and recive emails
I am lost, this is my first time with postfix and virtualmin. Somebody can say me some idea