Sponsored Content
Full Discussion: Configuring Sendmail
Top Forums UNIX for Beginners Questions & Answers Configuring Sendmail Post 303014858 by shajay12 on Thursday 22nd of March 2018 04:25:17 AM
Old 03-22-2018
this Article says more about sendmail to specific host. Please read it.

Force sendmail to route mail to specific hosts or mailserver - nixCraft
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Configuring.....

Hi Folks, I would like to learn the basics of unix administration like configuring telnet, ftp, smtp,etc.. Could u suggest me a good site for learning it??? or the methodology that has to be followed for learning it??? TIA, Nisha :) (2 Replies)
Discussion started by: Nisha
2 Replies

2. UNIX for Dummies Questions & Answers

configuring sendmail.cf version is 1.74

Hello Please someone guide me to configure sendmail.cf on AIX 5.3 The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74) Thanks Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies

3. UNIX for Dummies Questions & Answers

Configuring Sendmail

Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9? i cannot find the sendmail.mc file and i not able to use m4 to compile! Pls help Thanks Summer (3 Replies)
Discussion started by: summerpeh
3 Replies

4. HP-UX

Configuring sendmail to modify the domain name

Hi, I would like to change the domain name using sendmail. For example, currently mails are sent like user@domain1.com I would like to change it to user@domain2.com How this can be done from HP-UX? Your help is highly appreciated. Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies

5. UNIX for Dummies Questions & Answers

help configuring Ajaxterm

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use :http://localhost:8022/ in my broswer. This is the problem , it can only be accessed localy. If I want to access it through internet from another computer, it fails. I've read the tutorials on how to... (1 Reply)
Discussion started by: wosis
1 Replies

6. Shell Programming and Scripting

Configuring sendmail option

Hi, I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail. How to configure sendmail in linux?How to attach a file and send it as a mail from script? Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies

7. UNIX for Dummies Questions & Answers

Seek help configuring Sendmail 8.14.4 Unix

Seek help configuring Sendmail 8.14.4 Unix server. Not sure if this is the correct place to post or the Unix/Linux Forums job board. Seeking help configuring sendmail 8.14.4 on my Unix server. It appears I have an open relay. I was advised I need to modify a etc/mail/dir , a command line entry... (0 Replies)
Discussion started by: raecampus
0 Replies

8. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

9. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

10. UNIX for Dummies Questions & Answers

Configuring Sendmail as a client only, how?

We are running sendmail-8.13.4 on AIX. I need to update the configuration and make sendmail act as a relay client only, meaning it will only be used to send mail out of the host and NOT accept mail. Here is my client.mc config: include(`/usr/samples/tcpip/sendmail/m4/cf.m4')... (5 Replies)
Discussion started by: c3rb3rus
5 Replies
SLAPD-RELAY(5)							File Formats Manual						    SLAPD-RELAY(5)

NAME
slapd-relay - relay backend to slapd SYNOPSIS
/etc/openldap/slapd.conf DESCRIPTION
The primary purpose of this slapd(8) backend is to map a naming context defined in a database running in the same slapd(8) instance into a virtual naming context, with attributeType and objectClass manipulation, if required. It requires the slapo-rwm(5) overlay. This backend and the above mentioned overlay are experimental. CONFIGURATION
The following slapd.conf directives apply to the relay backend database. That is, they must follow a "database relay" line and come before any subsequent "backend" or "database" lines. Other database options are described in the slapd.conf(5) manual page; only the suffix directive is allowed by the relay backend. relay <real naming context> The naming context of the database that is presented under a virtual naming context. The presence of this directive implies that one specific database, i.e. the one serving the real naming context, will be presented under a virtual naming context. MASSAGING
The relay database does not automatically rewrite the naming context of requests and responses. For this purpose, the slapo-rwm(5) overlay must be explicitly instantiated, and configured as appropriate. Usually, the rwm-suffixmassage directive suffices if only naming context rewriting is required. ACCESS RULES
One important issue is that access rules are based on the identity that issued the operation. After massaging from the virtual to the real naming context, the frontend sees the operation as performed by the identity in the real naming context. Moreover, since back-relay bypasses the real database frontend operations by short-circuiting operations through the internal backend API, the original database access rules do not apply but in selected cases, i.e. when the backend itself applies access control. As a consequence, the instances of the relay database must provide own access rules that are consistent with those of the original database, possibly adding further specific restrictions. So, access rules in the relay database must refer to identities in the real naming context. Examples are reported in the EXAMPLES section. SCENARIOS
If no relay directive is given, the relay database does not refer to any specific database, but the most appropriate one is looked-up after rewriting the request DN for the operation that is being handled. This allows to write carefully crafted rewrite rules that cause some of the requests to be directed to one database, and some to another; e.g., authentication can be mapped to one database, and searches to another, or different target databases can be selected based on the DN of the request, and so. Another possibility is to map the same operation to different databases based on details of the virtual naming context, e.g. groups on one database and persons on another. EXAMPLES
To implement a plain virtual naming context mapping that refers to a single database, use database relay suffix "dc=virtual,dc=naming,dc=context" relay "dc=real,dc=naming,dc=context" overlay rwm rwm-suffixmassage "dc=real,dc=naming,dc=context" To implement a plain virtual naming context mapping that looks up the real naming context for each operation, use database relay suffix "dc=virtual,dc=naming,dc=context" overlay rwm rwm-suffixmassage "dc=real,dc=naming,dc=context" This is useful, for instance, to relay different databases that share the terminal portion of the naming context (the one that is rewrit- ten). To implement the old-fashioned suffixalias, e.g. mapping the virtual to the real naming context, but not the results back from the real to the virtual naming context, use database relay suffix "dc=virtual,dc=naming,dc=context" relay "dc=real,dc=naming,dc=context" overlay rwm rwm-rewriteEngine on rwm-rewriteContext default rwm-rewriteRule "dc=virtual,dc=naming,dc=context" "dc=real,dc=naming,dc=context" ":@" rwm-rewriteContext searchFilter rwm-rewriteContext searchEntryDN rwm-rewriteContext searchAttrDN rwm-rewriteContext matchedDN Note that the slapo-rwm(5) overlay is instantiated, but the rewrite rules are written explicitly, rather than automatically as with the rwm-suffixmassage statement, to map all the virtual to real naming context data flow, but none of the real to virtual. Access rules: database bdb suffix "dc=example,dc=com" # skip... access to dn.subtree="dc=example,dc=com" by dn.exact="cn=Supervisor,dc=example,dc=com" write by * read database relay suffix "o=Example,c=US" relay "dc=example,dc=com" overlay rwm rwm-suffixmassage "dc=example,dc=com" # skip ... access to dn.subtree="o=Example,c=US" by dn.exact="cn=Supervisor,dc=example,dc=com" write by dn.exact="cn=Relay Supervisor,dc=example,dc=com" write by * read Note that, in both databases, the identities (the <who> clause) are in the real naming context, i.e. `dc=example,dc=com', while the tar- gets (the <what> clause) are in the real and in the virtual naming context, respectively. ACCESS CONTROL
The relay backend does not honor any of the access control semantics described in slapd.access(5); all access control is delegated to the relayed database(s). Only read (=r) access to the entry pseudo-attribute and to the other attribute values of the entries returned by the search operation is honored, which is performed by the frontend. FILES
/etc/openldap/slapd.conf default slapd configuration file SEE ALSO
slapd.conf(5), slapd-config(5), slapo-rwm(5), slapd(8). OpenLDAP 2.4.28 2011/11/24 SLAPD-RELAY(5)
All times are GMT -4. The time now is 07:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy