| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-15-2012, 03:10 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2012
Posts: 4
Rep: 
|
postfix postmaster bounce recipient?
Hi, we have postfix setup on a centos box as an smtp relay, so I setup relay_domains and transport maps to relay emails addressed to our domains to our mail servers. We are using postini as anti-spam, so I'm not really worried about spoof emails. However, I forgot to add a rarely-used domain to the transport map, and an email addressed to that domain bounced. We received a bounce email, but this is what I'm confused about. The email address that received a bounce notification is support@ourdomain.com, which is actually where we want it to go, but I never set up that email address. I set the postmaster alias in /etc/alias to be my personal email address, and in main.cf there are no bounce configuration lines (which I'm assuming means it uses the default postmaster account). I'm confused about how it got sent to the support email address? Googling just keeps showing me the alias files, it doesn't really explain how postfix could be sending it to that particular email address. Thanks for any light that can be shed on this matter!
|
|
|
|
04-16-2012, 05:17 AM
|
#2
|
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 131
Rep:
|
Have a look in the /etc/aliases
It should have a line like
support: postmaster
that tells postfix to redirect email sent to support (and many others) to postmaster.
|
|
|
|
04-16-2012, 07:31 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2012
Posts: 4
Original Poster
Rep: 
|
thanks for the reply.
I've already configured /etc/aliases. This is my config for aliases:
mailer-daemon: postmaster
postmaster: myemail@domain.com
root: myemail@domain.com
Did I do this incorrectly? Do these have to be system accounts, and if so, how can I have it so that alerts sent to postmaster are forwarded to my email? And this still doesn't explain how the emails are getting sent to support@domain.com when the default bounce should be sent to postmaster??
edit:
also, the rest of /etc/aliases hasn't been changed, so it's still support: postmaster
Last edited by sunglee; 04-16-2012 at 07:32 AM.
|
|
|
|
04-16-2012, 08:48 AM
|
#4
|
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 131
Rep:
|
Have you tried a
service postfix reload,
service postfix restart or a
full system restart
after modifying /etc/aliases ?
|
|
|
|
04-16-2012, 08:57 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2012
Posts: 4
Original Poster
Rep: 
|
I thought I did, as well as newaliases, but I'll run those commands again. In the meantime, I just want to confirm that you can in fact write out the email address for the postmaster: alias? Everything I see online shows the postmaster: alias set as a local system account, and then forwarding the emails? This kind of confused me, but is this doable?
|
|
|
|
04-16-2012, 10:08 AM
|
#6
|
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 131
Rep:
|
Normally, yes.
If you have a local user named bob
you can have a line similar to
postmaster: bob
in /etc/aliases
in order to have all the emails sent to postmaster to bob.
But I have never tried it.
Besides, normally you just need to launch
service postfix reload
Not all three actions.
|
|
|
|
04-17-2012, 02:00 PM
|
#7
|
|
LQ Newbie
Registered: Apr 2012
Posts: 4
Original Poster
Rep: 
|
That's what is confusing to me...how/why did the notification email get sent to support@ourdomain.com in the first place??? I sent an email that I knew would bounce, as a test, and I haven't received a notice yet. I sent it yesterday, the last one took about 3-4 days to come so it may take that long for this as well. I'm just confused by that email. I haven't received anything at all at my personal address, which is what I set the postmaster alias to be!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:55 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|