Hello,
I have a problem with postfix when i try to send emails from usermin or email clients.
Before i change my hostname, all worked like a charm, and now (also after create sub-server), smtp is not working.
Can you help me to correct this problem ?
i have put some information about my configuration >(mydomain) = my domain name…
In virtual domains, the map specification seems to be ok > hash:/etc/aliases
The error message in mail log >
Recipient address rejected: User unknown in virtual alias table; from=<test@(mydomain).com> to=<test@(externaldomain).com> proto=ESMTP helo=<[192.168.0.4]>
-------------------------------------------------------------------------
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
Auto-generated hostname. Please do not remove this comment.
178.32.5.242 server.(mydomain).com server
------------------------------------------------------------------------
hostname
server.(mydomain).com
-------------------------------------------------------------------------
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
home_mailbox = Maildir/
html_directory = no
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, server.13cinq.com
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
-------------------------------------------------------------------------
cat /etc/mailname
cat: /etc/mailname: No such file or directory
-------------------------------------------------------------------------
main.cf >
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
virtual_alias_maps = hash:/etc/postfix/virtual
mydestination = $myhostname, localhost.$mydomain, localhost, server.(mydomain).com
-------------------------------------------------------------------------
Thank you