Set up Sendmail as sending only server

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Set up Sendmail as sending only server
# 1  
Old 09-28-2010
Set up Sendmail as sending only server

I have set up where my primary fibre optical WAN access does not have any sending SMTP service but my fall-back ADSL service does. However, with most Internet Service Providers, the SMTP service access is "locked" to the IP addresses that the service knows about. Therefore I can not send SMTP requests to my ADSL service while using the fibre optical. I have then installed Sendmail on a CentOS 5.5 64 bit so as to allow sending SMTP request no matter what service is active.

My new problem is that I can not sending SMTP requests to email address on my own domain (receiving email server not in my offices!)

How can I configure Sendmail server to be a sending SMTP server only.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sending mail with attachment(image) using sendmail in Linux(ksh)

Hi guys, I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment. /usr/sbin/sendmail -t <... (1 Reply)
Discussion started by: balakrishnaps
1 Replies

2. Shell Programming and Scripting

Sending formatted email with sendmail question

Hi All, Can anyone help with an email formatting question: Im using the following example to try and send a formatted email: outputFile="file.txt" ( echo "From: oracle@inovis.com" echo "To: john.dickinson@gxs.com" echo "MIME-Version: 1.0" echo "Subject: Test Font" echo... (4 Replies)
Discussion started by: jonnyd
4 Replies

3. Shell Programming and Scripting

Sending attachment using sendmail command

Send_Mail() { C_Date=`date +"%m/%d/%Y"` #Subject="MMDB Load Job Status" for i in `cat $Metafile` do if then email_address=`echo $i | cut -d":" -f2` /usr/lib/sendmail "$email_address" < $Email_File fi done } this is the send mail command i am using .please let me... (1 Reply)
Discussion started by: Alok K Yadav
1 Replies

4. Red Hat

Delay in sending email to-from localhost in Sendmail

Hi Friends, I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

5. Shell Programming and Scripting

Problem in sending inline html with an attachment using sendmail

MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=border --border Content-Type: text/html Content-Disposition: inline <html><body><h2>This text should be displayed with html formatting</h2></body></html> --border Content-Type: text/plain Content-Disposition: attachment This text... (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

6. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

7. UNIX for Advanced & Expert Users

Sendmail problems -- with sending mail

Hello, I am C. and I would like to send mail with Sendmail to my hotmail-account. But this doesn't work, the mail always returns in the file: /var/spool/mail/root. Probably there is something wrong with my SmartHost. I configured it like: define ( 'SMART_HOST','smtp.direct-adsl.be') -->... (1 Reply)
Discussion started by: caroline
1 Replies

8. Shell Programming and Scripting

Attaching file and sending text in body using sendmail command!!

Hello, I need to send with text in the body and 2 files as attachments using sendmail command. i can send only one at a time either attachment or text in body of email. Can any one please help me how to get that? I will be great for any help. Thanks, Sparan (1 Reply)
Discussion started by: sparan_peddu
1 Replies

9. UNIX for Advanced & Expert Users

Sendmail retries sending to non-existant users

How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our server gives up, some days later. (0 Replies)
Discussion started by: vertigo23
0 Replies
Login or Register to Ask a Question
Mono(Mono 1.0)															    Mono(Mono 1.0)

NAME
mono-service, mono-service2 - Mono ServiceProcess host SYNOPSIS
mono-service [options] program.exe DESCRIPTION
The mono-service is a host to run services built with the ServiceProcess assembly. Use mono-service to run services that use the 1.0 assemblies and use mono-service2 to run services that use the 2.0 assemblies. Services can be paused by sending the SIGUSR1 signal to the process, and execution can be resumed by sending the SIGUSR2 signal. The ser- vice can be cleanly shutdown by sending the SIGTERM signal to the process. Mono programs started with mono-service run with the MONO_DISABLE_SHM variable set. This means that certain Mono features that depend on it are not available to services. The following options can be used to control the service: -d:DIRECTORY Use this option to specify the working directory for the service. The default is the current directory. -l:LOCKFILE Specifies the file to use for locking, the default is a filename constructed in /tmp based on the name of the program that hosts the service. -m:MESSAGE Name to show in the syslog. -n:NAME Use this to specify the service to be launched (if the program contains more than one service). The default is to run the first defined service. --debug Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background. Equivalent to --no-daemon --no-daemon Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background. Equivalent to --debug. CONTROL
You can control the service by sending signals to the process, you can use the following commands: Pausing service: kill -USR1 `cat <lock file>` Resuming service: kill -USR2 `cat <lock file>` Stopping the service: kill `cat <lock file>` EXAMPLES
Start the MyService.exe assembly, with a lock in /root/service-lock: mono-service -l:/root/service-lock MyService.exe DEBUGGING
Messages produced by the service are logged on syslog. MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-list for details. WEB SITE
Visit: http://www.mono-project.com for details SEE ALSO
mono(1) N:System.ServiceProcess Mono(Mono 1.0)