Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a postfix mail server on ubuntu on my virtualbox,now the domain of the mail server is 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

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??

share|improve this question

1 Answer 1

add to mydestination

# sed -ie 's/mydestination =/mydestination =,/' /etc/postfix/
# postfix reload
postfix/postfix-script: refreshing the Postfix mail system
# postconf | grep "^mydestination"
mydestination =,
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.