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 12th January 2008, 15:48
c0mputernick c0mputernick is offline
Junior Member
 
Join Date: Jan 2008
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default fetchmail Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10)

Ive followed this setup perfectly and have a nice working mail server.
My question is that how can you add fetchmail to fetch users email gmail, yahoo etc and have them go to the correct box? if the users are virtual how would i tell fetchmail where to put the fetched mail? can fetchmail hand it off to one of the other programs (amavis for example) and have it delivered that way after its spam and virus checks? or possibly drop it off with postfix, then postfix will send if off to be scanned and then deliver the mail since it knows who and where the users are?
im just confused about how to accomplish that.

Thanks for any and all help.

Nick
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2008, 21:38
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 41 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

This should help You: http://www.howtoforge.com/forums/sho...40&postcount=2
Reply With Quote
  #3  
Old 15th January 2008, 15:44
c0mputernick c0mputernick is offline
Junior Member
 
Join Date: Jan 2008
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have added that file, changed the settings for my account i want to fetch, but it still doesnt do anything. it doesnt seem to work in a virtual env.
doesnt fetchmail look for config files in: $HOME/.fetchmailrc?
when i try run fetchmail (as root or user) i get :
fetchmail: no mailservers have been specified.

but they are clearly defined in the fetchmailrc file i put in the /etc dir.

any other ideas?

Thanks for the help.

EDIT:
Nevermind, i left the <>'s in there by mistake. seems to be fetching now...

Thanks for the help.

Last edited by c0mputernick; 15th January 2008 at 21:09.
Reply With Quote
  #4  
Old 31st January 2008, 15:14
niklas78 niklas78 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default What did you put as <username>?

What did you put as <username>?

I am about to test this setup, but did you set a UnixUser as username or a virtual e-mail "user" as username?

BR,

Niklas
Reply With Quote
  #5  
Old 31st January 2008, 15:28
c0mputernick c0mputernick is offline
Junior Member
 
Join Date: Jan 2008
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

I put the email address of the user you want the mail to be delivered to:
username@domain.com

In my case i was checking gmail accounts, so the "REMOTE_USER" portion has to be the full email address as well. but it depends on how you login to your remote server.

Quote:
Originally Posted by niklas78
What did you put as <username>?

I am about to test this setup, but did you set a UnixUser as username or a virtual e-mail "user" as username?

BR,

Niklas
Reply With Quote
The Following User Says Thank You to c0mputernick For This Useful Post:
niklas78 (31st January 2008)
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
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10) dsepulveda HOWTO-Related Questions 6 12th January 2008 15:51
Question about Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10 tricky2dope HOWTO-Related Questions 3 19th December 2007 21:09
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10) Merrigan HOWTO-Related Questions 9 7th December 2007 09:20
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft) dongthao HOWTO-Related Questions 1 11th September 2007 17:41
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11


All times are GMT +2. The time now is 19:10.


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