0

I have a postfix mail server on ubuntu on my virtualbox,now the domain of the mail server is abc.com...hence it receives mail from any "from address" but the "to address" needs to be proper i.e a valid user in the mailserver.

Now,in my project i am sending fake mails to user whose mail id consists of other domains too...like cde.com

My final objective is to show the mails in the mail server.

When i tried that ,it goes directly in to the mailserveer logs i.e /var/log/mail.log i.e as an error

is there any way i can store these mails in the mailserver??

1 Answer 1

3

add cde.com to mydestination

# sed -ie 's/mydestination =/mydestination = cde.com,/' /etc/postfix/main.cf
# postfix reload
postfix/postfix-script: refreshing the Postfix mail system
# postconf | grep "^mydestination"
mydestination = cde.com, abc.com

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .