Re: Fetchmail + Qmail

2001-07-04 Thread Charles Cazabon

Leonardo Quirini <[EMAIL PROTECTED]> wrote:

> i have a problem: i want fetchmail to deliver my mail from a pop server to
> my computer. Obiovously i have installe Qmail here and my mail format is
> Maildir. I've read in an HOWTO to add this line  to my .fetchmailrc:
> 
> mda '/usr/bin/env - /usr/local/bin/maildir ~/Maildir'
> 
> but i haven't the file /usr/local/bin/maildir (i don't have a file called
> maildir in my HD) and fetchmail notify that to me in this manner:

That MDA line is bogus -- there is no MDA called "maildir" that I'm aware of.
Read the HOWTO again more carefully.  Sorry I can't be more specific.  Or you
could switch to getmail -- see link in my .sig.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Fetchmail + Qmail

2001-07-04 Thread Leonardo Quirini

Hi,
i have a problem: i want fetchmail to deliver my mail from a pop server to
my computer. Obiovously i have installe Qmail here and my mail format is
Maildir. I've read in an HOWTO to add this line  to my .fetchmailrc:

mda '/usr/bin/env - /usr/local/bin/maildir ~/Maildir'

but i haven't the file /usr/local/bin/maildir (i don't have a file called
maildir in my HD) and fetchmail notify that to me in this manner:

[...]
/usr/bin/env: /usr/local/bin/maildir: No such file or directory
#*fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: socket error while fetching from 
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2
fetchmail: terminated with signal 13

Thanks in advance! 
Leonardo





Re: [OT] popclient/fetchmail replacement

2001-06-26 Thread Laurent G. Bercot

[ using qmail-local as a standard MDA, for use with POP3 clients
for instance ]

 All right, here you are :
 http://www.skarnet.org/software/qmail-local-mda/

 And PLEASE, have your MUAs honor the Mail-Followup-To field.

-- 
 Ska



Re: [OT] popclient/fetchmail replacement

2001-06-26 Thread Laurent G. Bercot

>> I know i recall seeing it somewhere but for some reason can't place it.
>> Anyone know where there is a fetchmail replacement that does Maildir rather
>> than mbox?
> getmail -- http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/

 getmail is a really nice tool, but why reinvent the wheel ?
 Mail delivery, be it mbox, Maildir, or whatever, is not a POP3 client's
job. It's the job of an MDA.

 There are 2 possible ways to handle a mail retrieved by a POP3 client.
 - If you don't know where the mail should go : then pass it to an MTA,
for instance with SMTP. The MTA will then decide what to do.
 That's what fetchmail does.
 - If you do know that the mail is local : then pass it to an MDA. The
MDA will the perform the delivery for you, with all its hassles.
 That's what fetchmail --mda does.
 In any case, performing Maildir delivery, or whatever, is reimplementing
part of an MDA : why bother ?

 I have written a simple wrapper around qmail-local, so that it can be
called directly (not part of a whole qmail installation), as an MDA,
by other programs. That's how I deliver my fetchmail-retrieved mails :
it gives me Maildirs, aliases, .qmail processing, the whole business.
I can publish the script if you're interested.
( btw I'm not on the qmail list... so... )

-- 
 Ska



Re: fetchmail + badmailfrom

2001-06-11 Thread Charles Cazabon

Tom Beer <[EMAIL PROTECTED]> wrote:
> 
> I surfed the archives, but there were only problems no solution. I fetch
> mail with fetchmail (;-) and want to block some addresses and domains. But
> fetchmail interrupts after getting the first blocked mail and won't receive
> any further ones. As far as I can see it is qmail and not fetchmail related.

Bogus analysis.  You've got fetchmail configured to deliver mail by connecting
to port 25 and delivering via SMTP.  When qmail-smtpd refuses a message,
fetchmail deduces that this method of delivery doesn't work, and refuses to go
on.

If you insist on having fetchmail deliver via SMTP, you _have_ to have
qmail-smtpd accept every message fetchmail retrieves.  If you want to filter
out messages, do it later in the process (via .qmail files or procmail, etc).

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



fetchmail + badmailfrom

2001-06-11 Thread Tom Beer

Hi,

I surfed the archives, but there were only
problems no solution. I fetch mail with
fetchmail (;-) and want to block some addresses 
and domains. But fetchmail interrupts after getting
the first blocked mail and won't receive any
further ones. As far as I can see it is qmail
and not fetchmail related. Any hints?

Thanks Tom

 




Re: Using fetchmail with qmail

2001-05-20 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Mark Delany wrote:

>   "The  `forcecr' option controls whether lines terminated by
>   LF only are  given  CRLF  termination  before  forwarding.
>
>FWIW. This problem cannot occur if the pop server is qmail-pop3d. I've
>used fetchmail on a variety of non-qmail pop servers and have never
>needed forcecr. I hasten to add that that doesn't mean that Mikko is
>wrong, just that the you probably don't need this option excepting
>when you fetch from dodgy pop servers!

I feel foolish. I admit to having been caught off guard by this one.
When I switched to qmail on my workstation, I began pulling mail via
fetchmail just fine using my existing configuration, and have thought
no more of it.  However, I do note a lot of bounces in the logs for
various and sundry reasons, of which I also think little because of
the volumes of mailing list traffic I receive.

Please forgive my ignorance, but will the need for forcecr vary
depending on the sending MUA, or upon the POP server from which I'm
retrieving (which in this case is the UW POP3)?  (In other words, have
I been selectively bouncing mail because of this?)

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOwhiZr1ZYOtSwT+tAQGTzgf/SB3mE+w4S/FXsFerYi5Yigsx3F+DuvSn
wZXYc1Lfpt+L98ORTGamB3d+9EsYga0hdHYhNPMRH3L5ib4yuKLE9F2Ezd1/+50Z
5QWMq11s9oKNNrPfiu61Zm5/AWYPE6I3eOhwZ6na4/5dJ1oR8cp441rUfOIOAMh3
fL5NmW5AQUHXlN8mFvVdrOaeb2efQQGzMDUYUQ/IhAnhbxnYG9A1JUlvAck9tdDf
jA5ySDyGqiARXOykR5NZLuq/b8xPZ4Bxz7IjVd5q/8znROjVhd60ukbXZH8kMbnS
4V347KwkJ2QBsnxQd3X1z03gkH7a2//htwh4XI0MpmJte64eoCJiVw==
=WS98
-END PGP SIGNATURE-





Re: Still want to use fetchmail with qmail

2001-05-20 Thread Mark Delany

On Sun, May 20, 2001 at 06:26:36PM -0300, Alexandre Gonçalves Jacarandá wrote:
> Hi again!!!
> I follow some tips, but I can get fetchmail working with qmail. But now 
> I will give more details...
> I installed qmail following Life with qmail and it's working.
> I configured Mailbox delivery in my system and I've ISP that use 
> sendmail and when I tried to fetch mail mails this error occurs:
> client/server synchronization error.
> My fetchmailrc is:
> 
> # Configuration created Sun May 20 18:04:12 2001 by fetchmailconf
> set postmaster "alex"
> set bouncemail
> set properties ""
> poll pop3.superonda.com.br with proto POP3
>   user 'clark_vr' there with password 'xx' is alex here options 
> forcecr dropdelivered warnings 3600
>antispam 571 550 501 554
> Thanks, Alexandre Gonçalves Jacarandá

This is no doubt a fetcmail <-> popserver issue and has nothing to do
with qmail, but try running fetchmail with the option that gives
debugging output. The fetchmail manpage tells you which option.


Regards.



Re: Using fetchmail with qmail

2001-05-20 Thread Mark Delany

On Mon, May 21, 2001 at 12:20:36AM +0300, Mikko Hänninen wrote:
> David Talkington <[EMAIL PROTECTED]> wrote on Sun, 20 May 2001:
> > There's really nothing special about such a configuration; fetchmail
> > just delivers mail to whoever is listening on 25.  As long as qmail
> > will accept deliveries for localhost, it works great.  I do this on my
> > laptop.
> 
> There is one gotcha, you have to enable the "forcecr" option in your
> .fetchmail configuration, if you're using delivery via localhost port
> 25.  This is documented as a "qmail quirk" (or something) in the
> fetchmail documentation, but it *is* documented at least...  Without
> this setting, qmail will reject the emails due to the CR/LF line ending
> issue.

Hmm. The fetchmail man page seems to say it quite well:

   "The  `forcecr' option controls whether lines terminated by
   LF only are  given  CRLF  termination  before  forwarding.
   Strictly  speaking  RFC821  requires  this,  but  few MTAs
   enforce the requirement it so this option is normally  off
   (only  one  such MTA, qmail, is in significant use at time
   of writing)."

FWIW. This problem cannot occur if the pop server is qmail-pop3d. I've
used fetchmail on a variety of non-qmail pop servers and have never
needed forcecr. I hasten to add that that doesn't mean that Mikko is
wrong, just that the you probably don't need this option excepting
when you fetch from dodgy pop servers!

On a related note, it seems that fetcmail has made some effort to
support qmail in a variety of ways, including the -Q option which is
specifically designed to extract envelope addresses from Delivered-To:
addresses created via virtualdomains (See the fetchmail -Q option).


Regards.



Still want to use fetchmail with qmail

2001-05-20 Thread Alexandre Gonçalves Jacarandá

Hi again!!!
I follow some tips, but I can get fetchmail working with qmail. But now 
I will give more details...
I installed qmail following Life with qmail and it's working.
I configured Mailbox delivery in my system and I've ISP that use 
sendmail and when I tried to fetch mail mails this error occurs:
client/server synchronization error.
My fetchmailrc is:

# Configuration created Sun May 20 18:04:12 2001 by fetchmailconf
set postmaster "alex"
set bouncemail
set properties ""
poll pop3.superonda.com.br with proto POP3
  user 'clark_vr' there with password 'xx' is alex here options 
forcecr dropdelivered warnings 3600
   antispam 571 550 501 554
Thanks, Alexandre Gonçalves Jacarandá





Re: Using fetchmail with qmail

2001-05-20 Thread Mikko Hänninen

David Talkington <[EMAIL PROTECTED]> wrote on Sun, 20 May 2001:
> There's really nothing special about such a configuration; fetchmail
> just delivers mail to whoever is listening on 25.  As long as qmail
> will accept deliveries for localhost, it works great.  I do this on my
> laptop.

There is one gotcha, you have to enable the "forcecr" option in your
.fetchmail configuration, if you're using delivery via localhost port
25.  This is documented as a "qmail quirk" (or something) in the
fetchmail documentation, but it *is* documented at least...  Without
this setting, qmail will reject the emails due to the CR/LF line ending
issue.

At least, it used to be this way.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] // http://www.wizzu.com/
// The Corrs list maintainer  //  net.freak//  DALnet IRC operator/
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs/
Happiness is always just a remembrance away.



Re: Using fetchmail with qmail

2001-05-20 Thread Alexandre Gonçalves Jacarandá

Thanks for help.

Alexandre Gonçalves Jacarandá





Re: Using fetchmail with qmail

2001-05-20 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Alexandre Goncalves Jacaranda wrote:

>Hi everybody, How can I use fetchmail program with qmail ?

There's really nothing special about such a configuration; fetchmail
just delivers mail to whoever is listening on 25.  As long as qmail
will accept deliveries for localhost, it works great.  I do this on my
laptop.

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOwgGpL1ZYOtSwT+tAQFxCQgAvTjzNv7POYjlmsUa8f+fM96LyZB4qGRs
aF41rW6RgLtOMAn/Hac398IoVrEkVj7pa593RUDRHO+AL54EOTqXHI7CzqJlShHT
40pKhfKQYdyQP8GEGSAETeFPvcRW9iAJ7Dt0g/vWub/xDBBKp6J1b8Hpeqh8wxZk
2mRrq+ZnbHk8yMRnMoKtvKADokUt9Y2ZgKEjXZToRXwnrKIfuNM8Dkx1zK1BcQgs
CwLZ9KubWEIGwVRv57IfYoCB6QHH37Sf9wLPQrylDeobxpxiQaSiyId+qwAPi8ZD
mcfdtoF9rvY4Emagce60hAXg+2O40csj1qpHifl/Mr0TEW2g2ai5nQ==
=4QiG
-END PGP SIGNATURE-





Re: Using fetchmail with qmail

2001-05-20 Thread Clemens Hermann

Am 20.05.2001 um 12:31:16 schrieb Alexandre Goncalves Jacaranda:
> Hi everybody, How can I use fetchmail program with qmail ?

To fetch mail from a qmail server via pop3/imap fetchmail works right
out of the box.
To fetch mail and deliver it local into maildirs getmail might be the
right approach.

/ch



Re: Using fetchmail with qmail

2001-05-20 Thread Robin S. Socha

* Alexandre Goncalves Jacaranda <[EMAIL PROTECTED]> writes:
> How can I use fetchmail program with qmail ? 

http://www.linuxdoc.org/HOWTO/mini/Qmail+MH-5.html
found within < 10s at
http://www.google.de/search?q=fetchmail+qmail+howto&hl=de&safe=off
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).
`In Germany, they are not referred to as network administrators. They
prefer to be called "Sons Of The Third Reich".' (Kate: www.katewerk.com)



Using fetchmail with qmail

2001-05-20 Thread Alexandre Goncalves Jacaranda

Hi everybody, How can I use fetchmail program with qmail ?

Thanks, Alexandre Gonçalves Jacarandá

---
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com





Re: Can qmail fetchmail

2001-04-11 Thread Henning Brauer

On Wed, Apr 11, 2001 at 04:54:49PM +0530, Rizwan wrote:
> 
> Please help
> 
> Thanks in advance

fetchmail can fecthmail, therefore the name. getmail can fetch (get) mail,
therefore the name. qmail is an mta ancannot fetch mail itself of course.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Can qmail fetchmail

2001-04-11 Thread Rizwan


Thanks a lot for that one word. I'll start configuring fetchmail for qmail.
Thanks a lot.

BTW can u point to any doc that shows host to do it.

Rizwan

On Wed, 11 Apr 2001, you wrote:
> no
> - Original Message - 
> From: "Rizwan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 11, 2001 1:24 PM
> Subject: Can qmail fetchmail
> 
> 
> > 
> > Please help
> > 
> > Thanks in advance
> > 
> >
-- 
In the name of Allah, Most Gracious, Most Merciful 
--  
 Praise be to Allah, the Cherisher and Sustainer of the world; 
   Most Gracious, Most Merciful; 
   Master of the Day of Judgment. 
Thee do we worship, and Thine aid we seek. 
 Show us the straight way, 
   The way of those on whom Thou hast bestowed Thy Grace, 
 those whose (portion) is not wrath, and who go not astray. 
Qur'aan Ch:1




Can qmail fetchmail

2001-04-11 Thread Rizwan


Please help

Thanks in advance




Re: Qmail-Fetchmail: delivered-to

2001-03-04 Thread Charles Cazabon

Martin Schüler <[EMAIL PROTECTED]> wrote:
> 
> qmail-inject does not know to whom to send the mail if it can not extract
> the recipient from the header.

Read the manual page for qmail-inject.  The -a option will let you specify
exactly which recipients to send the message to, regardless of the
headers.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Qmail-Fetchmail: delivered-to

2001-03-04 Thread Martin Schüler


>> [...] new msg 232614
>> [...] info msg 232614: bytes 956 from <[EMAIL PROTECTED]> qp 1873 uid 0
>> [...] end msg 232614
>>
>>
>> Postmaster gets no mail first time. Well, no one gets them. This is new.
>> qmail-inject now eats them.

> Yes, fetchmail can lose your mail if everything is not configured
> perfectly.  Might I suggest my own "getmail", which will not?  See my
> .sig for a link.  It doesn't do delivery by SMTP injection, which is a
> broken design.

I already had checked getmail. But it was not suitable, since I need QMail's
mail delivery.

In the meantime I know why the mails were "eaten". I forgot about using
mails having only "From:" and "Date:" fields, to avoid broken "To:"
behaviour.

qmail-inject does not know to whom to send the mail if it can not extract
the recipient from the header.


Martin




Re: Qmail-Fetchmail: delivered-to

2001-03-03 Thread Charles Cazabon

Martin Schüler <[EMAIL PROTECTED]> wrote:
> 
> Checking the environment show that the behaviour changed (in a good way).
> 
> /var/log/mail shows now:
> 
> [...] new msg 232614
> [...] info msg 232614: bytes 952 from <[EMAIL PROTECTED]> qp 1869 uid 0
> [...] end msg 232614
> [...] new msg 232614
> [...] info msg 232614: bytes 948 from <[EMAIL PROTECTED]> qp 1871 uid 0
> [...] end msg 232614
> [...] new msg 232614
> [...] info msg 232614: bytes 956 from <[EMAIL PROTECTED]> qp 1873 uid 0
> [...] end msg 232614
> 
> 
> Postmaster gets no mail first time. Well, no one gets them. This is new.
> qmail-inject now eats them.

Yes, fetchmail can lose your mail if everything is not configured
perfectly.  Might I suggest my own "getmail", which will not?  See my
.sig for a link.  It doesn't do delivery by SMTP injection, which is a
broken design.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: Qmail-Fetchmail: delivered-to

2001-03-03 Thread Martin Schüler

Hi Alexander,

Checking the environment show that the behaviour changed (in a good way).

/var/log/mail shows now:

[...] new msg 232614
[...] info msg 232614: bytes 952 from <[EMAIL PROTECTED]> qp 1869 uid 0
[...] end msg 232614
[...] new msg 232614
[...] info msg 232614: bytes 948 from <[EMAIL PROTECTED]> qp 1871 uid 0
[...] end msg 232614
[...] new msg 232614
[...] info msg 232614: bytes 956 from <[EMAIL PROTECTED]> qp 1873 uid 0
[...] end msg 232614


Postmaster gets no mail first time. Well, no one gets them. This is new.
qmail-inject now eats them. Strange is, that they have the same ID, although
fetched at the same time.

Martin.



RE: Qmail-Fetchmail: delivered-to

2001-03-03 Thread Alexander Jernejcic

hi again,

> envelope "Delivered-To:" (probably) has to stay since my 
> qmail-mailhost does
> not use "X-Envelope-To:"

just a guess: delivered-to has not the original recipient in it...

:) alexander 



RE: Qmail-Fetchmail: delivered-to

2001-03-03 Thread Martin Schüler

> hi,
> try the following lines in your fetchmail-conf:

> poll external.host.pop protocol pop3:
> no dns
> localdomains your.domain
> envelope X-Envelope-To
> user yourpopuser with
> password yourpwd to * here
> forcecr
> fetchall

> with this setup i fetch mails from an external multidrop qmail-pop3 host
> and deliver them to my local qmail mailserver

> hope that helps
> alexander

Rehi.

My fetchmailrc looks similar except for the missing localdomains-entry. The
envelope "Delivered-To:" (probably) has to stay since my qmail-mailhost does
not use "X-Envelope-To:"

Thanks. The "localdomains" fixed my first (not so important) problem. But a
static username "[EMAIL PROTECTED]" is still generated.

Martin.



RE: Qmail-Fetchmail: delivered-to

2001-03-03 Thread Alexander Jernejcic

hi,
try the following lines in your fetchmail-conf:

poll external.host.pop protocol pop3:
no dns
localdomains your.domain
envelope X-Envelope-To
user yourpopuser with
password yourpwd to * here
forcecr
fetchall

with this setup i fetch mails from an external multidrop qmail-pop3 host 
and deliver them to my local qmail mailserver

hope that helps
alexander



Qmail-Fetchmail: delivered-to

2001-03-03 Thread Martin Schüler

Hello,

QMail is now working fine here for some months for local delivery and remote
delivery. Just recently I wanted to take the last hurdle to manage the
incoming mail transport from my external domain/mailhost(QMail) to our local
mailserver (QMail).

I chose Fetchmail seeming to be the reasonable transport for our
non-permanent internet connection.

In my understanding "alias@localhost" looked reasonable. Since the fetchmail
had not yet a "set postmaster" and "localhost" was no virtualdomain, all the
mail was rebounced to all the senders. This was no fun.

Anyway, fetchmail's use of "localhost" is not consistant in my opinion since
no one mails to localhost. I would like to change this to my domain, but
that's not so important for now.

The important problem is, that mail from a single POP3 account should be
routed to different users. The use of "To:" is broken, happily my external
mailhost runs QMail. Three possibilities to intercept:

(1) Fetchmail could parse the envelope "Delivered-To:" in order to supply
qmail-inject with the appropriate target mail user.
(2) qmail-inject parsing the Delivered-To to recover the original addressee.
(3) using the .qmail hack to resend the mail to the correct user.

All the tries as of (1) and (3) end up sending the mails to our local
postmaster. I did try qvirtual, envelope (as of 1), environment variables
(as of 3), usernames (direct, $USER, %T) Using mda instead of SMTP injection
did work the same way. It always ignores the delivered-to and uses a static
username.

At the moment I am very tempted to modify qmail-inject or new-inject to
perform actions as of (2), if using a new option switch argument. But maybe
someone one this list might have an idea, before.

Yours,
Martin Schueler.







Re: avoiding multi-rcpt duplicates with fetchmail-like system

2001-02-13 Thread Peter van Dijk

On Tue, Feb 13, 2001 at 05:07:48PM -0500, Chris Hardie wrote:
> 
> Unfortunately, I know they're not using fetchmail, and I think they may be
> using an NT-based solution.

I have worked with several of our customers that had their
maildelivery broken when we migrated from sendmail to qmail (adding
Delivered-To headers).

All of them understand that this new header actually finally allows
them to do their mail *reliably*.

All NT mail-solutions I've seen are able to use Delivered-To.

Note: I did an ugly hack to make Delivered-To show the actual virtual
address without the control/virtualdomains prepend.

> Does this mean we're leaning towards "tell your user to get a clue"? :)

Yes.

Greetz, Peter.



Re: avoiding multi-rcpt duplicates with fetchmail-like system

2001-02-13 Thread Chris Hardie


Unfortunately, I know they're not using fetchmail, and I think they may be
using an NT-based solution.

Does this mean we're leaning towards "tell your user to get a clue"? :)

Thanks,
Chris

On Tue, 13 Feb 2001, Peter van Dijk wrote:

> On Tue, Feb 13, 2001 at 04:48:31PM -0500, Chris Hardie wrote:
> [snip]
> > they'll get three copies of the message in the monolithic Mailbox file on
> > our server (I tested this and they will with default setup).  This is bad
> > for them because apparently their re-routing software only looks at "To:"
> > lines and not "Delivered-To:" lines - I don't know if that's standard or
> > not.
>
> Using 'To:' for this purpose is inherently broken. fetchmail can read
> Delivered-To headers just fine.
>
> Greetz, Peter.
>



-- Chris Hardie -
- mailto:[EMAIL PROTECTED] --
 http://www.summersault.com/chris/ --




Re: avoiding multi-rcpt duplicates with fetchmail-like system

2001-02-13 Thread Charles Cazabon

Chris Hardie <[EMAIL PROTECTED]> wrote:
> 
> For one of them, the user wants to have all
> the mail sent to any address @domain.com piled into one Mailbox file
> (we're using Mailbox, not Maildir) so they can then download it via POP
> and route it internally at their organization.  Seems pretty standard,
> prepped easily on our side via .qmail-default.
> 
> The concern they have is that if a message is
> 
>   From: [EMAIL PROTECTED]
>   To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
> 
> they'll get three copies of the message in the monolithic Mailbox file on
> our server (I tested this and they will with default setup). 

That's the way mail works; if there's three recipients, it gets delivered
three times.

> This is bad for them because apparently their re-routing software only looks
> at "To:" lines and not "Delivered-To:" lines - I don't know if that's
> standard or not.

It's broken.  As an aside, getmail will properly look at Delivered-To: for
local recipient addresses.  http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/

> So, the desired solution is to find a way to only deposit *one* copy of
> the message in the monolithic Mailbox file, but with headers intact such
> that their software can re-deliver the message to all the appropriate
> recipients.
> 
> I found this script:
>   http://www.qmail.org/eliminate-dups
> but I'm not sure this is its intended (or possible) use.

Yes, this will work.  You invoke it from the .qmail-default file which is
controlling delivery to this virtual domain.  It's the first instruction
in the file, and the Maildir delivery is the second instruction.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



avoiding multi-rcpt duplicates with fetchmail-like system

2001-02-13 Thread Chris Hardie


Greetings.  I apologize in advance if this question has been answered in
docs or previous discussion - it seems like it should have been. :)  I
*have* read LWQ, the Howto, man qmail-local, man dot-qmail, and info about
fastforward and similar packages, and still haven't found the
clarification I need:

We have some virtual domains on our server (FreeBSD 4.2, qmail 1.03,
tcpserver, daemontools, etc).  For one of them, the user wants to have all
the mail sent to any address @domain.com piled into one Mailbox file
(we're using Mailbox, not Maildir) so they can then download it via POP
and route it internally at their organization.  Seems pretty standard,
prepped easily on our side via .qmail-default.

The concern they have is that if a message is

  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

they'll get three copies of the message in the monolithic Mailbox file on
our server (I tested this and they will with default setup).  This is bad
for them because apparently their re-routing software only looks at "To:"
lines and not "Delivered-To:" lines - I don't know if that's standard or
not.

So, the desired solution is to find a way to only deposit *one* copy of
the message in the monolithic Mailbox file, but with headers intact such
that their software can re-deliver the message to all the appropriate
recipients.

I found this script:
  http://www.qmail.org/eliminate-dups
but I'm not sure this is its intended (or possible) use.

I'm hoping someone can say "drop X into a .qmail-default file and you're
off to the races" or, less preferably, "tell your user to get a clue,
because of X" (or the even less preferable "you should get a clue,
period.").

Thanks in advance for your help.

Chris

-- Chris Hardie -
- mailto:[EMAIL PROTECTED] --
 http://www.summersault.com/chris/ --





Re: avoiding multi-rcpt duplicates with fetchmail-like system

2001-02-13 Thread Peter van Dijk

On Tue, Feb 13, 2001 at 04:48:31PM -0500, Chris Hardie wrote:
[snip]
> they'll get three copies of the message in the monolithic Mailbox file on
> our server (I tested this and they will with default setup).  This is bad
> for them because apparently their re-routing software only looks at "To:"
> lines and not "Delivered-To:" lines - I don't know if that's standard or
> not.

Using 'To:' for this purpose is inherently broken. fetchmail can read
Delivered-To headers just fine.

Greetz, Peter.



Re: qmail-pop3d and fetchmail

2001-01-25 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 06:13:06PM +0100, Markus Stumpf wrote:
> On Thu, Jan 25, 2001 at 05:42:56PM +0100, Peter van Dijk wrote:
> > qmail-pop3d sorts messages based on
> > size, so supporting LAST would yield wrong results anyway.
> 
> Hmmm ... are you sure?
> From looking at the code I'd say it's sorted by modification time.

You are right.

I am confused now. I am quite sure there is some Maildir application that
sorts by size.

Must be lack of sleep.

Greetz, Peter.



Re: qmail-pop3d and fetchmail

2001-01-25 Thread Markus Stumpf

On Thu, Jan 25, 2001 at 05:42:56PM +0100, Peter van Dijk wrote:
> qmail-pop3d sorts messages based on
> size, so supporting LAST would yield wrong results anyway.

Hmmm ... are you sure?
>From looking at the code I'd say it's sorted by modification time.

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: qmail-pop3d and fetchmail

2001-01-25 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 10:26:33AM -0600, Kris Kelley wrote:
[snip]
> Probably because that other pop3 server allows for the "LAST" POP3 command.
> "LAST" returns the number of the last message downloaded.  Ideally this
> should be enough to determine which messages are new, but only after some
> assumptions that aren't always correct.  The most recent POP3 RFC deprecated
> the "LAST" command, and not all POP3 servers support it.

LAST can only be reliable on a mailserver where message-order is
preserved from session to session. qmail-pop3d sorts messages based on
size, so supporting LAST would yield wrong results anyway.

Greetz, Peter.



Re: qmail-pop3d and fetchmail

2001-01-25 Thread Kris Kelley

This question probably belongs in a fetchmail forum.  Unfortunately, my
recent attempts to subscribe to the fetchmail mailing list have ended in
failure, so you may not have any luck finding a fetchmail forum.

> I was trying to use fetchmail to retrieve messages from a pop3 account
> on a server running qmail-pop3d using tcpserver and vchkpw. It retrieved
> all the messages although I did not specify "--all" flag to fetchmail. I
> tried several time and every time fetchmail retrieves all the messages
> again and again.

Try forcing fetchmail to use message UIDLs, that is, use the "--uidl" flag.
This will enable fetchmail to keep track of what messages it has and hasn't
downloaded using a local list of message IDs.

> I tried fetchmail with another pop3 account on a server running
> sendmail/qpoper and it worked fine, only new messages was retrieved.
> Anybody knows why that happens ?

Probably because that other pop3 server allows for the "LAST" POP3 command.
"LAST" returns the number of the last message downloaded.  Ideally this
should be enough to determine which messages are new, but only after some
assumptions that aren't always correct.  The most recent POP3 RFC deprecated
the "LAST" command, and not all POP3 servers support it.

---Kris Kelley




qmail-pop3d and fetchmail

2001-01-24 Thread Eng. Ramy M. Hassan

I was trying to use fetchmail to retrieve messages from a pop3 account
on a server running qmail-pop3d using tcpserver and vchkpw. It retrieved
all the messages although I did not specify "--all" flag to fetchmail. I
tried several time and every time fetchmail retrieves all the messages
again and again.
I tried fetchmail with another pop3 account on a server running
sendmail/qpoper and it worked fine, only new messages was retrieved.
Anybody knows why that happens ?

Thanks.




[FETCHMAIL-DAEMON@snn.com.pl: ]

2000-12-05 Thread Felix von Leitner

People, please subscribe to mailing lists from _stable_ _know to work_
email addresses only.  Crap like this is not acceptable, especially not
on the mailing lists about MTAs.

- Forwarded message from [EMAIL PROTECTED] -

Date: Tue, 5 Dec 2000 16:30:30 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

General SMTP/ESMTP error.


Reporting-MTA: dns; localhost

Final-Recipient: rfc822; last
Last-Attempt-Date: Tue, 05 Dec 2000 16:30:30 +0100 (CET)
Action: failed
Status: 3.0.0
Diagnostic-Code: 354 Enter mail, end with "." on a line by itself

Received: from mx2.ipartners.pl (mx2.ipartners.pl [157.25.193.38])
by ikp.ikp.pl with ESMTP id QAA6995868
for <[EMAIL PROTECTED]>; Tue, 5 Dec 2000 16:18:36 +0100 (CET)
Received: from muncher.math.uic.edu (muncher.math.uic.edu [131.193.178.181])
by mx2.ipartners.pl with SMTP id QAA07432
for <[EMAIL PROTECTED]>; Tue, 5 Dec 2000 16:16:41 +0100 (CET)
(envelope-from [EMAIL PROTECTED])
Received: (qmail 18620 invoked by uid 1002); 5 Dec 2000 14:59:27 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 15155 invoked from network); 5 Dec 2000 14:59:26 -
Received: from codeblau.walledcity.de (HELO codeblau.de) 
([EMAIL PROTECTED])
  by muncher.math.uic.edu with SMTP; 5 Dec 2000 14:59:26 -
Received: (qmail 29737 invoked by uid 100); 5 Dec 2000 14:59:40 -
Date: Tue, 5 Dec 2000 15:59:40 +0100
From: Felix von Leitner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: AntiVirus!
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <[EMAIL PROTECTED]>; from 
[EMAIL PROTECTED] on Tue, Dec 05, 2000 at 12:18:59PM +1100
X-UIDL: 728ab5ae0acb70acb8809d59d0bf47a9


- End forwarded message -



Re: Logs using & getmail/fetchmail

2000-11-28 Thread Robin S. Socha

* Andy KKS <[EMAIL PROTECTED]> writes:
> 1.  (*) text/plain ( ) message/external-body
  ^? Could you turn this crap off, please?

> Qmail has it's own logs, but I would also like that other two
> would be making logs. 

Simply grab http://pobox.com/~tu/qmail-conf.html and *read* the docs. It'll
leave you with running services including the logging you want.

> Are there any scripts available that could browse wrror log and then
> produce just the error messages from it (to remove some of unecessary
> lines).

Have you visited http://qmail.org/ yet?
-- 
Robin S. Socha 



RE: Logs using & getmail/fetchmail

2000-11-27 Thread CHIU, Jonathan



I only 
comment the second question:
 
I am 
using getmail which get mails from a pop3 account.  I am happy with that 
and I haven't got the wrong mail from it.  However, you better get a larger 
pop3 account if you really want to implement this.
 
Regards,
Jonathan

  -Original Message-From: Andy KKS 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 28, 2000 3:41 
  PMTo: QmailSubject: Logs using & 
  getmail/fetchmail
  Hi !
  I know this is another "newbie" question,  
  but I still need help. I have now succesfully setup qmail, pop3 and smtp (both 
  from qmail). Qmail has it's own logs, but I would also like that other two 
  would be making logs. In FAQ of qmail is sample how to do this with snmp, but 
  if I start it with that command line (see down), FreeBSD produces error, 
  saying "Ambiguous output redirect." Please help me here. And I also need 
  working commandline for POP3 server. Are there any scripts available that 
  could browse wrror log and then produce just the error messages from it (to 
  remove some of unecessary lines).
   
  Ok problem number two is getmail (fetchmail 
  alterantive for Maildir). Does anybody use this, is it reliable, are there any 
  problems with it.
   
  Thanks for you answer and for your patience with 
  my silly questions.
  Andy
   
   
   
  Comandline starting smtp:
  tcpserver -v -u 82 -g 81 0 snmp 
  /var/qmail/bin/qmail-smtpd \2>&1 | /var/qmail/bin/splogger smtpd 3 
  &
   


Logs using & getmail/fetchmail

2000-11-27 Thread Andy KKS



Hi !
I know this is another "newbie" question,  but 
I still need help. I have now succesfully setup qmail, pop3 and smtp (both from 
qmail). Qmail has it's own logs, but I would also like that other two would be 
making logs. In FAQ of qmail is sample how to do this with snmp, but if I start 
it with that command line (see down), FreeBSD produces error, saying "Ambiguous 
output redirect." Please help me here. And I also need working commandline for 
POP3 server. Are there any scripts available that could browse wrror log and 
then produce just the error messages from it (to remove some of unecessary 
lines).
 
Ok problem number two is getmail (fetchmail 
alterantive for Maildir). Does anybody use this, is it reliable, are there any 
problems with it.
 
Thanks for you answer and for your patience with my 
silly questions.
Andy
 
 
 
Comandline starting smtp:
tcpserver -v -u 82 -g 81 0 snmp 
/var/qmail/bin/qmail-smtpd \2>&1 | /var/qmail/bin/splogger smtpd 3 
&
 


fetchmail signal 13 again

2000-11-13 Thread Sebastian Steinlechner



I know that this has been discussed really often. But all the answers to 
earlier messages didn't help me at all. So here is what I want to do: I've got a 
multiple drop account at mail.hi.shuttle.de. All the messages come in as [EMAIL PROTECTED] and 
should be delivered to xyz on my local machine. If there is no local user named 
xyz, the mail should not be sent to postmaster or something like that, but the 
sender of the mail should receive an error message. But I didn't even get this 
far...Here's what fetchmail says: --- snip ---  
fetchmail: POP3< 28 9810fetchmail: 5.0.3 querying mail.hi.shuttle.de 
(protocol POP3) at Mon, 13 Nov 2000fetchmail: POP3< +OK POP3 Welcome to 
GNU POP3 Server Version 0.9.8 <16928.974118fetchmail: POP3> USER 
ss1014fetchmail: POP3< +OKfetchmail: POP3> PASS *fetchmail: 
POP3< +OK opened mailbox for ss1014fetchmail: POP3> STATfetchmail: 
POP3< +OK 31 869518fetchmail: POP3> LASTfetchmail: POP3< -ERR 
Invalid commandfetchmail: POP3> UIDLfetchmail: POP3< 
+OKfetchmail: POP3< 1 
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3< 2 
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.fetchmail: 
POP3< 3 bulk.22232.20001029200314
<--- I deleted some lines here (it just goes on from 4 to 
28)>
 
fetchmail: POP3< 29 3A0E9ADA.13284F65fetchmail: POP3< 30 
003101c04ce0$7eab1360$0100a8c0fetchmail: POP3< 31 
bulk.25086.20001113093440fetchmail: POP3< .31 messages for ss1014 at 
mail.hi.shuttle.de (869518 octets).fetchmail: POP3> LISTfetchmail: 
POP3< +OKfetchmail: POP3< 1 481fetchmail: POP3< 2 
30861fetchmail: POP3< 3 9212
 
<--- I deleted some lines here (it just goes on from 4 to 
28)>
 
fetchmail: POP3< 29 1359fetchmail: POP3< 30 1535fetchmail: 
POP3< 31 10677fetchmail: POP3< .fetchmail: POP3> TOP 1 
fetchmail: POP3< +OKreading message 1 of 31 (481 
octets)fetchmail:  retainedfetchmail: POP3> TOP 2 
fetchmail: POP3< +OKreading message 2 of 31 (30861 
octets)fetchmail: SMTP< 220 senfpott.gysar ESMTPfetchmail: SMTP> 
EHLO localhostfetchmail: SMTP< 250-senfpott.gysarfetchmail: SMTP< 
250-PIPELININGfetchmail: SMTP< 250 8BITMIMEfetchmail: SMTP> MAIL 
FROM:<[EMAIL PROTECTED]>fetchmail: 
SMTP< 250 okfetchmail: SMTP> RCPT TO:<steini@localhost>fetchmail: SMTP< 
250 okfetchmail: SMTP> DATAfetchmail: SMTP< 354 go 
aheadfetchmail: terminated with signal 13--- snip ---Of 
course I'm running fetchmail with forcecr turned on (it's in myfetchmailrc 
and it's listed with fetchmail --version).Anyone?Thanks in 
advance,Sebastian Steinlechner


fetchmail: signal 13 again

2000-11-13 Thread Sebastian Steinlechner

I know that this has been discussed really often. But all the answers to
earlier messages didn't help me at all.
So here is what I want to do:
I've got a multiple drop account at post.strato.de (account
[EMAIL PROTECTED]). All the messages come in as [EMAIL PROTECTED]
and should be delivered to xyz on my local machine. If there is no local user
named xyz, the mail should not be sent to postmaster or something like that,
but the sender of the mail should receive an error message. But I didn't
even get this far...
Here's what fetchmail says:

--- snip ---

fetchmail: POP3< 28 9810
fetchmail: 5.0.3 querying mail.hi.shuttle.de (protocol POP3) at Mon, 13
Nov 2000
fetchmail: POP3< +OK POP3 Welcome to GNU POP3 Server Version 0.9.8
<16928.974118
fetchmail: POP3> USER ss1014
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK opened mailbox for ss1014
fetchmail: POP3> STAT
fetchmail: POP3< +OK 31 869518
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Invalid command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3< 2
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3< 3 bulk.22232.20001029200314
fetchmail: POP3< 4 F12xP2ittcXmYaiJOaH2339
fetchmail: POP3< 5 Pine.LNX.4.21.0010311633071.31536-10
fetchmail: POP3< 6 000801c0435e$8508b0e0$841706d5
fetchmail: POP3< 7 39FF3438.628ABCD7
fetchmail: POP3< 8
LYRIS-640430-369949-2000.11.01-05.42.50--nicolek#gysar.hi.ni.
fetchmail: POP3< 9 002a01c043f4$41714f40$0100a8c0
fetchmail: POP3< 10 13r1f6-0a2EN6C
fetchmail: POP3< 11 Pine.LNX.4.21.0011031806340.29786-10
fetchmail: POP3< 12 99.c0af864.27348725
fetchmail: POP3< 13 20001103103814.6920.qmail
fetchmail: POP3< 14 20001104162733.85F69A86BD
fetchmail: POP3< 15 3A054DB8.3AAD7931
fetchmail: POP3< 16 381964659.973457105451.JavaMail.root
fetchmail: POP3< 17 bulk.20040.20001106001215
fetchmail: POP3< 18 3A05E005.8D3EEB49
fetchmail: POP3< 19 20001106.221254.-3836847.0.my_paris_rose
fetchmail: POP3< 20 13t9zr-0ifcauC
fetchmail: POP3< 21 000b01c048f1$50c24100$0b02a8c0
fetchmail: POP3< 22 3A0818C6.51718479
fetchmail: POP3< 23 113228359904.20001108101540
fetchmail: POP3< 24 Pine.LNX.4.21.0011081740190.31839-100000
fetchmail: POP3< 25 3A0B014A.53A60CEE
fetchmail: POP3< 26
LYRIS-640430-390119-2000.11.11-10.30.10--nicolek#gysar.hi.ni
fetchmail: POP3< 27 1805.973954526
fetchmail: POP3< 28 1805.973954526
fetchmail: POP3< 29 3A0E9ADA.13284F65
fetchmail: POP3< 30 003101c04ce0$7eab1360$0100a8c0
fetchmail: POP3< 31 bulk.25086.20001113093440
fetchmail: POP3< .
31 messages for ss1014 at mail.hi.shuttle.de (869518 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK
fetchmail: POP3< 1 481
fetchmail: POP3< 2 30861
fetchmail: POP3< 3 9212
fetchmail: POP3< 4 2231
fetchmail: POP3< 5 3312
fetchmail: POP3< 6 3579
fetchmail: POP3< 7 1574
fetchmail: POP3< 8 32505
fetchmail: POP3< 9 1896
fetchmail: POP3< 10 1392
fetchmail: POP3< 11 4006
fetchmail: POP3< 12 170002
fetchmail: POP3< 13 1487
fetchmail: POP3< 14 2458
fetchmail: POP3< 15 1691
fetchmail: POP3< 16 2431
fetchmail: POP3< 17 7774
fetchmail: POP3< 18 3887
fetchmail: POP3< 19 1482
fetchmail: POP3< 20 1759
fetchmail: POP3< 21 5972
fetchmail: POP3< 22 333583
fetchmail: POP3< 23 167770
fetchmail: POP3< 24 4790
fetchmail: POP3< 25 4477
fetchmail: POP3< 26 35716
fetchmail: POP3< 27 9809
fetchmail: POP3< 28 9810
fetchmail: POP3< 29 1359
fetchmail: POP3< 30 1535
fetchmail: POP3< 31 10677
fetchmail: POP3< .
fetchmail: POP3> TOP 1 9999
fetchmail: POP3< +OK
reading message 1 of 31 (481 octets)
fetchmail:  retained
fetchmail: POP3> TOP 2 
fetchmail: POP3< +OK
reading message 2 of 31 (30861 octets)
fetchmail: SMTP< 220 senfpott.gysar ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-senfpott.gysar
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 250 ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
fetchmail: terminated with signal 13

--- snip ---

Of course I'm running fetchmail with forcecr turned on (it's in my
.fetchmailrc and it's listed with fetchmail --version).

Anyone?

Thanks in advance,
Sebastian Steinlechner

-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: fetchmail and timers and control-dir

2000-10-28 Thread Robin S. Socha

* romeo kienzler <[EMAIL PROTECTED]> writes:

> I have some problems to deliver mail from fetchmail to qmail.
> I tried some option with the -mua -switch, but without success.

,[ Works For Me(tm) ]
| server yourserver.com
| proto pop3
| 
| user romeo
| pass geheim
| 
| fetchall
| flush
| mda /usr/bin/procmai
`

> I have to deliver the fetched mail in that way, that I can recieve it
> via pop3 from other clients, any ideas ?

You need a local pop3d capable of reading maildir, methinks. You /do/
want to fetch from yourserver.com and prostitute the mail to your lusers
on ormium.de, right?

> an other problem ist, that I dont know how to modify some timerparameters
> (interval of sending mail for example) can you tell me, where I have to
> modify it ?

Have you considered doing cron based thingies with serialmail? qmail
will deliver directly by default AFAIK.

> -- 

It's actually "^-- \n", not " ^-- \n".
-- 
Robin S. Socha 
Now optimized for Microsoft Internet Explorer: <http://socha.net/>



fetchmail and timers and control-dir

2000-10-28 Thread romeo kienzler

Hi All !!

I have some problems to deliver mail from fetchmail to qmail.

I tried some option with the -mua -switch, but without success.

I have to deliver the fetched mail in that way, that I can recieve it via pop3
from other clients, any ideas ?

an other problem ist, that I dont know how to modify some timerparameters
(interval of sending mail for example) 
can you tell me, where I have to modify it ?

thanks a lot !

yours romeo

 -- 
" R o m e o   K i e n z l e r "  
Am Grosshausberg 2-9-3 >< 78120 Furtwangen 
Fon 0170/6015062 >< Fax 01805/05255377249 
email [EMAIL PROTECTED] >< "www.ormium.de"



X-Fetchmail-Warning

2000-10-15 Thread Horacio

All mail I retrieve from the pop server come with the following header
line:

X-Fetchmail-Warning: recipiente address [EMAIL PROTECTED] didn't match
any local name

Also, I've been playing with the control files and every mail I send to
one of my addresses ends up in the spool mail/alias file with the
following warnings:


From #@[] Sat Oct 14 22:58:53 2000
Return-Path: <#@[]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 29125 invoked for bounce); 14 Oct 2000 22:58:53 -
Date: 14 Oct 2000 22:58:53 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at tanit.wanadoo.es.
I tried to deliver a bounce message to this address, but the bounce bounced!

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 32422 invoked for bounce); 14 Oct 2000 22:58:52 -
Date: 14 Oct 2000 22:58:52 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at tanit.wanadoo.es.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

[blah... ]


... including the cron messages to root.


Thank You.



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> Quite the opposite. He will have to restart qmail-send before changes to
> locals are noticed. Changes to rcpthosts are noticed by the next
> invocation
> of qmail-smtpd and this don't require a restart of anything.

Good point... I keep mixing up which files require a restart

> > could you please send the output of /var/qmail/bin/qmail-showctl.
>
> Indeed. Complete unadulterated logs and that output will tell the story.

Be careful what you say! I've seem some funky things happen when people
start saying 'complete logs'...I don't think cr.yp.to enjoys that trip
much...

Anyway I'm off to the land of nod I'll get back to this thread in the
morning, if it hasn't been fixed by then.

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/




Re: How to make fetchmail work with qmail?

2000-10-02 Thread markd

> In the latter case you'll need to had 'localhost' to /var/qmail/locals

Yikes - typo city. You'll need to add localhost to /var/qmail/control/locals
(and restart qmail-send as noted previously).


Regards.



Re: How to make fetchmail work with qmail?

2000-10-02 Thread markd

On Mon, Oct 02, 2000 at 10:11:46PM +1000, Brett Randall wrote:
> OK the prob is not fetchmail, so let's just forget that...
> 
> The prob is with qmail delivering mail locally. The logs you've shown me are
> missing stuff (further up in the log), about when an e-mail comes in to the
> server. All I can see is e-mails going out to remote servers. Can you show
> me the bit where they get queued? ie where it says from  and on
> the next line To ? That would help muchly...Oh by the way
> are you restarting qmail after making changes? You shouldn't have to, but
> just for testing's sake...

Quite the opposite. He will have to restart qmail-send before changes to
locals are noticed. Changes to rcpthosts are noticed by the next invocation
of qmail-smtpd and this don't require a restart of anything.

> could you please send the output of /var/qmail/bin/qmail-showctl.

Indeed. Complete unadulterated logs and that output will tell the story.


Regards.



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> > steal port 80 so that qmail-smtpd (I presume...once again, no 
> details) can't
> 
> Port 80? That's normally used for httpd, port 25 is normally smtp.

Haha it is getting very late. Apologies! It's been a long one...

/BR

 
Manager
InterPlanetary Solutions
http://ipsware.com/



Re: How to make fetchmail work with qmail?

2000-10-02 Thread markd

On Mon, Oct 02, 2000 at 09:25:55PM +1000, Brett Randall wrote:
> > > > I tried adding localhost to rcpthosts (seemed stupid), but that

You have two issues here. One is that fetchmail is trying to deliver
to @localhost and that is not a valid domain with your current
qmail setup. You have two choices: a) change the fetchmail config
to deliver to your real domain (presumably what you have in
/var/qmail/control/me) or b) change qmail to accept localhost as a local
domain.

Which you prefer is up to you. In the former case you'll want to look
at the   -D , --smtpaddress  options on fetchmail or
the "is" keyword in the fetcmailrc file.

In the latter case you'll need to had 'localhost' to /var/qmail/locals
and possibly to rcpthosts (depending on what rules you have for tcpserver).
By the looks of your logs you will need to had localhost to 
/var/qmail/control/rcpthosts,
if the file doesn't exist, create it.

> steal port 80 so that qmail-smtpd (I presume...once again, no details) can't

Port 80? That's normally used for httpd, port 25 is normally smtp.


Regards.



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

OK the prob is not fetchmail, so let's just forget that...

The prob is with qmail delivering mail locally. The logs you've shown me are
missing stuff (further up in the log), about when an e-mail comes in to the
server. All I can see is e-mails going out to remote servers. Can you show
me the bit where they get queued? ie where it says from  and on
the next line To ? That would help muchly...Oh by the way
are you restarting qmail after making changes? You shouldn't have to, but
just for testing's sake...And just so I don't ask heaps more questions,
could you please send the output of /var/qmail/bin/qmail-showctl.

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/


> -Original Message-
> From: Casey Allen Shobe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 02, 2000 8:59 PM
> To: Brett Randall; qmail
> Subject: Re: How to make fetchmail work with qmail?
>
>
> Brett Randall wrote (on Mon, 02 Oct 2000):
> > Doesn't matter...anyway all the mail to @localhost appears to be getting
> > forwarded somewhere. Is localhost in /var/qmail/control/locals
> ? Make sure
> > it is there as well as rcpthosts... Also make sure there is nothing in
> > /var/qmail/control/smtproutes which would cause the mail to go astray...
>
> I added the localhost as you suggested and am back to the same problem.
> Here's my fetchmail output as well as the var/qmail/current log
>
> bash-2.04$ fetchmail -v -d0
> fetchmail: 5.4.0 querying pop.atl.mediaone.net (protocol POP3) at
> Mon, 02 Oct
> 2000 06:56:42 -0400 (EDT)
> fetchmail: POP3< +OK tbmls01.atl.mediaone.net POP3 service (Netscape
> Messaging Server 4.15 Patch 1 (built Mar 15 2000))
> fetchmail: POP3> USER cshobe
> fetchmail: POP3< +OK Name is a valid mailbox
> fetchmail: POP3> PASS *
> fetchmail: POP3< +OK Maildrop ready
> fetchmail: POP3> STAT
> fetchmail: POP3< +OK 3 7047
> fetchmail: POP3> LAST
> fetchmail: POP3< +OK 0
> 3 messages for cshobe at pop.atl.mediaone.net (7047 octets).
> fetchmail: POP3> LIST
> fetchmail: POP3< +OK scan listing follows
> fetchmail: POP3< 1 2210
> fetchmail: POP3< 2 2213
> fetchmail: POP3< 3 2624
> fetchmail: POP3< .
> fetchmail: POP3> TOP 1 
> fetchmail: POP3< +OK
> reading message 1 of 3 (2210 octets)
> fetchmail: SMTP< 220 cshobe.myip.org ESMTP
> fetchmail: SMTP> EHLO localhost
> fetchmail: SMTP< 250-cshobe.myip.org
> fetchmail: SMTP< 250-PIPELINING
> fetchmail: SMTP< 250 8BITMIME
> fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> RCPT TO:
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> DATA
> fetchmail: SMTP< 354 go ahead
> #**fetchmail: SMTP>. (EOM)
> fetchmail: SMTP< 250 ok 970484206 qp 21520
>  flushed
> fetchmail: POP3> DELE 1
> fetchmail: POP3< +OK message deleted
> fetchmail: POP3> TOP 2 
> fetchmail: POP3< +OK
> reading message 2 of 3 (2213 octets)
> fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> RCPT TO:
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> DATA
> fetchmail: SMTP< 354 go ahead
> #fetchmail: SMTP>. (EOM)
> fetchmail: SMTP< 250 ok 970484206 qp 21534
>  flushed
> fetchmail: POP3> DELE 2
> fetchmail: POP3< +OK message deleted
> fetchmail: POP3> TOP 3 
> fetchmail: POP3< +OK
> reading message 3 of 3 (2624 octets)
> fetchmail: SMTP> MAIL
> FROM:<[EMAIL PROTECTED]> BODY=7BIT
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> RCPT TO:
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> DATA
> fetchmail: SMTP< 354 go ahead
> #***fetchmail: SMTP>. (EOM)
> fetchmail: SMTP< 250 ok 970484207 qp 21573
>  flushed
> fetchmail: POP3> DELE 3
> fetchmail: POP3< +OK message deleted
> fetchmail: POP3> QUIT
> fetchmail: POP3< +OK
> fetchmail: SMTP> QUIT
> fetchmail: SMTP< 221 cshobe.myip.org
> fetchmail: normal termination, status 0
>
>
>
> @400039d869f90d91712c status: local 0/10 remote 2/20
> @400039d869f90eb40bb4 bounce msg 915732 qp 21603
> @400039d869f90eb45dbc end msg 915732
> @400039d869f90eb46974 new msg 915729
> @400039d869f90eb4752c info msg 915729: bytes 3567 from <> qp
> 21603 uid
> 1011
> @400039d869f90ec541f4 starting delivery 17: msg 915729 to remote
> [EMAIL PROTECTED]
> @400039d869f90ec56134 status: local 0/10 remote 3/20
> @400039d869fa0305df54 delivery 17: success:
> 131.193.178.181_accepted_message./Remote_host_said:_250_ok_9704843
> 25_qp_30850/
> @400039d869fa03060a

Re: How to make fetchmail work with qmail?

2000-10-02 Thread Casey Allen Shobe

Brett Randall wrote (on Mon, 02 Oct 2000):
> Doesn't matter...anyway all the mail to @localhost appears to be getting
> forwarded somewhere. Is localhost in /var/qmail/control/locals ? Make sure
> it is there as well as rcpthosts... Also make sure there is nothing in
> /var/qmail/control/smtproutes which would cause the mail to go astray...

I added the localhost as you suggested and am back to the same problem.  
Here's my fetchmail output as well as the var/qmail/current log

bash-2.04$ fetchmail -v -d0
fetchmail: 5.4.0 querying pop.atl.mediaone.net (protocol POP3) at Mon, 02 Oct 
2000 06:56:42 -0400 (EDT)
fetchmail: POP3< +OK tbmls01.atl.mediaone.net POP3 service (Netscape 
Messaging Server 4.15 Patch 1 (built Mar 15 2000))
fetchmail: POP3> USER cshobe
fetchmail: POP3< +OK Name is a valid mailbox
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Maildrop ready
fetchmail: POP3> STAT
fetchmail: POP3< +OK 3 7047
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
3 messages for cshobe at pop.atl.mediaone.net (7047 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK scan listing follows
fetchmail: POP3< 1 2210
fetchmail: POP3< 2 2213
fetchmail: POP3< 3 2624
fetchmail: POP3< .
fetchmail: POP3> TOP 1 9999
fetchmail: POP3< +OK
reading message 1 of 3 (2210 octets)
fetchmail: SMTP< 220 cshobe.myip.org ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-cshobe.myip.org
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 250 ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
#******fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 ok 970484206 qp 21520
 flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK message deleted
fetchmail: POP3> TOP 2 
fetchmail: POP3< +OK
reading message 2 of 3 (2213 octets)
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 250 ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
#fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 ok 970484206 qp 21534
 flushed
fetchmail: POP3> DELE 2
fetchmail: POP3< +OK message deleted
fetchmail: POP3> TOP 3 9999
fetchmail: POP3< +OK
reading message 3 of 3 (2624 octets)
fetchmail: SMTP> MAIL 
FROM:<[EMAIL PROTECTED]> BODY=7BIT
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 250 ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
#*******fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 ok 970484207 qp 21573
 flushed
fetchmail: POP3> DELE 3
fetchmail: POP3< +OK message deleted
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 cshobe.myip.org
fetchmail: normal termination, status 0



@400039d869f90d91712c status: local 0/10 remote 2/20
@400039d869f90eb40bb4 bounce msg 915732 qp 21603
@400039d869f90eb45dbc end msg 915732
@400039d869f90eb46974 new msg 915729
@400039d869f90eb4752c info msg 915729: bytes 3567 from <> qp 21603 uid 
1011
@400039d869f90ec541f4 starting delivery 17: msg 915729 to remote 
[EMAIL PROTECTED]
@400039d869f90ec56134 status: local 0/10 remote 3/20
@400039d869fa0305df54 delivery 17: success: 
131.193.178.181_accepted_message./Remote_host_said:_250_ok_970484325_qp_30850/
@400039d869fa03060a4c status: local 0/10 remote 2/20
@400039d869fa03061604 end msg 915729
@400039d869fa2427f94c delivery 13: success: 
134.2.170.93_accepted_message./Remote_host_said:_250_ok_970484317_qp_10383/
@400039d869fa2428205c status: local 0/10 remote 1/20
@400039d869fa24282c14 end msg 915731
@400039d869fa2ca02fcc delivery 16: success: 
134.2.170.93_accepted_message./Remote_host_said:_250_ok_970484318_qp_10385/
@400039d869fa2ca056dc status: local 0/10 remote 0/20
@400039d869fa2ca06294 end msg 915733

-- 
Casey Allen Shobe / ASI Technologies
[EMAIL PROTECTED] / [EMAIL PROTECTED]
UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> > forwarded somewhere. Is localhost in /var/qmail/control/locals
> ? Make sure
> > it is there as well as rcpthosts...
>
> No, I didn't know it was supposed to.  I will add it there now.

OK I think you should probably read up on qmail a bit more before you do
heaps with it. Even though life with qmail helps you set it up, you should
really read the INSTALL document that comes with qmail since it helps you
learn what each part does (even though its setup is somewhat different than
LWQ, it still contains the fundamentals). After that, read the FAQ. And have
fun!

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/




Re: How to make fetchmail work with qmail?

2000-10-02 Thread Casey Allen Shobe

Brett Randall wrote (on Mon, 02 Oct 2000):
> > The tcpserver
> >
> > > lines are in the init script for qmail.  Ahh, I just use the
> >
> > default script
> > profided on life with qmail.
>
> Doh! It's been a long day...I should have realised when you said life with
> qmail that the tcpserver lines are in /var/qmail/supervise/.../run
>
> Doesn't matter...anyway all the mail to @localhost appears to be getting
> forwarded somewhere. Is localhost in /var/qmail/control/locals ? Make sure
> it is there as well as rcpthosts...

No, I didn't know it was supposed to.  I will add it there now.

> Also make sure there is nothing in
> /var/qmail/control/smtproutes which would cause the mail to go astray...

I have not this file.

-- 
Casey Allen Shobe / ASI Technologies
[EMAIL PROTECTED] / [EMAIL PROTECTED]
UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> The tcpserver
> > lines are in the init script for qmail.  Ahh, I just use the
> default script
> profided on life with qmail.

Doh! It's been a long day...I should have realised when you said life with
qmail that the tcpserver lines are in /var/qmail/supervise/.../run

Doesn't matter...anyway all the mail to @localhost appears to be getting
forwarded somewhere. Is localhost in /var/qmail/control/locals ? Make sure
it is there as well as rcpthosts... Also make sure there is nothing in
/var/qmail/control/smtproutes which would cause the mail to go astray...

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/




Re: How to make fetchmail work with qmail?

2000-10-02 Thread Casey Allen Shobe

Brett Randall wrote (on Mon, 02 Oct 2000):
> > I've only got the following:
> > /var/log/qmail
> > bash-2.04# ls
> > current  lock  smtpd  state
>
> OK sorry I forget I use a slightly saner logging system...what does
> /var/log/qmail/current say when mail is delivered to user@localhost?

@400039d85d91371cbde4 status: local 0/10 remote 5/20
@400039d85d930431537c delivery 28: success: 
134.2.170.93_accepted_message./Remote_host_said:_250_ok_970481142_qp_23151/
@400039d85d9304317a8c status: local 0/10 remote 4/20
@400039d85d9304318644 end msg 915730
@400039d85d930ce162dc delivery 32: success: 
134.2.170.93_accepted_message./Remote_host_said:_250_ok_970481142_qp_23155/
@400039d85d930ce189ec status: local 0/10 remote 3/20

The tcpserver
> lines are in the init script for qmail.  Ahh, I just use the default script 
profided on life with qmail.

I searched the file for tcpserver and the only line that matched was thi:
cdb -- rebuild the tcpserver cdb file for smtp
which I imagine isn't too useful.

Since you followed life with qmail,
> this is most likely in /etc/rc.d/init.d/qmail if you are using RedHat or
> similar (which it appears you are, with licq and kde, etc)

No, Slackware.  I put the qmail script in /usr/local/sbin.

-- 
Casey Allen Shobe / ASI Technologies
[EMAIL PROTECTED] / [EMAIL PROTECTED]
UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> I've only got the following:
> /var/log/qmail
> bash-2.04# ls
> current  lock  smtpd  state

OK sorry I forget I use a slightly saner logging system...what does
/var/log/qmail/current say when mail is delivered to user@localhost? The ps
ax output looks fairly reasonable...nothing too weird there. The tcpserver
lines are in the init script for qmail. Since you followed life with qmail,
this is most likely in /etc/rc.d/init.d/qmail if you are using RedHat or
similar (which it appears you are, with licq and kde, etc)

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/




Re: How to make fetchmail work with qmail?

2000-10-02 Thread Casey Allen Shobe

Brett Randall wrote (on Mon, 02 Oct 2000):
> Um...your mail logs?
>
> OK You haven't given any details on your config.

I followed the "Life with Qmail" pretty closely.

> /var/log/qmail/send/current

I've only got the following:
/var/log/qmail
bash-2.04# ls
current  lock  smtpd  state

> > There's a whole bunch of these in /var/log/qmail/smtpd/current.  Is this
> > a problem?
> >
> > @400039d86160081d2fc4 tcpserver: fatal: unable to bind: address
>
> Yes, that is a problem. Your qmail setup is bad. Something else is trying
> to steal port 80 so that qmail-smtpd (I presume...once again, no details)
> can't run. What does 'ps ax' give, and what is your tcpserver line to start
> qmail and any other tcpserver daemons?

I don't know how to find the tcpserver line...

the ps ax output is rather long:
  PID TTY  STAT   TIME COMMAND
1 ?S  0:04 init
2 ?SW 0:00 [kapmd]
3 ?SW 0:01 [kswapd]
4 ?SW 0:00 [kflushd]
5 ?SW 0:00 [kupdate]
6 ?SW 0:00 [khubd]
   68 ?S  0:00 /sbin/dhcpcd
   70 ?S  0:00 /sbin/rpc.portmap
   74 ?S  0:00 /usr/sbin/syslogd
   77 ?S  0:00 /usr/sbin/klogd -c 3
   79 ?S  0:00 /usr/sbin/inetd
   81 ?S  0:00 /usr/sbin/lpd
   83 ?S  0:00 /usr/sbin/rpc.mountd
   85 ?S  0:00 /usr/sbin/rpc.nfsd
   88 ?S  0:00 /usr/sbin/crond -l10
   90 ?S  0:00 /usr/sbin/atd -b 15 -l 1
  100 ?S  0:00 /usr/sbin/apmd
  106 ?S  0:00 /var/lib/apache/sbin/httpd
  108 tty6 S  0:00 /sbin/agetty 38400 tty6 linux
  109 ?S  0:00 /opt/kde/bin/kdm -nodaemon
  110 ?SW 0:00 /var/lib/apache/sbin/httpd
  111 ?S  0:00 /var/lib/apache/sbin/httpd
  112 ?S  0:00 /var/lib/apache/sbin/httpd
  113 ?S  0:00 /var/lib/apache/sbin/httpd
  114 ?SW 0:00 /var/lib/apache/sbin/httpd
  116 ?S  0:41 /usr/X11R6/bin/X
  274 ?S  0:00 -:0
  283 ?S  0:00 /bin/sh /opt/kde/bin/startkde
  318 ?S  0:00 kdeinit: dcopserver
  320 ?S  0:00 kdeinit: klauncher
  322 ?S  0:01 kdeinit: kdesktop
  324 ?S  0:00 kdeinit: kded
  328 ?S  1:53 artsd -F 5 -S 8192 -d
  334 ?S  0:00 kdeinit: kxmlrpcd
  344 ?S  0:00 kdeinit: kio_uiserver
  350 ?S  0:01 kdeinit: kicker
  352 ?S  0:07 kdeinit: klipper
  354 ?S  0:00 kdeinit: khotkeys
  356 ?S  0:00 kdeinit: Running...
  359 ?S  0:00 kdeinit: kwrited
  360 ?S  0:00 ksmserver --restore
  361 pts/0S  0:00 /bin/cat
  362 ?S  0:01 kdeinit: kwin
  365 ?S  0:00 kdeinit: knotify
  372 ?S  0:00 kdeinit: kcookiejar
  376 ?S  0:00 kdeinit: ksirc
  394 ?S  0:00 licq
  399 ?S  0:00 licq
  400 ?S  0:00 licq
  401 ?S  0:00 licq
  402 ?S  0:00 licq
  408 ?S  0:01 kdeinit: konsole
  409 pts/1S  0:00 /bin/bash
  410 ?R  0:04 kdeinit: konsole
  411 pts/2S  0:00 /bin/bash
  415 pts/1S  0:00 bash
  420 pts/2S  0:00 svscan
  421 pts/2S  0:00 supervise qmail-send
  422 pts/2S  0:00 supervise log
  423 pts/2S  1:33 supervise qmail-smtpd
  424 pts/2S  0:00 supervise log
  426 pts/2S  0:00 /usr/local/bin/multilog t /var/log/qmail
  433 pts/2S  0:08 /usr/local/bin/multilog t /var/log/qmail/smtpd
31549 ?S  0:16 kdeinit: konqueror
  496 ?S  0:00 /var/lib/apache/sbin/httpd
 8831 ?S  0:02 appletproxy --desktopfile ktimemon.desktop 
--configfi19705 pts/2S  0:00 bash
23104 pts/3SW 0:00 /bin/bash
24149 pts/3SW 0:00 bash
 4543 pts/1SW 0:00 less TEST.receive
31945 pts/4SW 0:00 /bin/bash
32672 pts/4S  0:00 bash
31389 ?S  0:49 kmail -caption KMail -icon kmail -miniicon kmail
19124 pts/5S  0:00 /bin/bash
 5632 pts/2S  0:00 qmail-send
 5634 pts/2S  0:00 qmail-lspawn ./Mailbox
 5635 pts/2S  0:00 qmail-rspawn
 5636 pts/2S  0:00 qmail-clean
 6970 ?S  0:00 kdeinit: kio_pop3
 1745 pts/2R  0:00 ps ax
 1787 pts/2R  0:00 /usr/local/bin/tcpserver -v -p -x 
/etc/tcp.smtp.cdb -

-- 
Casey Allen Shobe / ASI Technologies
[EMAIL PROTECTED] / [EMAIL PROTECTED]
UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686



RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> > > I tried adding localhost to rcpthosts (seemed stupid), but that
> > > just made my mails get retrieved successfully, but not
> > > delivered (they apparently vanished since I haven't found them.
> >
> > OK...What do the logs say when mail is delivered to user@localhost?
>
> which logs where?

Um...your mail logs?

OK You haven't given any details on your config. Either /var/log/maillog or
/var/log/qmail/send/current depending on whether you are using syslog or
multilog. You know, the logs that tell you what is happening to mail on your
system? Fetchmail retrieves mail off a server, and delivers it locally using
SMTP, so you have to have an SMTP server (ie qmail) which stores its own
logs. What does YOURS say? (Following...another private e-mail)

> There's a whole bunch of these in /var/log/qmail/smtpd/current.  Is this a
> problem?
>
> @400039d86160081d2fc4 tcpserver: fatal: unable to bind: address
already
> used@400039d8616009694764 tcpserver: fatal: unable to bind: address
> already used@400039d861600a9d858c tcpserver: fatal: unable to bind:
> address already used@400039d861600bea7fbc tcpserver: fatal: unable to
> bind: address already used@400039d861600d225bac tcpserver: fatal:
unable
> to bind: address already used

Yes, that is a problem. Your qmail setup is bad. Something else is trying to
steal port 80 so that qmail-smtpd (I presume...once again, no details) can't
run. What does 'ps ax' give, and what is your tcpserver line to start qmail
and any other tcpserver daemons?

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/




RE: How to make fetchmail work with qmail?

2000-10-02 Thread Brett Randall

> I tried adding localhost to rcpthosts (seemed stupid), but that
> just made my mails get retrieved successfully, but not
> delivered (they apparently vanished since I haven't found them.

OK...What do the logs say when mail is delivered to user@localhost?

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/


> -Original Message-
> From: Casey Allen Shobe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 02, 2000 8:14 PM
> To: qmail
> Subject: How to make fetchmail work with qmail?
>
>
> After 2 days, I think I have qmail mostly working.
>
> However, when I try to use fetchmail: it generates this:
> reading message 1 of 4 (4025 octets)
> fetchmail: SMTP< 220 cshobe.myip.org ESMTP
> fetchmail: SMTP> EHLO localhost
> fetchmail: SMTP< 250-cshobe.myip.org
> fetchmail: SMTP< 250-PIPELINING
> fetchmail: SMTP< 250 8BITMIME
> fetchmail: SMTP> MAIL
> FROM:<[EMAIL PROTECTED]>
> BODY=7BIT
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> RCPT TO:
> fetchmail: SMTP< 553 sorry, that domain isn't in my list of
> allowed rcpthosts
> (#5.7.1)
> fetchmail: SMTP listener doesn't like recipient address `cshobe@localhost'
> fetchmail: SMTP< 220 cshobe.myip.org ESMTP
> fetchmail: SMTP> HELO localhost
> fetchmail: SMTP< 250 cshobe.myip.org
> fetchmail: SMTP> MAIL FROM:
> fetchmail: SMTP< 250 ok
> fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
> fetchmail: SMTP< 553 sorry, that domain isn't in my list of
> allowed rcpthosts
> (#5.7.1)
> fetchmail: SMTP> RCPT TO:
> fetchmail: SMTP< 553 sorry, that domain isn't in my list of
> allowed rcpthosts
> (#5.7.1)
>

>
> --
> Casey Allen Shobe / ASI Technologies
> [EMAIL PROTECTED] / [EMAIL PROTECTED]
> UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
> Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686
>




How to make fetchmail work with qmail?

2000-10-02 Thread Casey Allen Shobe

After 2 days, I think I have qmail mostly working.

However, when I try to use fetchmail: it generates this:
reading message 1 of 4 (4025 octets)
fetchmail: SMTP< 220 cshobe.myip.org ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-cshobe.myip.org
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> 
BODY=7BIT
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)
fetchmail: SMTP listener doesn't like recipient address `cshobe@localhost'
fetchmail: SMTP< 220 cshobe.myip.org ESMTP
fetchmail: SMTP> HELO localhost
fetchmail: SMTP< 250 cshobe.myip.org
fetchmail: SMTP> MAIL FROM:
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)

I tried adding localhost to rcpthosts (seemed stupid), but that just made my 
mails get retrieved successfully, but not delivered (they apparently vanished 
since I haven't found them.

-- 
Casey Allen Shobe / ASI Technologies
[EMAIL PROTECTED] / [EMAIL PROTECTED]
UIN: 1494523 / IRC: cshobe / http://cshobe.myip.org
Slackware 7.1 / Linux Echelon-Pro 2.4.0-test8 i686



Re: fetchmail & qmail

2000-08-14 Thread Dave Sill

Sergei Smirnov <[EMAIL PROTECTED]> wrote:

>all mail to my domain my isp send to user "domain". every 600 sec
>fetchmail flush & received mail. but in local server the mail stored to
>maildir owner "domain". normal, the mail must store to maildir owner
>"anyuser"
>fetchmail-5.4.5 are running:
>fetchmail --qvirtual Delivered-To: --envelope Delivered-To:
>
>--
>Return-Path:  <[EMAIL PROTECTED]>
>Delivered-To:  domain@localhost
>Received:  (qmail 16927 invoked by uid 7791); 14 Aug 2000 12:55:31 -
>
>Received:  from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 14
>Aug 2000 12:55:31 -
>Delivered-To:  [EMAIL PROTECTED]
>Received:  from mail.mydomain.com[193.7.14.3] by localhost with POP3
>(fetchmail-5.4.5) for domain@localhost (single-drop); Mon, 14 Aug 2000
>16:55:31 +0400 (MSD)
>Received: (qmail 14646 invoked from network); 14 Aug 2000 12:45:49 -
>
>To: [EMAIL PROTECTED]
>--

Did you have a question?

-Dave



fetchmail & qmail

2000-08-14 Thread Sergei Smirnov

hi!

all mail to my domain my isp send to user "domain". every 600 sec
fetchmail flush & received mail. but in local server the mail stored to
maildir owner "domain". normal, the mail must store to maildir owner
"anyuser"
fetchmail-5.4.5 are running:
fetchmail --qvirtual Delivered-To: --envelope Delivered-To:

--
Return-Path:  <[EMAIL PROTECTED]>
Delivered-To:  domain@localhost
Received:  (qmail 16927 invoked by uid 7791); 14 Aug 2000 12:55:31 -

Received:  from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 14
Aug 2000 12:55:31 -
Delivered-To:  [EMAIL PROTECTED]
Received:  from mail.mydomain.com[193.7.14.3] by localhost with POP3
(fetchmail-5.4.5) for domain@localhost (single-drop); Mon, 14 Aug 2000
16:55:31 +0400 (MSD)
Received: (qmail 14646 invoked from network); 14 Aug 2000 12:45:49 -

To: [EMAIL PROTECTED]
--

Serg




qmail refuses delivery from fetchmail despite forcecr option

2000-08-09 Thread Bruno Prior

I am new at using qmail, so please forgive me if this is something
really obvious.

I am fetching my mail from my ISP using fetchmail and passing it to
the SMTP port (with qmail as mail server). I believe my ISP is using
qpopper, if that makes any difference. This mostly works fine, but
occasionally I get the following response, which I can't get past (I
get round it by using Netscape to download that message):

fetchmail: SMTP< 451 See http://pobox.com/~djb/docs/smtplf.html.
fetchmail: SMTP listener refused delivery

I have read the suggested web-page, but I already had forcecr on in my
fetchmailrc (having RTFM) and I can't see any other relevant
suggestion of how to fix this. What other FM have I missed?

Incidentally, after a few failed download attempts because of this
problem, my mail spool at the ISP got corrupted. Could this be
connected?

Also incidentally, all the messages that cause this problem come from
this mailing list, which seems ironic.

fetchmail version: 4.4.4 release 2 (this is pretty recent, so
according to the web-page, it ought to be alright)
qmail version: 1.03 release 9

fetchmailrc:

poll mailgate.ftech.net with protocol POP3
user my_user_name there with password my_password is * here
options fetchall forcecr

I have tried playing around with the last line of the fetchmailrc,
taking out "options" and/or "fetchall", in case they confused things,
but it makes no difference.

I would appreciate any help.

Cheers,

Bruno Prior
[EMAIL PROTECTED]



fetchmail bounce headers

2000-08-09 Thread Thomas . Bell

Hi,
sounds a bit like off-topic, doesn't it, hope it is not.
I installed qmail-1.03 following lwq. My fetchmail version is 5.2.4.
In my /etc/tcp.smtp I have the following:
192.168.100.:allow,RELAYCLIENT="",DATABYTES="200"
I get the mails for my users from an outside server via fetchmail, so 
that a message greater than 2 MB bounces. 
My problem is that the bounce from header look like:
fetchmaildaimon@localhost
and I want to change it to [EMAIL PROTECTED], but where can I do 
this?
BTW I want to add some german explanations to the bounce 
message. 

Any hints?
Thanks in advance.
Thomas




Re: using fetchmail on qmail machine

2000-08-04 Thread Vincent Danen

On Fri, Aug 04, 2000 at 09:03:07AM -0700, [EMAIL PROTECTED] wrote:

> > > Unless you lack a loopback interface :-) I believe that localhost should
> > > be in control/locals, at least by default.
> > 
> > Hmmm...  it never put it in mine...  wierd.  Oh well, now I know that
> > this is "normal".  Thanks!
> 
> Hmmm. I use fetchmail in one (admittedly simple) scenario and it doesn't
> require localhost in control/locals

Do you have fetchmail sending to procmail or something?  I have
fetchmail sending it to port 25 on the local machine (ie. qmail) so
qmail still has to do the delivering to my maildirs.  Are you maybe
sending it to something other than port 25?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux uptime: 22 hours 10 minutes.



Re: using fetchmail on qmail machine

2000-08-04 Thread markd

On Fri, Aug 04, 2000 at 09:27:00AM -0600, Vincent Danen wrote:
> On Fri, Aug 04, 2000 at 10:37:03PM +1200, Chris, the Young One wrote:
> 
> > ! I don't know if it's the ``normal'' behavior, but I have localhost in my
> > ! control/locals with the identical setup to you.
> > 
> > $ grep localhost /var/qmail/control/locals
> > localhost
> > 
> > Yep, it's there. From a casual perusal of config.sh in the qmail package
> > it can be seen that it calls a program to get the IP addresses of all
> > interfaces, then puts their PTR lookups into control/locals.
> > 
> > Unless you lack a loopback interface :-) I believe that localhost should
> > be in control/locals, at least by default.
> 
> Hmmm...  it never put it in mine...  wierd.  Oh well, now I know that
> this is "normal".  Thanks!

Hmmm. I use fetchmail in one (admittedly simple) scenario and it doesn't
require localhost in control/locals


Regards.



Re: using fetchmail on qmail machine

2000-08-04 Thread Vincent Danen

On Fri, Aug 04, 2000 at 10:37:03PM +1200, Chris, the Young One wrote:

> ! I don't know if it's the ``normal'' behavior, but I have localhost in my
> ! control/locals with the identical setup to you.
> 
> $ grep localhost /var/qmail/control/locals
> localhost
> 
> Yep, it's there. From a casual perusal of config.sh in the qmail package
> it can be seen that it calls a program to get the IP addresses of all
> interfaces, then puts their PTR lookups into control/locals.
> 
> Unless you lack a loopback interface :-) I believe that localhost should
> be in control/locals, at least by default.

Hmmm...  it never put it in mine...  wierd.  Oh well, now I know that
this is "normal".  Thanks!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux uptime: 20 hours 34 minutes.



Re: using fetchmail on qmail machine

2000-08-04 Thread Vincent Danen

On Fri, Aug 04, 2000 at 12:34:27AM -0400, Peter Green wrote:

> > Can someone let me know if the adding localhost to control/locals is
> > the "normal" behaviour?  I think a lot of people would like to use
> > qmail as their own MTA instead of sendmail or postfix, so knowing
> > this would be of great help to me.
> 
> I don't know if it's the ``normal'' behavior, but I have localhost in my
> control/locals with the identical setup to you.

That's the only way I could get qmail to deliver the mail that
fetchmail was sending it.  FYI, I'm now looking at maildrop as
opposed to procmail...  should be interesting... =)

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux uptime: 20 hours 33 minutes.



Re: using fetchmail on qmail machine

2000-08-04 Thread Chris, the Young One

On Fri, Aug 04, 2000 at 12:34:27AM -0400, Peter Green wrote:
! I don't know if it's the ``normal'' behavior, but I have localhost in my
! control/locals with the identical setup to you.

$ grep localhost /var/qmail/control/locals
localhost

Yep, it's there. From a casual perusal of config.sh in the qmail package
it can be seen that it calls a program to get the IP addresses of all
interfaces, then puts their PTR lookups into control/locals.

Unless you lack a loopback interface :-) I believe that localhost should
be in control/locals, at least by default.

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: using fetchmail on qmail machine

2000-08-03 Thread Peter Green

also sprach vdanen:
> Can someone let me know if the adding localhost to control/locals is
> the "normal" behaviour?  I think a lot of people would like to use
> qmail as their own MTA instead of sendmail or postfix, so knowing
> this would be of great help to me.

I don't know if it's the ``normal'' behavior, but I have localhost in my
control/locals with the identical setup to you.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Sigh.  I like to think it's just the Linux people who want to be on
the "leading edge" so bad they walk right off the precipice.
(Craig E. Groeschel)




using fetchmail on qmail machine

2000-08-03 Thread Vincent Danen

I've got an interesting thing that I can't quite figure out.  It
works, but I'm wondering if this is normal.  I've got a user who is
reading/writing email on a machine with qmail as the MTA for the
domain pellaria.com.  Her email address belongs to the domain
danen.net, which is run on another qmail machine about 5 feet from
her.

I'm using fetchmail to retrieve the email from danen.net, which in
turn sends it to localhost on the pellaria.com machine.  At first
qmail refused to deliver it since fetchmail was sending it to
"adanen@localhost" and qmail was complaining about localhost not
being in control/locals.

Is this normal?  I'm running fetchmail with the --invisible option,
but I'm not sure if it's necessary or not.  I was kind of under the
impression that qmail should deliver the mail to localhost
regardless.  If the username matches to a local user, why not deliver
it?  Obviously I don't want to rewrite the mail to
[EMAIL PROTECTED] because that is not the "preferred" email
address, and she wants to know who is sending to what address (she
has two, one at danen.net and another with our ISP).

The reason I ask is because she is my guineau(sp?) pig.  =)  My work
machine runs sendmail for the mailer but I'd like to switch it to
qmail as well, but I'm hesitant because I get far more mail than she
does.  =)

I was going to use getmail until I found out it delivered directly
to the maildir, which is not what I want (I need to use procmail to
filter mailing lists into seperate mailboxes).

I have written down somewhere how to use procmail in the .qmail file
with preline (I think).  Need to dig that up.

Can someone let me know if the adding localhost to control/locals is
the "normal" behaviour?  I think a lot of people would like to use
qmail as their own MTA instead of sendmail or postfix, so knowing
this would be of great help to me.

Thanks.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux uptime: 9 hours 1 minutes.



qmqp and fetchmail

2000-08-02 Thread Oliver Koch

Hi all

Our institutes mailserver was made a qmqpserver yesterday. As I 
changed my workstaion to use qmqpc to queue the outgoing mails on 
the mailserver I produced a mailloop. Due to the mailaddresses I
collected over time I forward all to our universities central mail
server and use fetchmail to get them to my workstation. Maildrop
sorts the mail and uses qmail as local delivery agent. At this
point it queues the mail again to the institutes mailserver and
completes the loop:

institutes server --(forward)--> central server --(fetchmail)-->
workstation --(maildrop,qmail)--> institutes server ...

How can I break that loop? My workstations FQDN is in the 
control/locals.

Thanks for your help,

-- 
Oliver Koch   Registered Linux User 163952
 
"Virtual" means never knowing where your next byte is coming from.



vpopmail/qmailadmin with fetchmail and maildirsmtp: where to start?

2000-07-18 Thread michael . renner

Hello,
I run a small internal network. All mails for the
employees are transfered through an isdn dial-up
line. I use fetchmail, qmail therefor, mails are
sent by using maildirsmtp.
Every mail-user needs an own account on this
linux router, which is not needful for the normal
work.

Now I installed vpopmail and qmailadmin to
change this, but I dont know where to start!

How do I have to configure fetchmail to transfer
the mails not to the system users (I fetch mails from a
multidrop mailbox with pop3)?
What else do I have to change? And how should I
handle these users, which still needs a
user account on this router/gateway/mailer as
well as a mailaccount?

Thanks in advance for hints and pointers to the
documentation.
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED] < /dev/null
mail -s "get gpg key" [EMAIL PROTECTED] < /dev/null
|Don't drink as root!ESC:wq



Re: fetchmail woes contined...

2000-07-14 Thread Charles Cazabon

Thomas Duterme <[EMAIL PROTECTED]> wrote:
> 
> I've got a gut feeling I am missing something really obvious.  Basically,
> I need smtpname to be set to the orginal rcpt of the message.
> 
> So, the idea is to change fetchmail source so that fetchmail will 
> use the original messages 'Delivered-To' header line for the local SMTP 
> transactions RCPT line.  This will ensure correct sorting of email on 
> localhost.
> 
> Using MDA doesn't solve the problem since it may lose mail if the 
> mail address doesn't exist (ie no bounced mails)  Also, with MDA
> if I forward my existing webmail to the remote server and then fetch
> mail back down to localhost, this forwarded mail gets lost.  

Perhaps try something other than fetchmail, which doesn't even try to
do delivery by re-injecting with SMTP (that's just a recipe for bounced
mail).

You could try my own program, getmail.  It's simple to use, and does local
deliveries directly into Maildirs (or mboxes, if you prefer).
It's very simple to set up, and determines local recipients based on the
contents of the Delivered-To: header as a first choice.

You can get it at http://www.qcc.sk.ca/~charlesc/software/getmail/

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



fetchmail woes contined...

2000-07-13 Thread Thomas Duterme

Hi folks,

I'm still a bit confused on how to use Fetchmail properly and hope
some of you can help.

We have a remote server which uses one cyrus imap account for the entire
company mail.  Joe, bob, and john all have @madeforchina.com accounts 
which (unless have .qmail aliases) will go to the default which is 
an imap account called 'temp'.  I'd like to fetch 'temp' down to a local
server and have mail sorted by user on local.

1) Fetch from the imap account called 'company'
2) fetchmail pops all mail to local which pipes it to local smtp
3) local SMTP uses default --smtpname (ie root@localhost)
4) qmail can't deliver to root@localhost and so all mail bounces

I've got a gut feeling I am missing something really obvious.  Basically,
I need smtpname to be set to the orginal rcpt of the message.

So, the idea is to change fetchmail source so that fetchmail will 
use the original messages 'Delivered-To' header line for the local SMTP 
transactions RCPT line.  This will ensure correct sorting of email on 
localhost.

Using MDA doesn't solve the problem since it may lose mail if the 
mail address doesn't exist (ie no bounced mails)  Also, with MDA
if I forward my existing webmail to the remote server and then fetch
mail back down to localhost, this forwarded mail gets lost.  

Any help on the above would be appreciated.

Thomas



Re: fetchmail

2000-07-12 Thread dsr

On Wed, Jul 12, 2000 at 02:27:33PM -0400, Paul Schinder wrote:
> At 2:09 PM -0400 7/12/00, [EMAIL PROTECTED] wrote:
> >Tell fetchmail to deliver to procmail, which can easily deliver to a
> >Maildir.
> 
> There's no need unless you want to use procmail's abilities.  By 
> default fetchmail delivers to port 25 on the local machine, and qmail 
> certainly knows how to deliver to a Maildir.
> 
> (I also found the question a little strange.  Configuring fetchmail 
> to deliver to qmail is straightforward and well documented.)

Sure... but everyone wants to use procmail!

-dsr-



Re: fetchmail

2000-07-12 Thread Paul Schinder

At 2:09 PM -0400 7/12/00, [EMAIL PROTECTED] wrote:
>On Wed, Jul 12, 2000 at 06:42:51PM +, Thomas Duterme wrote:
>>  This is taken from some documentation on fetchmail.  Is there anyway I can
>>  inject things back into Maildir instead of mbox?  (my other solution is to
>>  start hacking the fetchmail source)
>>
>
>If I understand you correctly -- and I'm not certain I do -- you want
>fetchmail to deliver into a Maildir?
>
>Tell fetchmail to deliver to procmail, which can easily deliver to a
>Maildir.

There's no need unless you want to use procmail's abilities.  By 
default fetchmail delivers to port 25 on the local machine, and qmail 
certainly knows how to deliver to a Maildir.

(I also found the question a little strange.  Configuring fetchmail 
to deliver to qmail is straightforward and well documented.)

>
>Example:
>
>mda "/usr/bin/procmail  -d %T"
>
>and in .procmailrc
>
>:0
>~/Maildir/
>
>-dsr-

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]



Re: fetchmail

2000-07-12 Thread dsr

On Wed, Jul 12, 2000 at 06:42:51PM +, Thomas Duterme wrote:
> This is taken from some documentation on fetchmail.  Is there anyway I can
> inject things back into Maildir instead of mbox?  (my other solution is to
> start hacking the fetchmail source)
> 

If I understand you correctly -- and I'm not certain I do -- you want
fetchmail to deliver into a Maildir?

Tell fetchmail to deliver to procmail, which can easily deliver to a
Maildir. 

Example:

mda "/usr/bin/procmail  -d %T"

and in .procmailrc

:0
~/Maildir/

-dsr-



Re: fetchmail

2000-07-12 Thread Olivier M.

On Wed, Jul 12, 2000 at 06:42:51PM +, Thomas Duterme wrote:
> This is taken from some documentation on fetchmail.  Is there anyway I can
> inject things back into Maildir instead of mbox?  (my other solution is to
> start hacking the fetchmail source)

you could try getmail, which has Maildir suport:
http://freshmeat.net/appindex/2000/01/01/946764831.html

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland


 PGP signature


fetchmail

2000-07-12 Thread Thomas Duterme

This is taken from some documentation on fetchmail.  Is there anyway I can
inject things back into Maildir instead of mbox?  (my other solution is to
start hacking the fetchmail source)

Thanks.
Thomas

Ensure the option `envelope Delivered-To:' is in the fetchmail config file. 
Ensure you have a localdomains containing 'userdom.dom.com' or
`userhost.dom.com' respectively. 
So far this reliably delivers messages to the correct machine of the local
network, to deliver to the correct user the 'mbox-userstr-' prefix must be
stripped off of the user name. This can be done by setting up an alias
within the qmail MTA on each local machine. Simply create a dot-qmail file
called '.qmail-mbox-userstr-default' in the alias directory (normally
/var/qmail/alias) with the contents:
| ../bin/qmail-inject -a -f"$SENDER" "${LOCAL#mbox-userstr-}@$HOST"




Re: Mails vanished when remote2local via fetchmail

2000-07-05 Thread Charles Cazabon

Karl Voit <[EMAIL PROTECTED]> wrote:
> 
> > Now here's my problem:
> > 
> > When my fetchmail sends all mails from my provider-server (sbox) to my
> > server (tux), the mails don't come to my account. In fact, I don't know,
> > where they're delivered to anyway :(

The biggest problem here is that you're re-injecting non-local messages via
SMTP, which is fetchmail's default mode of operation.

Perhaps try using a different POP3 mail retrieval program which has fewer
bugs and doesn't cause mail loops and strange bounces -- my own "getmail",
for instance.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Mails vanished when remote2local via fetchmail

2000-07-05 Thread Karl Voit

On Wed, 5 Jul 2000, Dave Sill wrote:

> Karl Voit <[EMAIL PROTECTED]> wrote:
> 
> >> When my fetchmail sends all mails from my provider-server (sbox) to my
> >> server (tux), the mails don't come to my account. In fact, I don't know,
> >> where they're delivered to anyway :(
> 
> That's a fetchmail issue. What's in your .fetchmailrc? Have you looked 
> in alias's mailbox?

no, it was qmail:

> >> starting delivery 157: msg 57507 to remote vk@localhost
> 
> "localhost" is remote? What's in control/locals?

oops! I forgot to add localhost to locals.
better: I suggested that localhost is covered through the entry of
tux.dyn.priv.at which is my machine here ;)
 
> >... and ALL mails e.g. from this mailinglist aren't accepted too (because
> >the address of the mailinglist has no alias yet and the default doesn't
> >work?).
> 
> First, qmail has to be told that localhost is local. Then you can use
> ~alias/.qmail-default to catch mail to all addresses that don't match
> existing users or aliases.

THANK you VERY much!
I was stucked here and I almost began to test silly things that _might_ be
the reason ;)


Karl VOIT, [EMAIL PROTECTED]
 Student @ University of Technology of GRAZ (Austria/Europe)
 http://www.sbox.tu-graz.ac.at/home/v/vk/




Re: Mails vanished when remote2local via fetchmail

2000-07-05 Thread Dave Sill

Karl Voit <[EMAIL PROTECTED]> wrote:

>> When my fetchmail sends all mails from my provider-server (sbox) to my
>> server (tux), the mails don't come to my account. In fact, I don't know,
>> where they're delivered to anyway :(

That's a fetchmail issue. What's in your .fetchmailrc? Have you looked 
in alias's mailbox?

>> starting delivery 157: msg 57507 to remote vk@localhost

"localhost" is remote? What's in control/locals?

>... and ALL mails e.g. from this mailinglist aren't accepted too (because
>the address of the mailinglist has no alias yet and the default doesn't
>work?).

First, qmail has to be told that localhost is local. Then you can use
~alias/.qmail-default to catch mail to all addresses that don't match
existing users or aliases.

-Dave



Re: Mails vanished when remote2local via fetchmail

2000-07-05 Thread Karl Voit


> Now here's my problem:
> 
> When my fetchmail sends all mails from my provider-server (sbox) to my
> server (tux), the mails don't come to my account. In fact, I don't know,
> where they're delivered to anyway :(
> 
> Jul  5 19:03:36 tux qmail: 962816616.563087 delivery
> 160: success: 
>131.193.178.181_accepted_message./Remote_host_said:_250_ok_962816718_qp_16945/
> Jul  5 19:03:36 tux qmail: 962816616.563833 status: local 0/10 remote 0/20
> Jul  5 19:03:36 tux qmail: 962816616.564363 end msg 57511 
> 
> ... seems to be a positive entry but noone got this mail on my server tux
> :(
> 
> 
> 
> ADDITIONAL:
> starting delivery 157: msg 57507 to remote vk@localhost
> tux qmail: 962816613.462226 status: local 1/10 remote 2/20
> tux qmail: 962816613.560570 delivery
> 157: failure: 
>Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> tux qmail: 962816613.561463 status: local 1/10 remote 1/20
> tux qmail: 962816613.588289 bounce msg 57507 qp 8679
> tux qmail: 962816613.589109 end msg 57507
> 
> ... so all mails to vk@localhost (sent from vk@tux to vk@sbox and again to
> vk@sbox) get stucked but I want it that way! ("localhost" already added to
> rctphosts)

... and ALL mails e.g. from this mailinglist aren't accepted too (because
the address of the mailinglist has no alias yet and the default doesn't
work?).

I'm getting nervous here and I'm thinking of deleting qmail again and
switching to another MTA :(

HOW can I make qmail clear, that it has to accept ALL of the incoming
mails and send ALL of them (except those which are addressed to another 
local user) to the local user vk It seems to me that this is
impossible - at least for me as a non-guru %-}

Do I really have create an alias for _every_ address, qmail has to deliver
to local users? (I am not able to make this aliases work anyway - see
previous mail from me)

HELP!


Karl VOIT, [EMAIL PROTECTED]
 Student @ University of Technology of GRAZ (Austria/Europe)
 http://www.sbox.tu-graz.ac.at/home/v/vk/




Mails vanished when remote2local via fetchmail

2000-07-05 Thread Karl Voit

On Tue, 4 Jul 2000, wolfgang zeikat wrote:

> Also sprach Karl Voit <[EMAIL PROTECTED]> on 04.07.2000:
> 
> >Ow. This is getting complicated now :(
> 
> No its not. its logical:

;)
I ment _my_ needs/configuration.

> [EMAIL PROTECTED] connects to your qmail via SMTP
> with a mail for [EMAIL PROTECTED]
> 
> now qmail checks rcpthosts to find out if whatever.com is a host it
> accepts mail for - for delivery. if yes, it delivers them according to
> your qmail setup.

I do not know how to set up aliases. At least I get no information out of
the man-pages!
So I guessed, what I have to do:
touch ~alias/.qmail-testuser
edit ~alias/alias and added:

File : ".qmail-testuser"
&vk 

I guess this would send all testuser@ to
the local user vk.

btw, I also added the .qmail-default.
 
Now here's my problem:

When my fetchmail sends all mails from my provider-server (sbox) to my
server (tux), the mails don't come to my account. In fact, I don't know,
where they're delivered to anyway :(

Jul  5 19:03:36 tux qmail: 962816616.563087 delivery
160: success: 
131.193.178.181_accepted_message./Remote_host_said:_250_ok_962816718_qp_16945/
Jul  5 19:03:36 tux qmail: 962816616.563833 status: local 0/10 remote 0/20
Jul  5 19:03:36 tux qmail: 962816616.564363 end msg 57511 

... seems to be a positive entry but noone got this mail on my server tux
:(



ADDITIONAL:
starting delivery 157: msg 57507 to remote vk@localhost
tux qmail: 962816613.462226 status: local 1/10 remote 2/20
tux qmail: 962816613.560570 delivery
157: failure: 
Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
tux qmail: 962816613.561463 status: local 1/10 remote 1/20
tux qmail: 962816613.588289 bounce msg 57507 qp 8679
tux qmail: 962816613.589109 end msg 57507

... so all mails to vk@localhost (sent from vk@tux to vk@sbox and again to
vk@sbox) get stucked but I want it that way! ("localhost" already added to
rctphosts)


Karl VOIT, [EMAIL PROTECTED]
 Student @ University of Technology of GRAZ (Austria/Europe)
 http://www.sbox.tu-graz.ac.at/home/v/vk/




help with fetchmail/qmail interaction

2000-07-04 Thread Martin Langhoff

hi,

i've got server A online, running qmail with vmailmgr and user
SCIMNET handling all the virtualdomain SCIM.NET

I've got my intranet server, which runs in a similar fashion, and
connects to the internet regularly and runs fetchmail. It has the same
v-users configured under the SCIMNET user.

I've been reading the docs on fetchmail (specially the man pages and
the FAQ) and can't get the sample settings for qmail to work. Under my
scimnet user in my intranet server I've got a .fetchmail file that says
(mostly) this:

-
defaults
qvirtual "scimnet-"
smtpaddress "scim.net"
forcecr
fetchtall
keep # at least until it works!

# and this one for a test-user
poll mail.scim.net with protocol pop3
no dns
envelope "Delivered To:
user scimnet-test # for [EMAIL PROTECTED]
password xx

-

I've read in the docs that its feasible to setup a .fetchmail file
that will get the emails for all the possible v-users, but I can't
really get not even 1 user to work! I really though that the qvirtual
setting plus the smtpaddress setting would strip the scimnet- part from
the username and append the resulting user to the server's address.

Right now I'm lost, dazed and confused. Is there anyone that's got
it working? Fetchmail is 5.4.0 by the way...


martin




Re: qmail-smtpd and fetchmail

2000-06-20 Thread Mikko Hänninen

crond <[EMAIL PROTECTED]> wrote on Tue, 20 Jun 2000:
> Is there a way to make fetchmail use this alternative combined with
> qmail?

I have the following line in my .fetchmailrc:

  mda "/var/qmail/bin/qmail-inject -a someuser"

Although that's actually something I don't use currently, but I think
I've tested that it works.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
[Please insert a quarter in Drive A: for the next signature quote.]



qmail-smtpd and fetchmail

2000-06-20 Thread crond

Q 1: Is it possible to run qmail-smtpd as a standalone server and *not*
from the inetd metaserver (or similar)? How?

Q 2: I really have no use for a smtpd server other than for fetchmail,
because it connects to localhost. But it is possible to make it otherwise,
I quote from the fetchmail manual page:

   -m , --mda 
  (Keyword: mda) You can force mail to be  passed  to
  an  MDA directly (rather than forwarded to port 25)
  with the -mda or -m option.   Be  aware  that  this
  disables  some  valuable resource-exhaustion checks
  and error handling provided by SMTP listeners; it's
  not  a good idea unless running an SMTP listener is
  impossible.  If fetchmail is running  as  root,  it
  sets  its  userid  to that of the target user while
  delivering mail through an MDA.  Some possible MDAs
  are"/usr/sbin/sendmail-oem   -f   %F   %T",
  "/usr/bin/deliver" and  "/usr/bin/procmail  -d  %T"
  (but  the  latter is usually redundant as it's what
  SMTP listeners usually forward to).  Local delivery
  addresses  will  be  inserted  into the MDA command
  wherever you place a %T; the  mail  message's  From
  address will be inserted where you place an %F.  Do
  not use an MDA invocation like "sendmail  -oem  -t"
  that  dispatches  on  the contents of To/Cc/Bcc, it
  will create mail loops and bring the just wrath  of
  many postmasters down upon your head.


Is there a way to make fetchmail use this alternative combined with
qmail?

Thanks.

crond@undernet
Norwegian Linux Community
Innovation Networking






qmail, vpopmail, forcecr, and fetchmail errors

2000-06-12 Thread Steven Lewis

hi,

I been running qmail 1.03, vpopmail, and fetchmail on mandrake 6.1 for
about 5 months now, with no (serious) problems.
however I get the follow errors:
(which are more likely to be fetchmail's [anyone the mailing list address? -
I have no web access!!])

About to rewrite To: [EMAIL PROTECTED]
Rewritten version is To: [EMAIL PROTECTED]

fetchmail: no local matches, forwarding to postmaster
fetchmail: forwarding to mclsupport.co.uk
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
    fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
#*fetchmail: terminated with signal 13

The postmaster never gets these mails, they just don't exist. However
because of the 'bomb out' the next time I dial up the same result occurs and
I end up trapped in a loop, of check mail, get the once in the list above
the erroring one, then bomb out.  I only spot this when I get the same mail
every 30 mins. Then have to delete the mail from the ISP's server.

It's currently only the mailing list shown above [that breaks thing], so I
need to know how to block there domain or fix fetchmail/qmail to work
(prefered option).

BTW: I've checked the ISP's message source and it doesn't contain a 'for' in
any of the received section.

If anyone has any ideas (or who to ask), solutions, or even hints on what to
change I would be very grateful..

CheerS

steve


also BTW:
But during that time ever mail received mail from my ISP produces the
following error: (or something very close -i.e. change the vaules). Does
this show a somehow broken but working qmail/fetchmail

fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 ok
    fetchmail: SMTP> DATA
fetchmail: SMTP< 354 go ahead
#******fetchmail: message 58 was not the
expected length (2300 actual != 2331 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 ok 960810641 qp 29619

the mail loads okay, and gets deleted of the ISP's system, and I assume that
it a functions of using forcecr (see below in the fetchmail rc)


Dot fetchmailrc file:
# start

defaults
no dns
user mclsupport
no keep
no flush
forcecr
pass8bits
smtphost mclsupport.co.uk
fetchall

# Use this for production
poll mail.netdirect-online.co.uk with protocol POP3:
localdomains mclsupport.co.uk mclsupport.ndo.co.uk aka
linekar.hosts.netdirect-online.co.uk
envelope 1 Received  # required to pickup mailing list stuff
okay from ISP multidrop
user mclsupport
password  is *;

### end .fetchmailrc file 


CheerS

steve





Re: pop mail from isp wit fetchmail

2000-05-28 Thread Marco Leeflang

Marco Leeflang wrote:
> 
> I setup qmail with several virtual domains and it works great for
> several months.
> every time the linux-box connect to my isp, the isp try to deliver mail
> waiting in the popbox.
> qmail deliver this mail to the users in the virtual domains.
> right now i want to force retreiving mail from my isp by using
> fetchmail.
> 
> i can retreive the mail from my isp but all mail is delivered to
> root@localhost, thats not wat i want.
> 
> Someone experience with qmail/fetchmail combination or another tool to
> retreive mail from isp's en local deliver to de virtual domains.
> 
> greetings,
> marco leeflang

Thanks to all, it works now the way i want it.

i have a single pop account where all mail for 2 domains are collected
where each domain has about 300 email-addresses

normally when i connect to the isp, the isp put all mail waiting in the
pop-box to port 25 so i never had to retreive mail by myself.

but if a connection is up and mail is sitting in the isp popbox it takes
a long time until this mail is sent by the isp, so i want fetchmail to
collect this mail
i put fetchmail in multidrop mode to collect all mail from the isp and
deliver it to qmail who takes care of delivering it to the right local
pop-box.

/etc/fetchmail.conf :

defaults
   
forcecr 
   
fetchall
set
invisible   
poll pop3.demon.nl proto pop3 timeout 50 localdomains domain1.nl
domain2.nl user username password topsecret is *
here  

i run fetchmail from cron :

fetchmail -n -f /etc/fetchmail.conf 

thanks to all to put me in the right direction


greetings
marco leeflang



Re: pop mail from isp wit fetchmail

2000-05-28 Thread Peter Green

also sprach marco:
> fetchmail retreives mail from my ISP this part works, what i don't want
> is to put all my email/pop users in the fetchmail config file.
> i want fetchmail to retreive mail from my isp and don't want fetchmail
> to do anything with the message-header but deliver this maill to qmail,
> and qmail put it to the right maildir.

I'm not sure if this is possible, but it seems that fetchmail *has* to know
which POP3 mailboxes you wish to download, doesn't it?! I don't know how it
would know if you don't specify them in a control file somewhere.

> how can i tell fetchmail to do nothing with the header.

Check out the --invisible option to see if it does what you want...

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Probably the earliest fly swatters were nothing more than some sort of 
striking surface attached to the end of a long stick.
 (Jack Handey)




Re: pop mail from isp wit fetchmail

2000-05-28 Thread Marco Leeflang

Darren Wyn Rees wrote:
> 
> On Sun, May 28, 2000 at 05:05:35PM +0200, Marco Leeflang wrote:
> 
> > i can retreive the mail from my isp but all mail is delivered to
> > root@localhost, thats not wat i want.
> 
> In your .fetchmailrc file, you need something like this :
> 
> defaults
> forcecr
> fetchall
> batchlimit 300
> fetchlimit 5000
> poll pop3.demon.nl protocol pop3 timeout 50
>  user [EMAIL PROTECTED] password YOURPASS is YOURUSER here
>  user [EMAIL PROTECTED] password YOURPASS is YOURUSER2 here
>   ^^
>  |
>   The syntax may be slightly different here, as some pop3 daemons
> use "marco+yourhost.demon.nl" etc.  The line translates into English as,
> "fetch mail addressed to [EMAIL PROTECTED] and forward it locally
> to YOURUSER".
> 
> You'll need a default 'catchall' line in the above,
> (user yourhost.demon.nl etc.), or some mail will sit unretrieved on
> the mail server.
> 
> The above is a rather simple configuration.  Read the man pages
> for far more elaborate polling/forwarding options.  Also, you need
> to put 'localhost' in your /var/qmail/control/rcpthosts ctl file IIRC.
> 
> Demon (UK) offer smtp delivery of mail for their customers.  You'll
> need to consider this issue when polling for mail if you too are offered this.
> Read the Customer Support FAQs available from www.demon.nl
> 
> > Someone experience with qmail/fetchmail combination or another tool to
> > retreive mail from isp's en local deliver to de virtual domains.
> 
> fetchmail is more than adequate for the task.  It worked
> fine with my Demon (UK) a/c.  The newsgroup demon.tech.unix is
> a good place to ask ISP-specific questions about fetchmail configuration.
> 
> --
> this is my .sig, show me yours

fetchmail retreives mail from my ISP this part works, what i don't want
is to put all my email/pop users in the fetchmail config file.
i want fetchmail to retreive mail from my isp and don't want fetchmail
to do anything with the message-header but deliver this maill to qmail,
and qmail put it to the right maildir.
how can i tell fetchmail to do nothing with the header.

greetings,

marco leeflang



Re: pop mail from isp wit fetchmail

2000-05-28 Thread Manfred Bartz

Marco Leeflang <[EMAIL PROTECTED]> writes:

> I setup qmail with several virtual domains and it works great for
> several months.
> every time the linux-box connect to my isp, the isp try to deliver mail
> waiting in the popbox.
> qmail deliver this mail to the users in the virtual domains.
> right now i want to force retreiving mail from my isp by using
> fetchmail.
> 
> i can retreive the mail from my isp but all mail is delivered to
> root@localhost, thats not wat i want.

I have a similar setup and my ISP adds a ``X-Envelope-To'' header to
the emails.  This allows me to direct the email locally.  fetchmail
(with mda option) gets the mail from the pop server and delivers it to
procmail which then redirects it locally according to the
``X-Envelope-To'' header.

Here are extracts from my config files:

/etc/fetchmail.conf:
defaults fetchall forcecr 
mda "procmail "
poll my.isps.net protocol pop3
username "me"
password "topsecret"

/etc/procmailrc:
:0
* ^X-Envelope-To:.*(root|master)@xix\.com
! [EMAIL PROTECTED]

:0
* ^.*From:.*egreetings\.com
/dev/null

:0
* ^X-Envelope-To:.*user1@xix\.com
! [EMAIL PROTECTED]

:0
* ^X-Envelope-To:.*(mob|.*bartz|manfred.*)@xix\.com
! [EMAIL PROTECTED]


HTH
-- 
Manfred Bartz  <[EMAIL PROTECTED]>  PGP_ID=0xF172019B



pop mail from isp wit fetchmail

2000-05-28 Thread Marco Leeflang

I setup qmail with several virtual domains and it works great for
several months.
every time the linux-box connect to my isp, the isp try to deliver mail
waiting in the popbox.
qmail deliver this mail to the users in the virtual domains.
right now i want to force retreiving mail from my isp by using
fetchmail.

i can retreive the mail from my isp but all mail is delivered to
root@localhost, thats not wat i want.

Someone experience with qmail/fetchmail combination or another tool to
retreive mail from isp's en local deliver to de virtual domains.

greetings,
marco leeflang



bad qmail-fetchmail interaction

2000-05-22 Thread clemensF

everybody will still recall the nuisance with a certain party named:
<[EMAIL PROTECTED]> .  to dump these nessages
automatically, i put this host into control/badmailfrom.  here's what
happens when fetchmail meets qmail on this topic.  it renders the
mechanisms badmailfrom, databytes and the likes useless, if qmail always
blurts out his dismay asynchronically, because like in human interaction:
timing is essential!

fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 4993 octets
fetchmail: reading message 1 of 37 (4993 bytes)
fetchmail: SMTP< 220 spotteswoode.de ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-spotteswoode.de
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
fetchmail: SMTP listener doesn't like recipient address `root@localhost'
fetchmail: SMTP> RCPT TO:
fetchmail: SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
fetchmail: can't even send to postmaster!
fetchmail: POP3> QUIT
fetchmail: POP3< This is a MIME-encapsulated message
fetchmail: SMTP transaction error while fetching from pop.gmx.de
fetchmail: Query status=10

-- 
clemens  [EMAIL PROTECTED]
do  D4685B884894C483



fetchmail + qmail, socket error

2000-04-27 Thread joe




Hi all,
    I encounter the follow 
problem. Can anyone drop hints for me.
My configuration:
Red Hat : 6.0+CLE v0.8
qmail:1.03
fetchmail: 5.0
 
I setup dialup on demand for crond to retrieve mail from ISP 
through fetchmail. Every thing is work properly. However, if i retrivev a mail 
which the size
is greater(1M). The fetchmail will come up with socket error 
Query Status=2
By fetchmail FAQ,  I have set 
the following in my ppp options file
mtu 552
mru 552
 
but the error still occur. Can anyone know why?
 
Joe
 
 
 


Re: multi domain problem, fetchmail?!

2000-04-04 Thread Charles Cazabon

Seyyed Hamid Reza Hashemi Golpayegani <[EMAIL PROTECTED]> wrote:
> 
> Thanks ! but is there any way that we can solve this problem only with
> .qmail file not with virtual domains ?

> > Seyyed Hamid Reza Hashemi Golpayegani <[EMAIL PROTECTED]> wrote:
> > > we have several domains hosted on our machine, we
> > > want to store all of the emails for one of our domains
> > > into someone's mailbox.
> > > for example:
> > > we have boshra.net and sgc-iran.com, we want to deliver
> > > any email on this domain (for example [EMAIL PROTECTED],
> > > [EMAIL PROTECTED],  and in general [EMAIL PROTECTED])
> > > to one e-mail address on boshra.net that is:
> > > [EMAIL PROTECTED]
> > > how can we do that?


But you already said you're hosting several domains on that machine -- 
obviously they're not all local -- or are they?

If you want _all_ mail for one domain delivered into a single Maildir,
a virtual domain is a perfect solution.  Why don't you want to do this?
Perhaps if you tell us what problem you're trying to solve (rather than
how to implement the solution you've already picked out) we can offer
some better advice.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: multi domain problem, fetchmail?!

2000-04-04 Thread Charles Cazabon

Seyyed Hamid Reza Hashemi Golpayegani <[EMAIL PROTECTED]> wrote:
> we have several domains hosted on our machine, we
> want to store all of the emails for one of our domains
> into someone's mailbox.
> for example:
> we have boshra.net and sgc-iran.com, we want to deliver
> any email on this domain (for example [EMAIL PROTECTED],
> [EMAIL PROTECTED],  and in general [EMAIL PROTECTED])
> to one e-mail address on boshra.net that is: 
> [EMAIL PROTECTED]
> how can we do that?

Make the domain virtual.  In virtualdomains, put
domain.net:virtuser

Then in ~alias, make a .qmail-virtuser-default that contains something like:
/users/virtuser/Maildir/

All mail for that virtual domain will end up in that Maildir.
 
Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



  1   2   >