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
  #11  
Old 11th June 2007, 15:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by tommytomato
Cool, I dont have to start work till later

So I gave it ago, but I think some thing is wrong

/etc/postfix/local-host-names I dont seem to have that file

or this file /etc/postfix/virtusertable
You must create both files, as shown in http://www.howtoforge.com/forums/showthread.php?t=2 .
In /etc/postfix/local-host-names, you must list your domains, and in /etc/postfix/virtusertable, you fill in the email addresses for which the server should be able to receive emails.
__________________
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
Sponsored Links
  #12  
Old 11th June 2007, 15:15
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Lucky I allmost gave up for the night and gone to watch Red Warf

I created those two files and added the stuff needed.

Should I run though that again.

Question I already added the user in would it matter by adding it again

Quote:
useradd -d /home/sample_user -g users sample_user
passwd sample_user
TT
Reply With Quote
  #13  
Old 11th June 2007, 15:26
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well anyway I'm trying it again

I ran the command

Code:
postmap /etc/postfix/virtusertable
And I get this message

Code:
postmap: fatal: open /etc/postfix/virtusertable: No such file or directory
Now the file is there with 0644 as the permissons

TT
Reply With Quote
  #14  
Old 11th June 2007, 15:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you create /etc/postfix/virtusertable (e.g. with a text editor such as vi)?
What's the output of
Code:
ls -la /etc/postfix
?
__________________
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
  #15  
Old 12th June 2007, 02:23
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I created the file using Winscp3

Code:
root@rockinghamgateway:~# ls -la /etc/postfix
total 92
drwxr-xr-x  4 root root  4096 2007-06-11 20:20 .
drwxr-xr-x 69 root root  4096 2007-06-12 07:17 ..
-rw-r--r--  1 root root   318 2007-06-10 14:49 dynamicmaps.cf
-rw-r--r--  1 root root    53 2007-06-11 20:09 local-host-names
-rw-r--r--  1 root root  1752 2007-06-11 20:20 main.cf
-rw-r--r--  1 root root  4011 2007-06-10 14:49 master.cf
-rw-r--r--  1 root root 17562 2006-06-08 16:22 postfix-files
-rwxr-xr-x  1 root root  6836 2006-06-08 16:22 postfix-script
-rwxr-xr-x  1 root root 22018 2006-06-08 16:22 post-install
-rw-------  1 root root  1024 2007-06-10 15:03 prng_exch
drwxr-xr-x  2 root root  4096 2007-06-10 14:52 sasl
drwxr-xr-x  2 root root  4096 2007-06-10 14:57 ssl
-rw-r--r--  1 root root    80 2007-06-11 20:10 virtusertable
TT
Reply With Quote
  #16  
Old 12th June 2007, 13:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I hope you saved virtusertable with Unix linebreaks, not Windows linebreaks? If you edit the file on Windows, you must use an editor that allows you to save files with Unix linebreaks.
Does the postmap command work now?
__________________
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
  #17  
Old 12th June 2007, 13:41
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Cool

So you saying I should create the file using vi instead of a windows base program.

I'll give it another go

TT
Reply With Quote
  #18  
Old 12th June 2007, 13:55
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes the command
Code:
postmap /etc/postfix/virtusertable
vi wouldn't let me save the file, but vim did

So where do i go now

TT

Last edited by tommytomato; 12th June 2007 at 13:59.
Reply With Quote
  #19  
Old 12th June 2007, 14:19
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok here is what i've done

I sent an email to the admin account on the server, it has recive the mail by the looks of it
I now have a /home/admin/Maildir

When using Evolution to contect I recive this message

Quote:
Error while Fetching Mail.

Could not connect to rockinghamgateway.com: No route to host
Now when i followed the 2nd step you pointed me too I added a user called tommytomato, I sent an email to the so call address and that bonced back, Evolution mail gives me this message on the bottom

From: Mail Delivery System <MAILER-DAEMON@rockinghamgateway.com>

Quote:
This is the Postfix program at host rockinghamgateway.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<tommytomato@rockinghamgateway.com>: maildir delivery failed: create
/home/tommytomato/Maildir/tmp/1181645801.P4172.rockinghamgateway:
Permission denied
So I'm not sure on whats going on there, but I think its the way the user was added, admin was added when I did the install and the tommytomato was added when I typed in

Code:
useradd -d /home/tommytomato -g users tommytomato
TT
Reply With Quote
  #20  
Old 13th June 2007, 02:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

What's the output of
Code:
ls -la /home/tommytomato
?

I can ping rockinghamgateway.com. Is 58.7.0.171 the correct IP address?
__________________
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
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
Problem with VMWare Image for "The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft)" hatsix HOWTO-Related Questions 8 5th March 2007 22:05
The Perfect Setup - Ubuntu 6.06 LTS Server and SPAM Virus Filtering WaveQam HOWTO-Related Questions 5 19th January 2007 23:18
Perfect Install - Ubuntu 6.06 Dapper Questions Anim HOWTO-Related Questions 123 1st October 2006 14:02
Error when following How To Install VMware Server On Ubuntu 6.06 LTS (Dapper Drake) - somas1 HOWTO-Related Questions 7 20th August 2006 15:07
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16


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


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