Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th February 2009, 05:24
almeister9 almeister9 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Default RESOLVED: Postmaster problem with Ubuntu 8.04 Postfix Virtual Domains and users

Hi all,

I have recently (a couple of months ago) built a Postfix mail server on Ubuntu 8.04 using Falko's excellent howto.

Everything has been working fine so far. I have an email address called newsletter that I use to send newsletters, which receives bounce messages and replies, another email address called unsubscribe, which receives unsubscribe requests. I have also recently added an email address called postmaster. I am enrolling in microsofts JMRP Program to help my chances of being able to send to hotmail accounts and also their SNDS program.

I can log into the postmaster account using squirrelmail and the original Welcome message that I sent to it to create the directory is there. I can also send from it to any address I wish, inside or outside the domain.

I can receive emails sent from addresses within the domain but I cannot, however, receive from addresses outside the domain. I have tried from several different external addresses and nothing shows up.

When I initially ssh into my server and log into (username) the prompt often tels me "you have new mail". I type "mail to check it and delete it.

during the initial setup I did do this part of the howto
Code:
8 Modify /etc/aliases

Now we should open /etc/aliases. Make sure that postmaster points to root and root to your own username or your email address, e.g. like this:

vi /etc/aliases

[...]
postmaster: root
root: postmaster@yourdomain.tld
[...]

or like this (if administrator is your own username):

[...]
postmaster: root
root:   administrator
[...]

Whenever you modify /etc/aliases, you must run

newaliases

afterwards and restart Postfix:

/etc/init.d/postfix restart
mine intitially looked like this:

Code:
[...]
postmaster: root
root:  alan
[...]
I have tried to change it to this

Code:
[...]
postmaster: root
root: postmaster@myfqdn
[...]
but either way I still cannot receive emails into the postmaster account, or if I am, I dont know how to find them. I have been using squirrel mail, is there something that I need to know about the postmaster account?

thank you in advance to any who can spare the time.
Cheers
Al.

Last edited by almeister9; 19th February 2009 at 02:38. Reason: RESOLVED
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2009, 20:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

postmaster is a system user, that's why the virtual mailbox doesn't work. postmaster emails are sent to the root account (because of /etc/aliases).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th February 2009, 01:00
almeister9 almeister9 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Default Re root account

Thanks for your reply Falko,

If I log in as root
and type mail
I get
no mail for root

how do I read emails sent to postmaster?
Reply With Quote
  #4  
Old 19th February 2009, 02:36
almeister9 almeister9 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
 
Default RESOLVED. (my bad)

Thanks for your help Falko,

I discovered that I wasn't receiving emails in any of the accounts.
My modem/Router had dropped the port forwarding.
Re-did the port forwarding and everything is OK now.

D-Link DSL-G604T (wireless turned off)

I will keep an eye on it and if it happens again I will replace it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 superman HOWTO-Related Questions 3 23rd October 2008 09:19
Virtual Users And Domains With Postfix,.....Ubuntu 8.04 LTS) Again Morons HOWTO-Related Questions 1 8th August 2008 20:53
Virtual users... Ubuntu 8.04 - Problem after step 9 with Postfix jdrews HOWTO-Related Questions 6 5th July 2008 19:08
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04 paulodani HOWTO-Related Questions 7 4th June 2008 00:46


All times are GMT +2. The time now is 07:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.