Hello,

I have a VPS with postfix as my MTA.
vps.sweetwise.com

My MX is handled by another remote server and mail accounts for my domain
are configured there.

sweetwise.com. 3600 IN MX 0 smtp.secureserver.net.
sweetwise.com. 3600 IN MX 10 mailstore1.secureserver.net.


My VPS needs to send mail to people outside my domain and to accounts on my
domain.

I set the virtual_alias_domains and virtual_alias_maps entries in
main.cfand populated the /etc/postfix/virtual file with this style
entries:

jo...@sweetwise.com johng
sweetwise.com sweetwise.com
postmas...@sweetwise.com jo...@sweetwise.com

emails to domains other than this one are sending fine.
Emails to my domain have the following entry in maillog but do not arrive at
the remote mailserver.

Jan 20 09:39:10 vps postfix/local[13436]: BE37CA6D1B16: to=<
jo...@vps.sweetwise.com>, relay=local, delay=0.47, delays=0.03/0.01/0/0.43,
dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o
-a $DOMAIN -d $LOGNAME

What have I missed or mis configured?

Here is my postconf -n output:

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
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
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,
vps.sweetwise.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = $mydestination
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
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains = sweetwise.com
virtual_alias_maps = hash:/etc/postfix/virtual

Reply via email to