Re: Unresolvable domain name e-mail

2002-11-21 Thread Edward Dekkers
 If you need to deliver to multiple users, or if there are local aliases
 that you want sendmail to handle, then you won't be able to use this
 method. It does work well for individual users who run fetchmail to get
 their mail.

Thanks Tony, (and Javier for your reply)

I'm using fetchmail in multi-drop mode. I'm guessing sendmail needs to be
delivering it then right? Or does fetchmail already drop correctly to the
relevant user mailboxes?

As for what Javier said - I AM in fact running spambouncer. This happens
before spambouncer processes the mail for spam. I'm guessing I should try to
set sendmail to accept unresolvable domains and see if spambouncer then
catches the mail?

Regards and thanks so far.

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Unresolvable domain name e-mail

2002-11-20 Thread Yoink!
On Wed, 20 Nov 2002, Edward Dekkers wrote:
 On my system, when fetchmail fetches mail from my ISP, it won't flush mail
 coming from an unresolvable domain. Hence it sists there till I delete it
 manually at the ISP server end. I CAN set sendmail to accept unresolvable
 domains, but I don't really want to fill mailboxes with what is ofcourse,
 spam.

 If I was to allow sendmail to accept the unresolvable domains, can I then
 check for an unresolvable domain with procmail and /dev/null it?

 Is there a nice clean way of doing this?

The fetchmail man page describes a no dns option for your .fetchmailrc

-- 
\ \/ / _   |~\  _ In God We Trust. All Others Pay Cash.
/ \|\  /|+- | |   The world is a comedy to those that think,
/ /\ \\_/| \/ ||__)|_|a tragedy to those who feel. - Horace Walpole



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Unresolvable domain name e-mail

2002-11-20 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20-Nov-2002/11:14 +0800, Edward Dekkers [EMAIL PROTECTED] wrote:
On my system, when fetchmail fetches mail from my ISP, it won't flush mail
coming from an unresolvable domain. Hence it sists there till I delete it
manually at the ISP server end. I CAN set sendmail to accept unresolvable
domains, but I don't really want to fill mailboxes with what is ofcourse,
spam.

If I was to allow sendmail to accept the unresolvable domains, can I then
check for an unresolvable domain with procmail and /dev/null it?

Is there a nice clean way of doing this?


Yes. Tell fetchmail to skip sendmail and deliver directly to procmail.

In the default config, fetchmail delivers via SMTP to localhost:25. You
can tell it to deliver to a specific mail delivery agent using the mda
option in ~/.fetchmailrc:

defaults protocol POP3 fetchall nokeep mda procmail -d $LOGNAME
poll mail.isp.com   username myusername   password mypassword


If you need to deliver to multiple users, or if there are local aliases
that you want sendmail to handle, then you won't be able to use this
method. It does work well for individual users who run fetchmail to get
their mail.

Tony
- -- 
Anthony E. Greene mailto:[EMAIL PROTECTED]
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05  HomePage: http://www.pobox.com/~agreene/
Linux: the choice of a GNU Generation. http://www.linux.org/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D [EMAIL PROTECTED]

iD8DBQE924OxpCpg3WyUI50RAkC9AKCUtRspnoeSPbWpgTiOpa1MMeMlNQCeIqf7
DO0YhjqJexUONqN4S5zAO4Q=
=wOqH
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Unresolvable domain name e-mail

2002-11-20 Thread Edward Dekkers
 The fetchmail man page describes a no dns option for your .fetchmailrc

I know, I'm already using that. It's not fetchmail rejecting the
unresolvable domain, it's sendmail I think. It returns an error to fetchmail
which then causes fetchmail to NOT flush the message as I understand it.

I don't mind telling sendmail to accept unresolvable domains, so that
fetchmail will flush, but is there then a way to delete it before it hits a
user's mailbox?

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Unresolvable domain name e-mail

2002-11-20 Thread Javier Gostling
On Wed, Nov 20, 2002 at 11:14:16AM +0800, Edward Dekkers wrote:

 On my system, when fetchmail fetches mail from my ISP, it won't flush mail
 coming from an unresolvable domain. Hence it sists there till I delete it
 manually at the ISP server end. I CAN set sendmail to accept unresolvable
 domains, but I don't really want to fill mailboxes with what is ofcourse,
 spam.
 
 If I was to allow sendmail to accept the unresolvable domains, can I then
 check for an unresolvable domain with procmail and /dev/null it?
 
 Is there a nice clean way of doing this?

Perhaps what you need is something like SpamAssassin
(http://spamassassin.org/) or SpamBouncer (http://www.spambouncer.org/).
I personally prefer SpamAssassin, because it is less resource hungry.

Cheers,
-- 
Javier Gostling
Ingeniero de Sistemas
Virtualia S.A.
[EMAIL PROTECTED]
Fono: +56 (2) 202-6264 x 130
Fax: +56 (2) 342-8763

Av. Kennedy 5757, of 1502
Las Condes
Santiago
Chile



msg96025/pgp0.pgp
Description: PGP signature