Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I set up Postfix on a Debian server serving from mydomain.com and configured it to send out emails from mydomain.com email addresses.

Since switching to this configuration, my gmail started to be flooded by emails of the outputs of cronjobs that run on my user account on the server. Apparently, the emails get automatically sent to me@mydomain.com which Postfix sends out instead of keeping locally for the "me" debian user account email.

How can I change the configuration so that such emails only remain in the local mailbox of the user on the server?

share|improve this question
1  
Fix the cronjobs so that they don't generate output on success. –  grawity Feb 3 '11 at 13:45
add comment

1 Answer 1

Those emails are actually sent to the local root user, which perhaps you have inadvertently aliased to me@mydomain.com. Check /etc/aliases. There's a number of other things you could have got wrong also. Do you have virtual hosts? What's your mydestination set to? What the envelope 'From' address on those emails?

share|improve this answer
add comment

Your Answer

 
discard

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.