LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-17-2008, 06:03 AM   #1
Proxx
LQ Newbie
 
Registered: Sep 2007
Location: Holland
Posts: 20

Rep: Reputation: 0
Arrow Fetchmail Multi-drop


i have a problem receiving mails with fetchmail (milti-drop)
there are 100 local mail boxes on my system
and every mail goes to administrator@localhost. is there a possibility to change the @localhost to @my.domain ?
and that every mail would go to the TO: address instead of admin..@localhost

i have tryed to use:
fetchmail -m -e -Q my.domain -f '/home/marco/.fetchmailrc'

but if i do so the fetchmail log tells me:
sh: -c requires an argument


Code:
fetchmail: 6.3.8 querying spa**op.***.nl (protocol POP3) at do 17 jan 2008 12:48:08 CET: poll started
Trying to connect to 194.***.**.**/666...connected.
fetchmail: POP3< +OK xs-pop3d (1.61 16-Apr-2007) at mailpop1*.***.nl starting
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Kappa 10-4
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< LAST
fetchmail: POP3< RESP-CODES
fetchmail: POP3< .
fetchmail: spampop.***.nl: opportunistic upgrade to TLS failed, trying to continue.
fetchmail: POP3> USER *****
fetchmail: POP3< +OK Password required for ***.
fetchmail: POP3> PASS *
fetchmail: POP3< +OK 1427 messages for ***.de**n.nl
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1427 5124880
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
1427 messages for ***** at sp***op.***.nl (5124880 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1977
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message ***@***.nl:1 of 1427 (1977 octets)
sh: -c requires an argument
fetchmail: writing RFC822 msgblk.headers
fetchmail: POP3> QUIT
fetchmail: POP3< This is a multi-part message in MIME format.
fetchmail: MDA error while fetching from ***@sp**op.***.nl
fetchmail: 6.3.8 querying sp***op.***.nl (protocol POP3) at do 17 jan 2008 12:48:09 CET: poll completed
fetchmail: Query status=6 (IOERR)
fetchmail: normal termination, status

Last edited by Proxx; 01-17-2008 at 06:04 AM.
 
Old 01-17-2008, 07:50 AM   #2
Proxx
LQ Newbie
 
Registered: Sep 2007
Location: Holland
Posts: 20

Original Poster
Rep: Reputation: 0
i was to quick.. i found the awnser on the forum...

Code:
Trying to connect to 127.0.0.1/25...connected.
fetchmail: SMTP< 220 ****.com ESMTP Postfix (Ubuntu)
fetchmail: SMTP> HELO LiSe.***
fetchmail: SMTP< 250 ***ab.com
fetchmail: SMTP> MAIL FROM:<>
fetchmail: SMTP< 250 2.1.0 Ok
fetchmail: SMTP> RCPT TO:<administrator>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
fetchmail: SMTP: (bounce-message body)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 Ok: queued as D2475258280
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: SMTP> RCPT TO:<administrator@localhost>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: no address matches; forwarding to administrator.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
im at work so it has to be quick...

if somebody is interested reply on this than i will post the solution later this day!
 
Old 03-30-2009, 05:26 AM   #3
controloye
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
fetchmail multidrop

hi dear,

I am looking for same solution. would you please tell me the code to fix this problem.

AFC.

Quote:
Originally Posted by Proxx View Post
i was to quick.. i found the awnser on the forum...

Code:
Trying to connect to 127.0.0.1/25...connected.
fetchmail: SMTP< 220 ****.com ESMTP Postfix (Ubuntu)
fetchmail: SMTP> HELO LiSe.***
fetchmail: SMTP< 250 ***ab.com
fetchmail: SMTP> MAIL FROM:<>
fetchmail: SMTP< 250 2.1.0 Ok
fetchmail: SMTP> RCPT TO:<administrator>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
fetchmail: SMTP: (bounce-message body)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 Ok: queued as D2475258280
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: SMTP> RCPT TO:<administrator@localhost>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: no address matches; forwarding to administrator.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
im at work so it has to be quick...

if somebody is interested reply on this than i will post the solution later this day!
 
  


Reply

Tags
fetchmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux powers multi-protocol, multi-frequency wireless switch LXer Syndicated Linux News 0 11-03-2006 09:54 AM
LXer: Linux powers multi-protocol, multi-frequency WAP LXer Syndicated Linux News 0 11-03-2006 09:33 AM
problems about multi-threading and/or multi-processing with tcp network in java ... alred Programming 5 06-23-2006 03:21 PM
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration