#1  
Old 17th August 2008, 20:38
XTCHost XTCHost is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email Set Up

I am looking to set up a basic email server, my object is:

1. Have pop3 collected from various pop3 servers
2. De-spam it
3. Store it in a folder
4. Access it using either pop3 or imap

All users will have an account on the server

I send all mail through web domain servers not direct from my computer. can you advise on which programs are best to do this. I have fetchmail installed but not sendmail. I would like the fetch mail set up as a service if possible so it is aoutomated

I have read many things on the web and articles but want a small easy to run service that cllects mail but cannot send mail outside

many thanks
Reply With Quote
Sponsored Links
  #2  
Old 18th August 2008, 13:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can use fetchmail or getmail to retrieve emails from remote server. I'd then install Postfix with amavisd, SpamAssassin, and ClamAV to filter emails, and Courier for POP3.
__________________
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 August 2008, 13:47
XTCHost XTCHost is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email Server setup

I have fetchmail set up and seems to work ok
#
fetchmail: 6.3.8 querying pop.mail.yahoo.co.uk (protocol POP3) at Tue 19 Aug 2008 12:21:20 PM BST: poll started
Trying to connect to 217.12.10.100/110...connected.
fetchmail: POP3< +OK hello from popgate 2.40 on pop002.mail.ukl.yahoo.com
fetchmail: POP3> CAPA
fetchmail: POP3< +OK CAPA list follows
fetchmail: POP3< EXPIRE NEVER
fetchmail: POP3< IMPLEMENTATION popgate 2.40
fetchmail: POP3< PIPELINING
fetchmail: POP3< RESP-CODES
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< USER
fetchmail: POP3< .
fetchmail: pop.mail.yahoo.co.uk: opportunistic upgrade to TLS failed, trying to continue.
fetchmail: POP3> USER user
fetchmail: POP3< +OK password required.
fetchmail: POP3> PASS *
fetchmail: POP3< +OK maildrop ready, 4 messages (72433 octets) (101287)
fetchmail: POP3> STAT
fetchmail: POP3< +OK 4 72433
fetchmail: POP3> LAST
fetchmail: POP3< +OK 4
4 messages (4 seen) for jard_bot at pop.mail.yahoo.co.uk (72433 octets).
skipping message user@pop1.mail.vip.ukl.yahoo.com:1 not flushed
skipping message user@pop1.mail.vip.ukl.yahoo.com:2 not flushed
skipping message user@pop1.mail.vip.ukl.yahoo.com:3 not flushed
skipping message user@pop1.mail.vip.ukl.yahoo.com:4 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK server signing off.
fetchmail: 6.3.8 querying pop.mail.yahoo.co.uk (protocol POP3) at Tue 19 Aug 2008 12:21:49 PM BST: poll completed
fetchmail: normal termination, status 1
#
My fetchmail settings are
#
set daemon 300
poll pop.mail.yahoo.co.uk with proto POP3
user 'user' there with password 'xxxxxx' is 'user' here
options keep
#

I have installed postfix and am not sure where the mail is going if it has arrived on my computer. I have not edited any of the /etc/postfix/main.cf settings

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.5.1/samples
readme_directory = /usr/share/doc/postfix-2.5.1/README_FILES
inet_protocols = all

I am not using a domain other than localhost.localdomain using a static ip address on my 192.x.x.x network ~ I will not be sending mail via the mail system but direct through yahoo

Many thanks for your help with this, I have read so much and tried many different ways but am just getting more confused
Reply With Quote
  #4  
Old 20th August 2008, 14:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

If you're using mbox format, then the mails should arrive in the /var/spool/mail directory; if you're using Maildir, then there should be a Maildir directory in the user's home directory.

You might want to combine your fetchmail setup with something similar to this: http://www.howtoforge.com/virtual-us...ail-ubuntu8.04
__________________
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
  #5  
Old 5th September 2008, 20:33
dobje dobje is offline
Junior Member
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I was looking for the same setup (with maybe own local smtp server if possible to send mail ) and virtual users.

So use fetchmail to get the different e-mail accounts and deliver the mail to different virtual users .

But how i can configure this ?

Ps i am using centos 5.2 (in a openvz container)

Last edited by dobje; 5th September 2008 at 20:53.
Reply With Quote
  #6  
Old 6th September 2008, 12:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

http://www.howtoforge.com/debian_etch_fetchmail
__________________
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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 10:38
Transaction error Perfect FC6 setup ACDII HOWTO-Related Questions 1 6th July 2007 14:56
Set Up Ubuntu-Server 6.10 As A Firewall/Gateway Email Problem steveomach3ww HOWTO-Related Questions 13 31st January 2007 20:34
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51


All times are GMT +2. The time now is 04:21.


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