This is a discussion on mail forward between ISPs within the Shell scripting forums, part of the Development/Scripting category; Hello, I'm on Ubuntu 6.06 and I also have a Debian 2.4 embedded Linux system. I need to configure a ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hello,
I'm on Ubuntu 6.06 and I also have a Debian 2.4 embedded Linux system. I need to configure a script or an application that takes my mail from one remote ISP account and send everything to another remote account. This is because my ISP block me when I try to download my mail from other providers. I know that fetchmail can help but I don't know how to configure It. Maybe I have to do a Pipe between fetchmail and smtpclient timely based with a cron job? I saw around people talking about fetchmail/getmail or procmail can help to do the job, but I don't understand well how. many thanks. Picio |
| Sponsored Links | ||
|
|
|
||||
|
Let us try to solve your problem step by step.
Fetch mail configuration is quite easy. Make sure you have Fetch mail package installed. Open .fetchmailrc config file: Code:
cd; touch .fetchmailrc chmod 600 .fetchmailrc vi .fetchmailrc Code:
poll POP3.ISP.COM with proto POP3 user POP3USERNAME there with password "POP3PASSWORD" is "LOCAL-USER-NAME" here To forward an email use .forward file: Code:
echo 'somewhere@yahoo.com' > .forward Code:
fetchmail
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Hello, thanks for the fast answer, I'm so late giving you feedback because I was traveling....
Anyway this is what I got in may fetchmail log: fetchmail: sleeping at Wed, 20 Sep 2006 13:55:42 +0200 (CEST) fetchmail: awakened at Wed, 20 Sep 2006 14:26:00 +0200 (CEST) fetchmail: 1 message for ejspino at in.xxxpopxxx.xx (244894 octet .fetchmail: reading message ejspino@in.xxxpopxxx.xx:1 of 1 (244894 octet fetchmail: SMTP connect to localhost failedfetchmail: SMTP transaction error while fetching from in.alice.it fetchmail: Query status=10 (SMTP) fetchmail: sleeping at Wed, 20 Sep 2006 14:26:04 +0200 (CEST) I forgot to tell you that this is an embedded linux, so I'm trying to have as less application as I can -> sendamil is not installed. Instead I have smtpclient: does this work too? What do you think? Thanks again Picioslug |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| why can't forward large email attachment? | khaosregion | Mail Servers | 4 | 10-26-2007 12:49 AM |
| FetchMail/GetMail/Procmail mail forward between providers | picioslug | Linux software | 0 | 09-19-2006 05:33 PM |
| How to forward an email to other account | tom | Getting started tutorials | 2 | 09-25-2005 09:58 PM |