Hello, I am currently configuring Virtualmin on a VPS to host a few of my own websites, so far with a lot of google use everything seems to be going smoothly except for sending emails.
Most emails are sending fine from roundcube, thunderbird and the android email app except one specific email address (that I know of, I imagine there are more) which repeatedly returns the following error:
As I don’t thing my sister would want me to publicly advertise her email address I have replaced it with: ‘some@email.address’ and my own email address has been replaced with ‘my@email.address’
SMTP Error (550): Failed to add recipient “some@email.address” (5.1.1 some@email.address: Recipient address rejected: User unknown in virtual alias table).
Postconfig -n returns the following
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mydestination = server.valentms.com, localhost.valentms.com, valentms.com, localhost, webserver, localhost.localdomain
myhostname = server.valentms.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
sender_bcc_maps = hash:/etc/postfix/bcc
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual
hostname -f returns
localhost.localdomain
The last few sections of mail.log look like this
Jan 13 01:52:32 webserver dovecot: IMAP(email.username): Disconnected: Logged out bytes=44/532
Jan 13 01:52:47 webserver postfix/smtpd[12625]: connect from localhost.localdomain[127.0.0.1]
Jan 13 01:52:47 webserver postfix/smtpd[12625]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 some@email.address: Recipient address rejected: User unknown in virtual alias table; from=my@email.address to=some@email.address proto=ESMTP helo=<valentms.com>
Jan 13 01:52:47 webserver postfix/smtpd[12625]: disconnect from localhost.localdomain[127.0.0.1]
Jan 13 01:55:19 webserver postfix/smtpd[12662]: connect from localhost.localdomain[127.0.0.1]
Jan 13 01:55:20 webserver postfix/smtpd[12662]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 some@email.address: Recipient address rejected: User unknown in virtual alias table; from=my@email.address to=some@email.address proto=ESMTP helo=<valentms.com>
Jan 13 01:55:20 webserver postfix/smtpd[12662]: disconnect from localhost.localdomain[127.0.0.1]
So far this is the only email address I am having issues with, although I can send to it from my other accounts (on a cpanel server and hotmail etc…). From the email account on the virtualmin VPS I can send emails to other email addresses on the same server, ones on the cpanel server and hotmail etc…
I have spend a fair amount of time searching google and the forums attempting different solutions but as of yet none have worked for me.
Any help would be much appreciated.
Regards
Jim