Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: sefai on January 26, 2004, 04:07:17 PM
-
Hi,
We are receiving e-mails from our web hosting company using one pop3 box. Procmail configured to separate and forward mails. We also use internal POP3 mail server (with windows NT), which collects mails periodically, and distribute mails to users.
We would like to keep our mail hosting company but change our file server to ESmith. I would like to use webmail and IMAP features of ESmith and collect mails from one pop3 mail account periodically like: 1foo@bar.com, 2foo@bar.com, 3foo@bar.com and distribute them to internal users. 1foo@intdomain.com, 2foo@intdomain.com and 3foo@intdomain.com.
Can you please explain how can I configure ESmith to do this?
Thanks in advance,
Sefa
-
Hi Sefia,
I am using the multipop contrib from http://www.dungog.net and it collects email from 4 different pop3 boxes and distributes it to the relevent users. It is a paid for contrib, about $20.00US but worth every penny. Steve is very good to answer questions via email. I think you can get a free contrib by Vincent Filali, search this site for more info on that. Hope this helps.
Regards,
Del
-
No doubt about it the dungog.net scripts do the job great. However if your like me and just run a sever for personal use at home even $20 will is difficult to justify for just two - three family members. After setting up the first account in the email server-manager you will find the file /etc/fetchmail. It's fairly easy to figure out and duplicate the entries for more accounts. Of course you'll need to store a backup of your changed file in case a system update resets the file to the default. Then just a simple matter to copy it back. Or better yet put you changes in a custom template so they are inserted if the file is reset.
--
Doug M.
"Rigger"
-
Hi Sefia,
I am using the multipop contrib from http://www.dungog.net and it collects email from 4 different pop3 boxes and distributes it to the relevent users. Del
Were you able to get multi drop to work on 1 before genting the dungong.net contrib ?
I have not been able to get the SME multidrop to work at all - however I wonder if its the fact I have a router instead of 2nd network card?
Ken
-
I have not been able to get the SME multidrop to work at all
I use a multidrop service at the small company where I work quite successfully using SME server.
Some ISPs add a header to each e-mail message as it enters the POP mailbox to assist in determining the addressee. One common header tag is: "X-Delivered-To". If your ISP does this, make note of the header tag used so that you can configure your server to look for it (explained in a later section).
My ISP adds the "X-RCPT TO:" tag to the header with the recipient's email address. Check the header of an email you have received through the multidrop account, or check with your ISP.
On the e-mail retrieval section in server-manager,
choose "multidrop" and then scroll down to the field that asks for the IP address or hostname of your ISP's secondary mail server. This secondary mail server will receive all e-mail for your domain and store it in a single POP mailbox. Further down the screen, you will need to specify the user account and password assigned by your ISP for this POP mailbox. Your server will periodically fetch this mail and distribute it to individual POP mailboxes on the server.....
If your ISP does add a header to multidrop e-mail, then select "Specify below" and enter the header tag provided by your ISP.
I also have to use the ISP's SMTP server to deliver mail because some spam filtering software will reject emails from a non-routable address.
My SME server is set up using our domain name ***.**, and I use the hostnames and addresses panel in server-manager to set "remote" IP addresses for www.***.** and ftp.***.** because the web hosting is done by our ISP.
I had to set up some pseudonyms for my users, because we use the address format steve.b@***.** and SME does not allow usernames with a "." so I set up user "steve" and pseudonym "steve.b".
If you have an email address that you want more than 1 person to receive use the groups list and set a pseudonym for that group.
e.g. "technical@***.**" as a pseudonym for "tech" group with members "Andy, Keith & Steve"
I have multidrop email services for 4 domains all forwarded to the one multidrop POP3 box. My ISP configfured this initially, although I guess you could do it manually if your ISP has a forwarding service available for each multidrop POP3 box through a webmail or similar interface.
This allows me to have 1 email address (steve.b@***.**) for 4 domains. You may ask why bother, well the other 3 domain names were around 25 characters long, (set-up before my time with the company) and just think of the number of potential problems with using an email address as long as steve.b@abcdefghijklmnopqrstuvwxy.com
My ISP also redirects the other domains to one webspace.
I set these other 3 domains up as virtual domains on the SME server, and once again set up remote IPs for www. and ftp. in the hostnames and addresses panel.
Now when I get an email delivered to any of the domains, it gets delivered to the right user, however, you can't have seperate handling of the domains on the one server, for example steve.b@ any of the four domains will always get delivered to me.
If however you want to use the same prefix eg. "sales" and handle it seperately for each of the 4 domains, then set up 4 SME servers, or look for another solution.
Hope this helps.
Regards,
SteveB
-
I would like to use webmail and IMAP features of ESmith and collect mails from one pop3 mail account periodically like: 1foo@bar.com, 2foo@bar.com, 3foo@bar.com and distribute them to internal users. 1foo@intdomain.com, 2foo@intdomain.com and 3foo@intdomain.com.
See my last post, and set your SME server up as intdomain.com and add a virtual domain for bar.com. There would be no need to set up forwarding for "intdomain.com" if its just an internal domain, but to see the real "bar.com" from inside your network set up the remote IP in the hostnames and addresses panel in server-manager.
Set up user names (or pseudonyms) 1foo 2 foo 3 foo etc.
Regards
SteveB
-
Take a look at this site for an easy how2 for an easy way of installing fetchmail and set up a Server-manager panel for fetching mail from POP-accounts. I have tested it with good results.
http://sme.swerts-knudsen.dk/
See the fetchmail section
Regards Knut
-
Take a look at this site for an easy how2 for an easy way of installing fetchmail and set up a Server-manager panel for fetching mail from POP-accounts. I have tested it with good results.
http://sme.swerts-knudsen.dk/
See the fetchmail section
Regards Knut
I could not get multi-drop to work so right or wrong installed fetchmail 5.6 though I have 6.0 sme server.
I could not get this to download emails either. They sit on my ISPs server,
Using pop mail from outlook express messages can be downloaded but I was hoping to switch to IMAP.
I have now set mail to come directly (SMTP) so it doesn't go through my ISP email system but would like to be able to also receive from POP mail from one account. I assume it should all download automatically. Am I wrong, do I need to provide some header information before any of it will download?
Ken
-
Although my sme is configured as smtp server, I also have a few external pop3 boxes hanging around that need attention too.
The SME is either fetchmail OR smtp while I needed both.
As a quick (& dirty: watch the e-smith templates messing things up!) I setup a manual fetchmail in /etc/con.hourly as follows:
in (a new) file /etc/cron.hourly/fetch_all_mail put a line with:
/usr/bin/fetchmail --syslog -f /home/e-mith/fetchmail-conf
in a file: /home/e-smith/fetchmail-conf put following lines, adapted to your situation.
--------- start on line below ---------
set postmaster admin@mysme-domain.com
poll mypop.provider.nl proto pop3:
aka mysme-domain.com
user my-username with pass my-password to
webmaster=admin
postmaster=admin
user1=sme-user1
user2=sme-user2
etc-user=etc-sme-user
here
# fetch mail from my other domain
set postmaster my-sme-user3
poll 12.34.56.78 proto pop3:
aka my-othersmedomain.com
user otheruser1 with pass otheruser-password to
webmaster=root
user4=sme-user4
user5=sme-user4
here
# For more options seen man fetchmail
--------- end on line above ---------
-
Take a look at this site for an easy how2 for an easy way of installing fetchmail and set up a Server-manager panel for fetching mail from POP-accounts. I have tested it with good results.
http://sme.swerts-knudsen.dk/
See the fetchmail section
Regards Knut
I could not get multi-drop to work so right or wrong installed your fetchmail for sme 5.6 though I have 6.0 sme server.
As I could not get that to work either I then enabled SMTP and routed as much mail as I could direct.
What do you have as a config file - perhaps I can use cron to point to that on an hourly basis?
If not I will do as (psc) suggests and set a simple download as per manpages called from cron in a file with the following
poll ISPPopserver proto pop3 user myusername pass password
Ken
Ken