Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-16-2004, 04:13 PM   #1
Registered: Oct 2002
Location: USA
Distribution: Fedora and Ubuntu
Posts: 137

Rep: Reputation: 15
problem with

can anyone help;
when I execute " m4 /etc/mail/ > /etc/ " I get this error
** ERROR: missing argument for FEATURE(nouucp):
use `reject' or `nospecial'. See cf/README.
/etc/mail/ m4: Cannot open /usr/share/sendmail-cf/feature/'masquerade_envelope'.m4: No such file or directory
*** WARNING: missing -T<TMPF> in argument of FEATURE(`access_db', hash -o /etc/mail/access)
/etc/mail/ m4: Cannot open /usr/share/sendmail-cf/feature/rbl.m4: No such file or directory
/etc/mail/ m4: Cannot open /usr/share/sendmail-cf/feature/rbl.m4: No such file or directory
/etc/mail/ m4: Cannot open /usr/share/sendmail-cf/feature/rbl.m4: No such file or directory

this is the source code that I am trying to configure to use as a mail-server for a dialup ISP

dnl this is the sendmail macro config file. If you make change to this file,
dnl you need the sendmail-cf rpm installation and then have to generate a
dnl new /etc/ by running the following command:
dnl m4 /etc/mail/ > /etc/
dnl let's define our OS type. This one is mandatory.
VERSIONID('linux setup for mandrake linux')dnl
dnl the following line moves the default alias file location to /etc/mail Doing it this way
dnl allows the newaliases command to function properly with the aliases file
dnl once it's moved from the Red Hat default location in /etc.
dnl if the net were a kinder gentler place we wouldn't need the next line.
define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,noexpn,novrfy')dnl
dnl if it's not immediately deliverable let us know in 4 hours and return it if it's
dnl not been delivered after 4 days.
define(`confTO_QUEUERETURN', `4d')dnl
define(`confTO_QUEUEWARN', `4h')dnl
dnl Let's tell the system where procmail lives
dnl we want all mail sent to the pop3 host for delivery
define(`MAIL_HUB', `')
dnl we don't need either one of the next two entries so lets remove the default.
undefine(`BITNET_RELAY') dnl
dnl when people move on it will really help to give them an informative bounce
dnl we are '' after all. Let's make it so.
dnl let's set up class w as a text file. It's easier to manage that way. Since this host is desig ned
dnl to relay be careful about what you put in this file
dnl we defined the path to procmail now let's implement it
dnl we won't be doing any uucp
dnl DEAMON_OPTIONS('Port=smtp,Addr=, Name=MTA')
dnl with the mailertable we can redirect mail anywhere we want. Very handy. Particularly for an I SP.
FEATURE(`mailertable', `hash -o /etc/mail/mailertable')dnl
dnl with the virtusertable we can have multiple mail accounts with the same name
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')dnl
dnl the access file gives us fine grained control of our relay capability
FEATURE(`access_db', `hash -o /etc/mail/access')dnl
dnl note that we patched our version of sendmail to be able to use more than one rbl entry
dnl see section 2.3.2 of this document for more information and a HOWTO. These next 3
dnl entries are completely optional but recommended if you'd like to limit the amount
dnl of spam you receive inbound to your domain
FEATURE(rbl,`',` Mail from $&{client_addr} rejected; see http://www.mail-abuse.or g/rbl/')dnl
FEATURE(rbl,`',`Mail from $&{client_addr} rejected; see /dul/')dnl
FEATURE(rbl,`',` Mail from $&{client_addr} rejected; see http://www.mail-abu')dnl
dnl the default MDA with Red Hat Linux is procmail so let's use it. We need this line.
Old 06-17-2004, 03:24 AM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
the examples I found of FEATURE(nouucp) do not have any kinds of quotes around them, just bare text surrounded by ().


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail problem hinetvenkat Linux - Networking 1 04-18-2005 07:55 AM
Problem with sendmail juanb Linux - Software 0 01-14-2004 10:18 AM
problem processing to lucastic Linux - Networking 1 09-21-2003 10:08 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM
please help me with a sendmail problem sthorp Linux - Networking 0 10-22-2001 01:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration