Thanks, Tom.. That exactly was my case. Now i can use Kmail correctly :-) Tom Emerson <osnut@pacbell.net> : On Monday 13 January 2003 1:39 am, oeren@ykb.com wrote:
Hi,
This is an easy question, i think.
Easy question (to ask) yes; easy to answer? possibly... [but a detailed answer is not the thing to be doing at 2:00 am... ;) ] When i do some permission settings on
the console as user oguz, i receive a msg that says : "you've new mail in /var/spool/mail/oguz.
/var/spool/mail/<user> contains messages that are generated/received "locally" on your workstation [remember this point for later in the discussion] "oguz" is a single text file holding all messages
inside, as i see it. It's hard to read the msg's from here.
"/var/spool/mail/<username>" is a standard unix "inbox", and as you noted, "one large monolithic file of ASCII messages" ;) [now who was it said .pst's were evil? oh, wait, .pst's are "one large monolithic BINARY file of messages"] you generally do NOT use an editor to read this file [unless you're psychotic enough to use emacs...] but rather any one of a number of e-mail "clients". These clients look for the beginning and ending of messages and present them in a more orderly fashion than "one huge file"
I want to use kmail. But when i launch it; i see no msg's.
Remember I said earlier that /var... contains LOCAL messages? Most likely, kmail is probably configured to retrieve messages /from your ISP/, not from your local machine [unless you're using fetchmail, which as I said, is not the thing to be talking about at 2:00 am...] HOWEVER kmail can ALSO collect messages "from the local machine" go into the "settings" menu, "configure kmail" menu item select the "network" tab on the left side select the "receiving" tab on the right panel press the "add" button select "local mailbox" from the choices that are presented fill in the rest of the form items as appropriate [you may want to build a "top level" folder for this inbox to differentiate messages from your own machine, which will be things like the result of running CRON, and things from lists like this one] do a mail "scan" to retrieve the messages "from the spool" and "to your (new) inbox" -- note that this should "empty" the /var/spool/mail... file
Hi, Newbie on fetchmail config.. I just installed fetchmail on my Suse 8.1, now I am a bit puzzled on how to get the mail distributed to different mail boxes. I do not have a dedicated line so I have to dialup everytime I need to send or receive email(configured on the Linux box) My config is like this. xyz.com : website where all emails to everyone in our company are delivered (and also spam) since we receive everyemai@xyz.com. Now what I want to do is use fetchmail to retrieve emails from this site (pop it) and distribute it locally to our internal mail server (sendmail - on a different box , which is again a suse 8.1) on our lan, to each and every individual to whom the mail is addressed. all the mails for which we do not have a user id on the internal sendmail system should be trashed, or be bounced back to the originator. The end effect should be like: Say I get mail for abc@xyz.com it should be popped form xyz.com and delivered to our internal sendmail server which resides on our inner network, and delivers it to my internal mail user at abc@internal.xyz.com When the users want to send email they send it to the local sendmail system using SMTP and this sendmail server then relays it to the outer SMTP server from our provider with email addresses as abc@xyz.com. Now I agree this is a fairly complicated issue, but I hope there would be someone who would have got this configured and up and running on Suse. I know of professional products which do this but cannot afford to get them at my SOHO. Vishal
On 01/14/2003 04:34 PM, Vishal Khanna wrote:
I just installed fetchmail on my Suse 8.1, now I am a bit puzzled on how to get the mail distributed to different mail boxes. I do not have a dedicated line so I have to dialup everytime I need to send or receive email(configured on the Linux box)
To get you started, use fetchmailconf, a very nice (and helpful) gui configurator for fetchmail. It has excellent help. Remember, fetchmail just gets incoming mail, it has nothing to do with outgoing, that is a sendmail config issue. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
thanks for the tip.. but I do not run X on the gateway... :-(.. so fetchmailconf would not start.. Joe Morris (NTM) wrote:
On 01/14/2003 04:34 PM, Vishal Khanna wrote:
I just installed fetchmail on my Suse 8.1, now I am a bit puzzled on how to get the mail distributed to different mail boxes. I do not have a dedicated line so I have to dialup everytime I need to send or receive email(configured on the Linux box)
To get you started, use fetchmailconf, a very nice (and helpful) gui configurator for fetchmail. It has excellent help. Remember, fetchmail just gets incoming mail, it has nothing to do with outgoing, that is a sendmail config issue.
--
thanks for the tip.. but I do not run X on the gateway... I use the following in my .fetchmailrc file to get my mail from Demon. This is for a "multidrop" mailbox, where all mail for a domain goes into one mailbox at my ISP, and it is collected by fetchmail and delivered from user@mydomain, to user@localhost You need to change: POLLINTERVAL to a number of seconds between polls [300 = 5 mins] POSTMASTER to the local user who is postmaster
On Tuesday 14 January 2003 12:51 pm, Vishal Khanna wrote: pop3.xyz.com to the mailserver DOMAINNAME to xyz.com [the domain name] USERATISP is the username for collecting mail at your ISP PASSWORD guess what goes here ;o) If you put this into .fetchmailrc and launch fetchmail with: fetchmail -k then it should [check the man page] not delete emails off the server which is useful for testing purposes :o) This may or may not work for you. It works for me :o) set daemon POLLINTERVAL set postmaster POSTMASTER set logfile /var/log/fetchmail set bouncemail poll pop3.xyz.com localdomains DOMAINNAME: protocol POP3 envelope "*" username "USERATISP" there with password "PASSWORD" to * fetchall Take care, Jon
On Tue, 14 Jan 2003, Vishal Khanna wrote:
thanks for the tip.. but I do not run X on the gateway... :-(..
Just install fetchmail and fetchmail conf on another box. Run the configuration there, but don't actually run fetchmail. Copy the .fetchmailrc file over to the gateway then delete it or rename it on the other box. Preston
participants (5)
-
Joe Morris (NTM)
-
oeren@ykb.com
-
Preston Crawford
-
The Purple Tiger
-
Vishal Khanna