Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-24-2007, 07:08 AM
|
#1
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Rep:
|
AntiSPAM Mail setup
Hi ,
I have a mail server being hosted on external ISP.
I recieve a lot of spam.
Current setup
Mail Cleint (Outlook express, outlook , pine ,etc) directly authenticating to external POP Server using a username and password
Modified setup :
Mail Cleint (Outlook express, outlook , pine ,etc) authenticating to Local intranet SPAM application server which inturn checks mail at an interval and stores mail locally by logging into External POP Server
Please suggest me any server of this kind.
Thank you,
Mahen
|
|
|
|
01-24-2007, 07:10 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,829
|
you want fetchmail, delivering via spamassasin with procmail i expect. simple enough.
|
|
|
|
01-24-2007, 08:12 AM
|
#3
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Original Poster
Rep:
|
Thank you for the suggestion.. can you please give me some links to this configuration..?
Fetchmail while installing on RHEL4 (sorry for not reporting my distro and other computer specs) has a lot of dependencies..thats really frustrating for me like anything..(as a matter of fact , being a systems administrator I shud be happy if system gives a problem)..but this one is eating my time like anything.
Mahen.
|
|
|
|
01-24-2007, 11:41 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,829
|
i'm not aware of anythign myself, but i'm sure google will see you fine. start with just a basic fetchmail configuration, then look to introduce the other functionality.
|
|
|
|
01-24-2007, 01:52 PM
|
#5
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Original Poster
Rep:
|
I have configured my outlook express to get mail from the unix server on which fetchmail is running..
my .fetchmail.rc file
poll my.pop.server
protocol pop3
username my@user.account
password 'itsasecret'
smtphost local_smtp_server
mda "/usr/lib/cyrus-imapd/deliver -e -m $h -- $u"
#mda "/usr/bin/procmail -t -Y -a $h -d $u"
fetchmail commandline statement
fetchmail -k -a -f .fetchmail.rc
fetchmail activity
reading message username@server:1 of 55 (16848 octets) ................ not flushed
reading message username@server:2 of 55 (36333 octets) ................................... not flushed
reading message username@server:3 of 55 (16232 octets) ............... not flushed
reading message username@server:4 of 55 (2021 octets) . not flushed
reading message username@server:5 of 55 (4527 octets) .... not flushed
reading message username@server:6 of 55 (13763 octets) .........
after all the 55 mesages fetchmail quits..saying "you have a new mail in /var/spool/mail/account "
but my outlook express cannot get mails from the mail server.
the file shows a successfull increase in size
But two local accounts are able to exchange mails successfully to each other using outlook express.
Any work around?
Mahen
|
|
|
|
01-24-2007, 02:03 PM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,829
|
there is no "work around" you presumably simly do not have any server configured to connect outlook to the mail, via imap or pop3. one *REALLY* important point here is that once fetchmail has done it's thing and put the mail in the file, that's the end of it's job totally. if you then have another service, like courier-imap or dovecot allowing clients to obtain those mails, it has *nothing* to do with fetchmail whatsoever.
|
|
|
|
01-25-2007, 09:21 AM
|
#7
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Original Poster
Rep:
|
As you said fetchmail is downloading mails to a single file in $HOME folder..but I want this to be forwarded to a localuser..The localuser shuold be able to view this mails in outlook express..I hav tried alot..all yesterday night..but no sort of configuration is helping me out..
|
|
|
|
01-25-2007, 09:25 AM
|
#8
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
re-read previous post that stated you MUST install a POP or IMAP server so your clients can Retrieve the mail...
so what POP or IMAP server are you running ?
http://www.courier-mta.org/
http://www.dovecot.org/
other...
|
|
|
|
01-25-2007, 09:46 AM
|
#9
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Original Poster
Rep:
|
The box has RHEL 4 with Sendmail Running as MTA and a Cyrus POP/IMAP installed.
When outlook express clients are being configured with different users say user1 and user2 they are able to exchange mails..
But mails being downloaded by fetchmail are not reflecting in the Outlook express.
what could be the reason?
|
|
|
|
01-25-2007, 09:56 AM
|
#10
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
what POP/IMAP server are the clients pointed at ?
It makes no sense that if your clients are pointed at your local server and they can send mail to each other but can't receive mail from outside unless fetchmail is delivering external mail to the wrong location...
|
|
|
|
01-25-2007, 10:35 AM
|
#11
|
|
Registered User
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Original Poster
Rep:
|
Its working now :
Probably I was not clear in stating what I wanted to say :
My current setup :
Outlook express on Win2k box --> Remote Hosting server for fetching mail with lot of spam.
I wanted to modify this way :
Outlook express on Win2k box --> spam free local mail box on Local mail server --> fetches mail from logging to Remote Hosting server
Anyways I resolved the issue the configuration was a problem..
here is my configuration :
poll REMOTE_SERVER protocol POP3
user user@remotehost there with password "itsasecret"
is user@remotehost here
keep
smtpname user@localhost
I am not sure what is happening behind but mails which are destined to user@remotehost are being successfully deliverd to user@localhost's mail box and am able to download all of them successfully using outlook express on the win2k machine..
I was expecting only a configuration for the fetchmailrc file which can directly forward mail to local smtp ..inturn the smtp shall handowvr this to cyrus imap..
Thank you for your precious time,
Mahen
|
|
|
|
01-25-2007, 12:24 PM
|
#12
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,829
|
smtp does not "hand over" mail to an smtp, as i said above, once the mail hits a file, that's it from the incoming side, wether it's an smtp reciveing mail, or fetchmail pulling mail. once it's in a mbox file, or Maildir folder, that's it. end of. from there, the imap server reads from a file.
what i would expect is making things work now is that you followed our advice and installed / confgiured an imap / pop3 server.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|