[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sendmail problem



Hello Rolf,

To /etc/mail/access please add:
216.252.234			RELAY

The IP block and RELAY are separated by Tabs.

You will need to execute:

makemap hash /etc/mail/access < /etc/mail/access

This recreates the hash table everytime you change any of the hash tables
used by sendmail.

The deny table is also used by sendmail for antispam etc. If you want to
prevent mails from lotto.com, you will add to /etc/mail/deny

lotto.com		"Spammer! Go away!!"

If you are not blocking any domain, then just execute:

touch /etc/mail/deny


Again to build the map, you need to execute:

makemap hash /etc/mail/deny < /etc/mail/deny

Last word, the file created by makemap with the hash type always has a .db
extension, so the command really does not overwrite (as it would seem).

Good luck and Regards ...

----------------------------------------------
Sunday A. Folayan
General Data Engineering Services Ltd [SKANNET]
18b, Oshin Rd, Kongi Bodija Ibadan, Nigeria
 Email:	sfolayan at skannet.com.ng
 Voice:	+234-2-8105156 Fax: +234-2-8106268
-------
"Be liberal in what you accept, and conservative in what you send"
 - Jon B. Postel (1943 - 1998). Internet Pioneer (in RFC1122).

On Sat, 30 Jun 2001, Rolf MOLUH wrote:

> Date: Sat, 30 Jun 2001 17:21:57 -0700 (PDT)
> From: Rolf MOLUH <njilier at yahoo.com>
> To: afnog at afnog.org
> Subject: sendmail problem
> 
> Hi all,
> 
> I have configured sendmail on a RH Linux7 box and it
> worked with the old IP address I was using. I am
> unable to send mails anymore. Here are the last
> entries of my maillog file.
> 
> --
>  
> Jun 30 23:45:42 tangmbo sendmail[1889]: f5UMjbU01889:
> SYSERR(root): Cannot open hash database
> /etc/mail/deny.db: Invalid argument
> Jun 30 23:45:42 tangmbo sendmail[1891]: f5UMjgU01891:
> ruleset=check_rcpt, arg1=<njilier at yahoo.com>,
> relay=IDENT:root at host-216-252-234-39.interpacket.net
> [216.252.234.39], reject=551 5.7.1 we do not relay
> 
> --
> 
> What could be the problem?
> 
> Thanks in advace
> 
> Rolf
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> =====
> MOLUH NJILIE, NETWORK ADMINISTRATOR
> SDNP CAMEROON
> 506 Hajal Center, PO Box: 836, Yaounde Cameroon
> Phone: (237) 222490 (O)
>         
> Emails: <mnjilie at sdnp.cm>
>         <njilier at yahoo.com>
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -----
> This is the afnog mailing list, managed by Majordomo 1.94.4
> 
> To send a message to this list, e-mail afnog at afnog.org
> To send a request to majordomo, e-mail majordomo at afnog.org and put
> your request in the body of the message (i.e use "help" for help)
> 
> This list is maintained by owner-afnog at afnog.org
> 


-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org