How to configure sendmail on linux
Hi,
I have to configure sendmail for workflow notifications. I have just done necessary changes in sendmail.mc and generated sendmail.cf. But still i am not able to send mail. Could any one please tell me how sendmail sends mail.
The scenario is:
We aer hosting our domain at smtp.gmail.com. So all the emails have domain @xyz.com. How can i configure sendmail so that i can send mails from my linux server to [email protected]
Do i need to generate any certificates, Is this for free. How do i generate these.
Please help
Regards
Taher
Edited by: user11970143 on Jun 7, 2010 5:06 AM
What do you mean by having done the necessary sendmail changes?
From what I understand, your question cannot be easily answered without knowing your security or Firewall DMZ requirements. You may have to define a default mail relay gateway on your sendmail server to relay all outgoing messages to a specific relay mail server for forwarding to the Internet.
You may also have to define approprate mail exchange MX records in your DNS.
Perhaps you can use Sendmail's personal mail forwarding. Sendmail allows individual users to define their own forwarding. The user defines personal forwarding in the .forward file in the home directory. Sendmail checks for this file after using the aliases file and before making final delivery to the user. If the .forward file exists, sendmail delivers the mail as directed by that file. For example, say that user oracle has a .forward file in the home directory that contains [email protected]
Similar Messages
-
How to configure sendmail to use multiple LDAP servers ?
Hi everybody!
I have a sendmail running on Solaris 10 and a LDAP server(192.168.1.9) also running Solaris 10 OS. I have configured the sendmail the following way:
bash-3.00# ldapclient list
NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=email,dc=reso,dc=ru
NS_LDAP_BINDPASSWD= {NS1}*********************
NS_LDAP_SERVERS= 192.168.1.9
NS_LDAP_SEARCH_BASEDN= dc=email,dc=domain,dc=ru
NS_LDAP_AUTH= simple
NS_LDAP_SEARCH_REF= FALSE
NS_LDAP_SEARCH_SCOPE= sub
NS_LDAP_SEARCH_TIME= 30
NS_LDAP_CACHETTL= 43200
NS_LDAP_PROFILE= default
NS_LDAP_CREDENTIAL_LEVEL= proxy
NS_LDAP_BIND_TIME= 10
I also have another LDAP server (IP 192.168.1.10). It is configured as a replicant of the 192.168.1.9 LDAP server.
The question is how can i configure sendmail to use both LDAP servers ?
The man pages explain how to configure ldapclient to use ONE server and what if want to use two or more? All the settings and the profiles the same.
Thanks in advance =))Hi!
To add LDAP servers to the Solaris ldapclient, you might use the ldapclient command:
ldapclient manual -v -a defaultServerList="servera.yourdomain.com serverb.yourdomain.com"
But this is only failover, AFAIK the Solaris ldapclient does not perform loadbalancing by itself.
But I am not sure about your sendmail programm. Normally, sendmail has its own configuration
and can be configured to use LDAP e.g. for aliases etc.
Regards!
Rainer -
How to configure DSN in linux?
hi everyone,
i had install tomcat in linux os, i wonder how to configure DSN in order to access in database, im' only know how to configure in MSWindows but not linux, could anybody help
thanks in advanceIt would probably be better to post this question in the JDBC forum, but what database and driver are you using?
-
How to configure Sendmail mail relay with authentication
Hi,
How to configure send mail relay. Client gave us smtp host,port, username and password. We have a couple of server. If we configure the relay in any one of the server other servers able send mails using relay server. Please help me on this?.Create an IT Resource of Type Mail Server. Give Name as "Email Server.Now populate the values for all the parameter for example Server,username,password and authentication type.
.Go to System Configuration and in Email Server property value give the name of IT resource you created in step1 so the name will be "Email Server".
http://forums.oracle.com/forums/messageview.jspa?messageID=3867506&stqc=true -
How to configure sendmail on 10.5.8 Mac OS X ?
Hi
I like to configure sendmail service to work for me in conjunction with XAMPP for web development.
I only want to configure for outgoing mail, and no incoming mail.
I get the following errors:
Jul 9 05:14:03 einstein postfix/pickup[28344]: 9393E63A1A6: uid=-2 from=<nobody>
Jul 9 05:14:03 einstein postfix/cleanup[28346]: 9393E63A1A6: message-id=<[email protected]>
Jul 9 05:14:03 einstein postfix/qmgr[28345]: 9393E63A1A6: from=<[email protected]>, size=712, nrcpt=1 (queue active)
Jul 9 05:14:03 einstein postfix/local[28356]: 9393E63A1A6: to=<[email protected]>, orig_to=<z>, relay=local, delay=0.03, delays=
0.01/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "z")
Jul 9 05:14:03 einstein postfix/cleanup[28346]: 9A17F63A1A8: message-id=<[email protected]>
Jul 9 05:14:03 einstein postfix/bounce[28357]: 9393E63A1A6: sender non-delivery notification: 9A17F63A1A8
Jul 9 05:14:03 einstein postfix/qmgr[28345]: 9A17F63A1A8: from=, size=2427, nrcpt=1 (queue active)
Jul 9 05:14:03 einstein postfix/qmgr[28345]: 9393E63A1A6: removed
Jul 9 05:14:03 einstein postfix/local[28356]: 9A17F63A1A8: to=<[email protected]>, relay=local, delay=0.06, delays=0/0/0/0.
05, dsn=2.0.0, status=sent (delivered to mailbox)
Jul 9 05:14:03 einstein postfix/local[28356]: warning: service not found: biff/udp
Jul 9 05:14:03 einstein postfix/qmgr[28345]: 9A17F63A1A8: removed
Jul 9 05:14:04 einstein postfix/smtp[28353]: 755FE63A1A4: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.127.27]:25, delay=3.3, delays=0.13/0.03/2.4/0.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1278677644 l6si1998561wfa.144)
Jul 9 05:14:04 einstein postfix/qmgr[28345]: 755FE63A1A4: removed
Jul 9 05:14:31 einstein postfix/smtp[28348]: connect to example.com[192.0.32.10]: Operation timed out (port 25)
Jul 9 05:14:31 einstein postfix/smtp[28349]: connect to example.com[192.0.32.10]: Operation timed out (port 25)
Jul 9 05:14:31 einstein postfix/smtp[28348]: 4029B639F8D: to=<[email protected]>, relay=none, delay=2163, delays=2133/0.07/3
0/0, dsn=4.4.1, status=deferred (connect to example.com[192.0.32.10]: Operation timed out)
Are there simple steps to configure sendmail ?
Any help is appreciated.
Thank you
SincerelyI don't have any idea, since all that's used here is postfix. For development stuff, peruse or post to the developer forums under OS X Technologies or to the appropriate Server Products forum.
-
How to configure DHCP on linux jumpstart for solaris installation
I have configured jumpstart on linux and able to install solaris on SUN sparcs
using rarp and bootparams files.now im trying to use linux DHCP for solaris clients. I have the done the DHCP setup on linux using this doc http://www.sun.com/bigadmin/content/submitted/setup_dhcp.jsp.
but when im trying to boot the sun spac client with boot net:dhcp - install command it is failing with error "panic - boot: Could not mount filesystem.
Program terminated". exports file is ok and NFS service is also running.
Please help me on this issue.
Thanks in advance.
ShashiDarren,
Thanks for the response.
I tried to install client60001dev (sparc client) from server60060pxe (linux jumpstart) as follows
client60001dev is able to get the IP address from server60060pxe DHCP and then the boot file also, but after that the client is not showing any NFS queries.
{0} ok boot net:dhcp - install
Boot device: /pci@1f,4000/network@1,1:dhcp File and args: - install
Using Onboard Transceiver - Link Up.
Timeout waiting for BOOTP/DHCP reply. Retrying ...
Timeout waiting for BOOTP/DHCP reply. Retrying ...
2aa00
Server IP address: xx.xx.xx.119
Client IP address: xx.xx.xx.111
Subnet Mask : 255.255.255.0
Using Onboard Transceiver - Link Up.
panic - boot: Could not mount filesystem.
Program terminated
tcpdump on server60060pxe
03:16:12.292836 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.303646 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.303669 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.314479 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.314501 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.325313 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.325347 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.336158 IP client60001dev.20759 > server60060pxe.42445: UDP, len
/var/log/messages on server60060pxe
Feb 26 03:15:35 server60060pxe dhcpd: DHCPDISCOVER from 08:00:20:fe:4a:23 via eth0.
369
Feb 26 03:15:35 server60060pxe dhcpd: DHCPOFFER on xx.xx.xx.111 to 08:00:20:fe:4
a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: Dynamic and static leases present for 139.185
.168.111.
Feb 26 03:16:08 server60060pxe dhcpd: Remove host declaration client60001dev or remove
139.185.168.111
Feb 26 03:16:08 server60060pxe dhcpd: from the dynamic address pool for xx.xx.xx
/24
Feb 26 03:16:08 server60060pxe dhcpd: DHCPREQUEST for xx.xx.xx.111 (xx.xx.xx.
119) from 08:00:20:fe:4a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: DHCPACK on xx.xx.xx.111 to 08:00:20:fe:4a:
23 via eth0.369
Feb 26 11:16:09 server60060pxe in.tftpd[10266]: RRQ from xx.xx.xx.111 filename 8
BB9A86F
Feb 26 03:22:00 server60060pxe kernel: eth0.369: dev_set_promiscuity(master, -1)
Feb 26 03:22:00 server60060pxe kernel: device eth0 left promiscuous mode
Feb 26 03:22:00 server60060pxe kernel: device eth0.369 left promiscuous mode
Shashi -
How to configure sendmail for outgoing only?
I have another custom application running on port 25, listening to the email traffic there. However, I still need to send mail from the localhost to the internet. I need a way to configure sendmail such that it will send mail but either not listen at all, or listen on a different port. I have tried fiddling with the sendmail.cf file, but without success.
Please forward replys to [email protected]I'm not sure you can do it by fiddling with the cf file as I'm not sure the cf has the features you need turned on.
You better off tweaking an mc file and generating a whole new cf.
The bit you need in the mc file is
DAEMON_OPTIONS(``Port=smtp, Addr=127.0.0.1, Name=MTA'')dnl
FEATURE(`no_default_msa')dnl
An alternative that I prefer is to create the file /etc/default/sendmail containing
MODE="-bd -ODaemonPortOptions=Addr=127.0.0.1" -
How to configure sendmail to act as a mail gateway and relay mails???
I installed the Solaris (Intel) v.8 (10/01) in my external network. Now, I want to configure it as a mail server and as a mail gateway between my internal mail host and itself.
I think I have read all documentation which comes in Answerbook2 about mail gateway.
I added some aliases to the aliases file in /etc/mail and executed the newaliases command.
The aliases pointed to my mail host which is in my internal network.
I included the IP address and the name of the mail host in the /etc/hosts
I can telnet the internal mail host and I can connect to it and verify the internal account thru:
mconnect "mail host"
vrfy "account"
But when I do
/usr/lib/sendmail -v "alias" < /dev/null
it translates the alias to the account in the internal mail host but it returns to me
"account" ... User Unknow.
When I try to use the mail server from one client in my internal network (I configure my mail client to use as Outgoing server the server in the external network) to send mails I receive the error:
550 5.7.1 Relaying denied. IP name lookup failed
I create a file called "access" and create the binary called "access.db" (makemap hash access < access), but it doesn�t work.
I think that maybe the sendmail.cf doesn�t recognize the access file but I�m not sure. I have worked with other "sendmail" version under others OS (RedHat Linux) but the files are quite differents.
Would you please help me?I found the way to do it and this is the procedure
How to implement the mail gateway on Solaris 5.8
You have to make changes in 3 different places
1.- Files in /etc/mail (sendmail files)
2.- /etc/hosts file
3.- DNS files and /etc/nsswitch.conf file
1.- Files in /etc/mail
1.1.- Backup your existent sendmail.cf file and copy the main.cf file as
sendmail.cf (cp /etc/mail/main.cf /etc/mail/sendmail.cf)
1.2.- If you want to accept mail for entire domain in your mail gateway (your mail
server is an MX record in the DNS files), you�ll have to modify the sendmail.cf
file editing the line Dj as Dj$m or if you want to accept just mail for your specific
server you must put Dj$w.$m (be carefull to avoid spaces).
1.3.- Change in the sendmail.cf file the DM parameter adding ddn. It should
looks like DMddn (no spaces anywhere).
1.4.- Insert a line for the Dm parameter, which should include your domain
(ex.:Dmyourdomain.com, be care with spaces). If you have defined multiple
domains, add a line with Cm and put the domains one after other separated by
spaces. You have to put a space between Cm and the first domain
1.5.- Add the following rule in the ruleset, don�t use spaces, use tabs as
separator:
R$*<@$*.$+>$* $#ddn $@ $2.$3 $:$1<@$2.$3>$4 [email protected]
1.6.- If you find the following rule in the ruleset you should comment out it.
R$*<@$*.$+>$* $#$M $@$R $:$1<@$2.$3>$4 [email protected]
1.7.- If your host is receiving mail under different names for "local" delivery,
often you need to define those hosts in a "Cw" line and put the names one after
other separated by spaces. You have to put a space between Cw and the first
name.
1.8.- If you want to relay mails to different domains or subnets you can include
them into the file relay-domains. Each record in this file is a domain name (like
sun.com) or a subnet (like 192.0.0., be carefull with last dot).
1.9.- To test your sendmail service you have to stop and start it
(/etc/init.d/sendmail stop; /etc/init.d/sendmail start) and you can do the following:
1.9.1- To get basic debug information type:
/usr/lib/sendmail -bt -d0.1 < /dev/null
1.9.2- To test the conection:
mconnect "mail server"
vrfy "any alias"
1.9.3- To test the alias you inserted into aliases file (remember run newaliases
command after insert them).
/usr/lib/sendmail -v "any alias" </dev/null
2.- The /etc/hosts file:
2.1.- You must include in this file the IP address server, its nickname
(servername), its extended nickname (servername.domain), the word
"mailhost", the word "mailhost" and your domain (mailhost.domain) and the
word loghost.
2.2.- If you wish you can include all the servers that you want in the file. You
should do this is to avoid the use of DNS service translation.
2.3.- Check the DNS service thru nslookup servername (ex. Nslookup
sun.com), then test nslookup to your mail gateway
3.- DNS files and /etc/nsswitch.conf file
3.1.- Include a MX record for your mail gateway as the mail host for the entire
domain and verify that each record into the zone files include the MX record.
These files are in your DNS server (nameserver).
3.2.- Check your /etc/nsswitch.conf file. The record host must include files and
dns. It must look like
hosts: files dns -
How to configure DSN in Linux for use in Essbase?
Hello everyone,
Can anyone help me out about how to create a DSN in Linux to load data from Oracle into Essbase?
Configuration:
Oracle 10g R2 installed on the same box as Essbase (11.1.1.1)
OS: RedHat Enterprise Linux 5.0
(Since no DSN is configured, I am getting an error "No data sources defined. Please create one to continue" every time I try the 'Open SQL' option in a rule file)
Thanks,
SayantanI am no expert on this subject, mind you, but I did recently work with Oracle support regarding an ODBC issue. My issue was primarily with a Teradata ODBC connection, but while we were looking at the .odbc.ini, he helped me fix my Oracle connection as well.
He mentioned that we were connecting with the 'Oracle Wire Protocol', and my Oracle ODBC description in .odbc.ini looks like below. I'm not sure what all the entries are, but I do know that Driver, Hostname, SID, and Portnumber are mandatory (there may be other mandatory entries as well, should be some documentation somewhere on it)
Here is my .odbc.ini definition for an Oracle Wire Transfer database connection
[LBR_FCT2]
QEWSD=39264
Driver=/opt/hyperion/common/ODBC/Merant/5.2/lib/ARora22.so
Description=Merant 5.2 Oracle
ApplicationUsingThreads=1
Hostname=ora-godev2a
SID=godev2a
PortNumber=6364
ArraySize=60000
CatalogIncludesSynonyms=1
CatalogOptions=0
DefaultLongDataBuffLen=1024
DescribeAtPrepare=0
EnableDescribeParam=0
EnableNcharSupport=0
EnableScrollableCursors=1
EnableStaticCursorsForLongData=0
EnableTimestampWithTimeZone=0
LocalTimeZoneOffset=
LockTimeOut=-1
LogonID=
OptimizeLongPerformance=0
Password=
ProcedureRetResults=0
UseCurrentSchema=1 -
How to configure rman in linux
we dont need to do anything to use rman in windows but how can i use rman in linux??
if any one can help ?
From what i can understand is we need to install the rpm and start its service
if thier is anything else that i am missing please let me know .thankswe dont need to do anything to use rman in windows but how can i use rman in linux?Same way. Once Oracle is installed and Database is created you don't need anything else, simply run it, for example :
$ rman nocatalog
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 20 16:26:41 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target
connected to target database: DB102 (DBID=XXXXXXXXX)
using target database control file instead of recovery catalog
RMAN> -
How to configure vpn under linux
i set up the vpn server on leopard and can access it alright with my leopard client. i gave the following instructions to our linux guys:
type: L2TP
server: server.com
internal IP: 192.168.1.1
account name: user_shortname
password: user_password
shared secret: secret
the guys returned the following question:
1. what encryption
2. what hash algorithm
can anybody tell me what they still need to configure their client?
thanxIt would probably be better to post this question in the JDBC forum, but what database and driver are you using?
-
How to configur Tomcat in Linux
Hello,
Want some help about how to conficure Tomcat5.1 in Lunux...I had worked alot in windows ...
Thanks....
Regards
AaronN
:)Go to the Tomcat home page. You will find good documentation there on how to do it.
-
How to configre printer at linux and R12 instance
Dear all,
Please guide me.how to configure printer at linux and configure at R12 also.
Regards
Dharma933950 wrote:
Dear all,
Please guide me.how to configure printer at linux and configure at R12 also.
Regards
DharmaThis topic was discussed many times in the forum before, please see old threads for details.
https://forums.oracle.com/forums/search.jspa?threadID=&q=Printer&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Printer+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Printer+AND+Setup&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to configure JMagic(Java interface) using Image magic?
how to configure JMagic for linux OS? using Image magic API.?
It is unlikely many people here would have used it. Have you tried the [JMagic forums|http://sourceforge.net/mailarchive/forum.php?forum_name=jmagick-users] and the [JMagic Wiki|http://jmagick.wiki.sourceforge.net/Installing+JMagick]?
Edited by: mlk on 05-Sep-2008 13:44 -
Oracle10g How to configure HTTPS to access EM in Linux
I have installed Oracle10g on Linux Enterprise Server on XEON-based server.
I can run Oracle Enterprise Manager (EM) via
http://127.0.0.1:5500/em
Since EM will be unsafe to run on the Internet without SSL, does any one knows how to configure and enable Oracle10g to enable SSL access? Which port does it use?1. Stop dbcosole
emctl stop dbconsole2. execute command (as following) and fill all questions
emctl secure dbconsole3. Start dbconsole
emctl start dbconsoleNow connect to https://<ip address>:5500/em
Since EM will be unsafe to run on the Internet without SSLIt's generally bad idea to "share" administration site over internet (unless you don't have some VPN tunnel), because if you have weak passwords for DB users then you are asking for problems.
Maybe you are looking for
-
How to open cd/dvd drives mac pro without having a apple pro keyboard
how to open cd/dvd drives mac pro without having a apple pro keyboard
-
"0" doesn't display before comma in float numbers...
Hi fellow APEX users, Have you ever experienced this issue with float numbers in your APEX forms? When I type float numbers between -1 and 1 in forms (e.g. 0,7 or -0,2), and after having submitted the form then reloaded it for editing, "0" doesn't di
-
Problem with Illustrator 15.1.0 on new PC
I just installed my CS5 on a new PC (running Windows 8.1) and am working in Illustrator (CS5, version 15.1.0). I am having trouble with new files I create not opening again after having been saved. Some files work fine, but others will not open. Prob
-
HT201493 I can't see my friend anymore on 'Find My Friends' app
I can't see my friend on 'Find My Friends' app but he can see me... What's the problem?
-
Display driver error on my Equium A60-155
I have an Equium A60 - 155. I have been having consistent problems where I get a message saying that my the ati display driver has stopped working. I have downloaded the driver again and still no change. I have seen the blue screen of death several t