PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > ! How to intall my milter??
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

! How to intall my milter??

Réponse
 
LinkBack Outils de la discussion
Vieux 24/11/2007, 11h29   #1
´óÄñ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ! How to intall my milter??

I have written a milter, but now I cannot install it.

Following the book <Sendmail milters: a guide for fighting spam>, I
add the following lines of codes to the sendmail.mc file.

" NPUT_MAIL_FILTER(`ourmilter Ì, `S=unix:/var/run/ourmilter.sock Ì)
define(`confINPUT_MAIL_FILTERS Ì, `ourmilter Ì)"

However, when I use the command: $sudo make sendmail.cf
the screen will display error: Warning: excess arguments to builtin
`define' ignored


What is the meaning? And how to solve it?

!
  Réponse avec citation
Vieux 24/11/2007, 12h42   #2
Scott Grayban
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ! How to intall my milter??

大鸟 wrote:
> I have written a milter, but now I cannot install it.
>
> Following the book <Sendmail milters: a guide for fighting spam>, I
> add the following lines of codes to the sendmail.mc file.
>
> " NPUT_MAIL_FILTER(`ourmilter Ì, `S=unix:/var/run/ourmilter.sock Ì)
> define(`confINPUT_MAIL_FILTERS Ì, `ourmilter Ì)"
>
> However, when I use the command: $sudo make sendmail.cf
> the screen will display error: Warning: excess arguments to builtin
> `define' ignored
>
>
> What is the meaning? And how to solve it?
>
> !


It's only a warning which you can ignore.
  Réponse avec citation
Vieux 24/11/2007, 13h17   #3
´óÄñ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ! How to intall my milter??

On Nov 24, 7:42Âpm, Scott Grayban <sgray...@NOSPAM-gmail.com> wrote:
> 大鸟 wrote:
> > I have written a milter, but now I cannot install it.

>
> > Following the book <Sendmail milters: a guide for fighting spam>, I
> > add Âthe following lines of codes to the sendmail.mc file.

>
> > " NPUT_MAIL_FILTER(`ourmilter Ì, `S=unix:/var/run/ourmilter.sock Ì)
> > define(`confINPUT_MAIL_FILTERS Ì, `ourmilter Ì)"

>
> > However, when I use the command: $sudo make sendmail.cf
> > the screen will display error: ÂWarning: excess arguments to builtin
> > `define' ignored

>
> > What is the meaning? ÂAnd how to solve it?

>
> > !

>
> It's only a warning which you can ignore.- Hide quoted text -
>
> - Show quoted text -


But after this configuration, the Sendmail doesn't work:-(
  Réponse avec citation
Vieux 24/11/2007, 17h42   #4
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ! How to intall my milter??

In article
<d549471d-9889-4dd5-9c81-8db5ac18cdc5@e10g2000prf.googlegroups.com>
"=?GB2312?B?tPPE8Q==?=" <haopengz@gmail.com> writes:
>I have written a milter, but now I cannot install it.
>
>Following the book <Sendmail milters: a guide for fighting spam>, I
>add the following lines of codes to the sendmail.mc file.
>
>" NPUT_MAIL_FILTER(`ourmilter Ì, `S=unix:/var/run/ourmilter.sock Ì)
>define(`confINPUT_MAIL_FILTERS Ì, `ourmilter Ì)"
>
>However, when I use the command: $sudo make sendmail.cf
>the screen will display error: Warning: excess arguments to builtin
>`define' ignored


Well, your INPUT_MAIL_FILTER() macro is obviously missing the initial
'I', but I guess that may be from sloppy cut'n'paste. And you should not
have the confINPUT_MAIL_FILTERS define(), that is done by
INPUT_MAIL_FILTER() - either use MAIL_FILTER() + define() or only
INPUT_MAIL_FILTER(). But the real problem is that your closing quotes is
som "garbage" character(s) - I guess it's utf-8 for some character that
resembles an apostrophe, but it has to be the real thing (ascii 39
decimal) - like this:

INPUT_MAIL_FILTER(`ourmilter', `S=unix:/var/run/ourmilter.sock')

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Vieux 25/11/2007, 16h18   #5
´óÄñ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ! How to intall my milter??

On Nov 25, 12:42Âam, p...@hedeland.org (Per Hedeland) wrote:
> In article
> <d549471d-9889-4dd5-9c81-8db5ac18c...@e10g2000prf.googlegroups.com>
>
> "=?GB2312?B?tPPE8Q==?=" <haope...@gmail.com> writes:
> >I have written a milter, but now I cannot install it.

>
> >Following the book <Sendmail milters: a guide for fighting spam>, I
> >add Âthe following lines of codes to the sendmail.mc file.

>
> >" NPUT_MAIL_FILTER(`ourmilter Ì, `S=unix:/var/run/ourmilter.sock Ì)
> >define(`confINPUT_MAIL_FILTERS Ì, `ourmilter Ì)"

>
> >However, when I use the command: $sudo make sendmail.cf
> >the screen will display error: ÂWarning: excess arguments to builtin
> >`define' ignored

>
> Well, your INPUT_MAIL_FILTER() macro is obviously missing the initial
> 'I', but I guess that may be from sloppy cut'n'paste. And you should not
> have the confINPUT_MAIL_FILTERS define(), that is done by
> INPUT_MAIL_FILTER() - either use MAIL_FILTER() + define() or only
> INPUT_MAIL_FILTER(). But the real problem is that your closing quotes is
> som "garbage" character(s) - I guess it's utf-8 for some character that
> resembles an apostrophe, but it has to be the real thing (ascii 39
> decimal) - like this:
>
> INPUT_MAIL_FILTER(`ourmilter', `S=unix:/var/run/ourmilter.sock')
>
> --Per Hedeland
> p...@hedeland.org


Yes, the initial "I" is missing from my post but it exsits in the
configure file.
I will try your writing tomorrow. thank you:-)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12573 seconds with 13 queries