- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail 8.9.3 question ..
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
Forums
Discussions
Discussions
Discussions
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
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
10-31-2001 03:12 PM
10-31-2001 03:12 PM
sendmail 8.9.3 question ..
Add the following lines to sendmail 8.8.6 sendmail.cf below the check_rcpt
line (don't forget to use tabs preceding the "$:" portion of each line):
Scheck_rcpt
R$* < $* > $* $: $1 $2 $3 remove angles
R$* @ $: $1 Strip an @ with no addr, user%host@
R@ $+ : $+ $: $>3 @ $1 : $2
R$- @ $+ $: $(dequote $1 $) @ $2 "user@host"@this.host
R$- $: $(dequote $1 $) "user@host@this.host
I cant get it to work .. I get the error:
/etc/mail/sendmail.cf: line 1872: dequote 1 "user@host@this.host... Unbalanced
'"'
/etc/mail/sendmail.cf: line 1876: unknown configuration line "
553 /etc/mail/sendmail.cf: line 1872: dequote 1 "user@host@this.host... Unbala
nced '"'
554 /etc/mail/sendmail.cf: line 1876: unknown configuration line "
I have tried on sendmail 8.9.3 and sendmail 8.8.6. From my understanding this is the fix to stop people from spamming with the " " though telnet on port 25.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:23 PM
10-31-2001 03:23 PM
Re: sendmail 8.9.3 question ..
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:26 PM
10-31-2001 03:26 PM
Re: sendmail 8.9.3 question ..
so both the last two lines should be a single line.
Hope it helps,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:26 PM
10-31-2001 03:26 PM
Re: sendmail 8.9.3 question ..
Are you sure you don't have an extra ">" here?
R@ $+ : $+ $: $>3 @ $1 : $2
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:34 PM
10-31-2001 03:34 PM
Re: sendmail 8.9.3 question ..
in the script
R$* < $* > $* $: $1 $2 $3 remove angles
R$* @ $: $1 Strip an @ with no addr, user%host@
R@ $+ : $+ $: $>3 @ $1 : $2
R$- @ $+ $: $(dequote $1 $) @ $2 "user@host"@this.host
R$- $: $(dequote $1 $) "user@host@this.host
do I need to replace the user@host@this.host with my host?
Here is what I get on the client side ..
Relaying denied', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 03:42 PM
10-31-2001 03:42 PM
Re: sendmail 8.9.3 question ..
This set of rules prohibits relaying which is by default with 8.9.3. If your server is intended to be relaying then you need to consider either taking it out or considering adding rulesets as described in the URL
http://www.sendmail.org/antispam.html
Check the line
FR-o /etc/sendmail.cR and the following lines
You can keep this file anywhere but need to point it in the sendmail.cf file as mentioned above.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:15 PM
10-31-2001 07:15 PM
Re: sendmail 8.9.3 question ..
I got the rule to work .. on sendmail 8.8.6
and it works fine .. I get we do not relay when I try to spam though port 25. Now the the weird thing is .. I cant spam though our private interntal ip .. But I can still spam from the public ip (the one that matters). Why would that happened? I thoguht they would both act the same.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 08:01 PM
10-31-2001 08:01 PM
Re: sendmail 8.9.3 question ..
Check the second point in "notes" under the heading "Preventing Relay through your SMTP Port" in the same page. It has a pointer to
http://www.sendmail.org/antirelay.Parse0.txt
This may be what you are interested.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 02:22 AM
11-02-2001 02:22 AM
Re: sendmail 8.9.3 question ..
If you MUST use sendmail, use the m4 method described on www.sendmail.org
The better alternative though, is to use postfix instead. HP uses it themselves.
http://www.postfix.org
what you want to do can be done in Postfix using:
allow_percent_hack = no
Was that easy or what?