Re: local mail delivery

2004-01-22 Thread me
Fetchmail retrieves mail from remote mail servers and forwards it via 
SMTP, so it can then be read by normal mail user agents such as mutt, 
elm(1) or BSD Mail. It allows all your system MTA's filtering, 
forwarding, and aliasing facilities to work just as they would on normal 
mail.

in short: it is fetched and inserted into your mta

taken from http://www.catb.org/~esr/fetchmail/



greetings
ruediger
mikko wrote:
Hi,

I am wondering how should I setup a server.
I have installed spamassassin, and am using
fetchmail to get mail from another host.
Now, I wouldn't want to install procmail.
I do not understand how the mail travels:

I make a ssh connection to start imapd
on the target mail-host with fetchmail, to
get the mail, but to whom program does
fetchmail give it to? sendmail? Or does it
put it directly in the mailspool?
Some other program?
I have spamd running, so does it know
that sendmail/spool/other is getting these mails,
and would know to scan them?
I am running 5.1 out-of-the-box with
programs installed from a recent ports-tree.
Thank you in advance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: local mail delivery

2004-01-22 Thread Matthew Seaman
On Thu, Jan 22, 2004 at 06:05:09PM +0200, mikko wrote:

 I make a ssh connection to start imapd
 on the target mail-host with fetchmail, to
 get the mail, but to whom program does
 fetchmail give it to? sendmail? Or does it
 put it directly in the mailspool?
 Some other program?

fetchmail(1) generally hands off the received mail to sendmail(8) for
local delivery.  However, you can configure it to pass the mail
directly to procmail(1) or some other local delivery agent if you know
that all the incoming mail is addressed to just one account.  Since
you don't want to use procmail(8), probably that would have to be the
default delivery agent: mail.local(8)

Since you're using spamd, you need some way of feeding the mail to it
for scanning.  That's generally done via procmail rules, but you can
use a sendmail milter instead -- see the mail/spamass-milter port for
example.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: local mail delivery

2004-01-22 Thread me
i made my fetchmail feed it into my exim using my local mailaddress as 
recipient so it will go through amavis, spamassassin and finally 
maildrop so it is inserted into my maildir.



greetings
ruediger
Matthew Seaman wrote:
On Thu, Jan 22, 2004 at 06:05:09PM +0200, mikko wrote:


I make a ssh connection to start imapd
on the target mail-host with fetchmail, to
get the mail, but to whom program does
fetchmail give it to? sendmail? Or does it
put it directly in the mailspool?
Some other program?


fetchmail(1) generally hands off the received mail to sendmail(8) for
local delivery.  However, you can configure it to pass the mail
directly to procmail(1) or some other local delivery agent if you know
that all the incoming mail is addressed to just one account.  Since
you don't want to use procmail(8), probably that would have to be the
default delivery agent: mail.local(8)
Since you're using spamd, you need some way of feeding the mail to it
for scanning.  That's generally done via procmail rules, but you can
use a sendmail milter instead -- see the mail/spamass-milter port for
example.
	Cheers,

	Matthew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]