- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail: make some users local only
Operating System - HP-UX
1756509
Members
2384
Online
108848
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-13-2007 07:31 AM
05-13-2007 07:31 AM
Re: sendmail: make some users local only
Well I'm not sure what to make of this. I've been testing this all weekend.
Referring to the link provided by Court:
http://www.sendmail.org/~ca/email/restrict.html
I placed the rules directly below the line:
SLocal_check_rcpt
In my sendmail.cf file, it looked like this before inserting the rules:
SLocal_check_rcpt
Scheck_rcpt
...etc...
So I placed them right between the two 'S' lines, above.
I created the file 'intern.only' and put the required 'F' line in the .cf file. In -bt mode, I tested that, it properly reads and displays the contents of the file.
I've learned quite a bit about rule writing, the operators, and LHS/RHS by reading in the O'Reilly Sendmail book, and by reading tutorials online.
It appears that this should work, yet it seems to be completely ignored.
Any advise?
Referring to the link provided by Court:
http://www.sendmail.org/~ca/email/restrict.html
I placed the rules directly below the line:
SLocal_check_rcpt
In my sendmail.cf file, it looked like this before inserting the rules:
SLocal_check_rcpt
Scheck_rcpt
...etc...
So I placed them right between the two 'S' lines, above.
I created the file 'intern.only' and put the required 'F' line in the .cf file. In -bt mode, I tested that, it properly reads and displays the contents of the file.
I've learned quite a bit about rule writing, the operators, and LHS/RHS by reading in the O'Reilly Sendmail book, and by reading tutorials online.
It appears that this should work, yet it seems to be completely ignored.
Any advise?
fmartin@applicatorssales.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2007 12:44 AM
05-14-2007 12:44 AM
Re: sendmail: make some users local only
I began to suspect that this rule is not being called at all. So I wrote this:
SLocal_check_rcpt
R$* $#error $@ 5.1.8 $: "Error"
Then using -bt I tried it:
> Local_check_rcpt xfm
> Local_check_rcpt xfm
Local_check_rcpt input: xfm
Local_check_rcpt returns: $# error $@ 5 . 1 . 8 $: "error"
So that's good. Then I did this:
$ echo hey | sendmail xfm
The mail was delivered, no errors, no bounce.
Can I assume that Local_check_rcpt is not being called at all?
SLocal_check_rcpt
R$* $#error $@ 5.1.8 $: "Error"
Then using -bt I tried it:
> Local_check_rcpt xfm
> Local_check_rcpt xfm
Local_check_rcpt input: xfm
Local_check_rcpt returns: $# error $@ 5 . 1 . 8 $: "error"
So that's good. Then I did this:
$ echo hey | sendmail xfm
The mail was delivered, no errors, no bounce.
Can I assume that Local_check_rcpt is not being called at all?
fmartin@applicatorssales.com
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP