- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail 8.9.3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 05:54 AM
тАО09-13-2001 05:54 AM
Sendmail 8.9.3
dated may 5, 2000. I am trying to get the syntax right so as to add subject line checking for certain viruses.
from the instructions on the document, starting with Item #2: If you are using sendmail 8.9.3 add the following to the end of the /etc/mail/sendmail.cf file:
HSubject: $>Check_Subject
D{MPat}ThisSubject
D{MMsg}The message contains ThisSubject
SCheck_Subject
R${MPat} $* $#error $:553${MMsg}
RRe:${MPat} $* $#error $:553${MMsg}
-end-
On copying over the modified sendmail.cf and stopping/starting sendmail, the error is (cut and paste below):
/etc/mail/sendmail.cf: line 2212: invalid rewrite line "R:#* #error:553$" (ta)
/etc/mail/sendmail.cf: line 2213: invalid rewrite line "RRe:# * #error:553$" )
554 /etc/mail/sendmail.cf: line 2212: invalid rewrite line "R:#* #error:553$")
554 /etc/mail/sendmail.cf: line 2213: invalid rewrite line "RRe:# * #error:55)
Does Anyone out here know what I am doing wrong here?
FYI, if I show numbers on the .cf file with these entries, the line numbers above (2212 2213) refer to the last two lines of the file, under 'SCheck_Subject'.
Thanks so much for your help.
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 07:23 AM
тАО09-13-2001 07:23 AM
Re: Sendmail 8.9.3
You might want to look at theese links.
http://www.sendmail.org/~ca/email/chk-89.html
http://www.sendmail.org/m4/anti-spam.html
And just look around www.sendmail.org
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 11:45 AM
тАО09-13-2001 11:45 AM
Re: Sendmail 8.9.3
If there is someone here who has used this HP doc. or another method to thwart viruses in sendmail, I would very much appreciate your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 12:49 PM
тАО09-13-2001 12:49 PM
Re: Sendmail 8.9.3
Did you make sure you have a tab character between the "$*" and the "$#" on the lines 2212 & 2213 and not spaces?
If you did a cut and paste then you may have to edit the config file and delete the spaces and put a
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 09:31 AM
тАО09-14-2001 09:31 AM
Re: Sendmail 8.9.3
Thank you, that was the problem. the section with the error needs to be:
SCheck_Subject
R:${MPat}$* $#error$:553${MMsg}
RRe:${MPat}$* $#error$:553${MMsg}
(where the space between '$*' and '$#error...'
is a tab, not just a word space.
This is working now, the mail with the specified subject line are not being delivered.
Thank you very much for your help.