Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Server :: Instruct Local Copy Of Sendmail To Use As A Relay?

In my network I only have one machine that is configured to send email outside the network. How do I instruct my local copy of sendmail to use that server as a relay?

View 3 Replies (Posted: 10-28-2010, 03:09 PM)

Sponsored Links:

Related Forum Messages For Linux category:
Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?
im just wondering is it possible to instruct mailx to use postfix instead of sendmail while have sendmail and postfix installed? like system-switch-mail way in other distros. basically i would like to be able to use mailx when i uninstall sendmail and keep postfix only installed, so i dont get msg after i press . to send email from mailx

/usr/sbin/sendmail: No such file or directory

Posted: 06-22-2011, 12:02 PM

View 7 Replies!   View Related
Server :: How To Set Sendmail To Allow Authenticated Relay?
I have a CentOS server, and am using Sendmail to relay for various domains. However, I also need to have users send their outgoing mail via this server. I want to have them enter a username and password in Outlook, Thunderbird, etc in their smtp server settings. I currently have this set up via an Exchange server, but I cannot get it to work with Sendmail. I know little about Sendmail, and have done all the config via Webmin, which has worked fine as far as relaying domains. But even though I have added the CentOS user account for the smtp relaying, the clients mail apps give an error saying relaying denied.

Posted: 08-11-2010, 05:22 AM

View 14 Replies!   View Related
Software :: Sendmail As Relay Server
I'm trying to build a sendmail relay server.I am in an enclave off a large domain with a FW between us and the main domain.The FW will only allow mail communication between 1 server in our enclave and the mail server of the domain.I can send mail from our 1 server to the domain mail server, but I can't get our 1 server to accept mail from our other servers.

Posted: 04-15-2011, 03:25 PM

View 2 Replies!   View Related
CentOS 5 Server :: Setup Sendmail As Mail Relay?
Is anyone can help me how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.v

Posted: 2009/3/18 8:58

View 1 Replies!   View Related
Server :: Setting Up Sendmail To Relay To Exchange Server
Have read a whole bunch of threads from how and troubleshooting but still having problems.Was thrown a box configured by someone who resigned today. Need to get mail from the box outbound via SMTP relay off our exchange server.

Posted: 10-27-2010, 09:39 PM

View 4 Replies!   View Related
Server :: Sendmail Relay Messages To Ext. SMTP Server?
I've got a server set up with Debian. The problem is that my ISP doesn't allow usage of port 25 (as I understand a lot of ISP's don't).I have PHP scripts hat use the mail() function to send e-mails through the Sendmail application.So, my question is: How can I relay messages sent to sendmail to an external SMTP server (like Google Mail, for example)? Would this be easier to do in the PHP configuration, or on the Sendmail side of things?I've used PEAR extensions in PHP to achieve this before, but scripts downloaded from the Internet generally just use the basic mail() function, and it would be a real pain to modify them all.

Posted: 01-31-2010, 12:25 PM

View 2 Replies!   View Related
General :: How To Set Up Sendmail To Use Exchange Server With Auth NTLM As Smart Relay?
I have a CentOS 5 box that is a web server. When it generates emails, all emails should go out through our Exchange mail server.I believe our Exchange server requires NTLM authentication:

Posted: 03-07-2011, 11:49 AM

View 1 Replies!   View Related
CentOS 5 Server :: Setup Sendmail (5.2) As Mail Relay For Microsoft Exchange?
how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.

Posted: Aug 5 10 at 18:38

View 3 Replies!   View Related
Server :: Postfix To Deliver Local Relay
Some mail coming to my postfix server will need to be delivered local and the rest to an internal mail server.
The internal mail server is where there is no but there is a
Is it possible to configure postfix to do this?

Posted: 05-25-2010, 04:51 PM

View 1 Replies!   View Related
General :: Sendmail Relay Setup?
I am in verse to try out setting up Sendmail Relay Box.I have 3, and I need a user fred in able to send mail to a user tom in through machine.I guess that is all about relaying Correct?How can I achieve that?

Posted: 02-15-2010, 11:38 PM

View 7 Replies!   View Related
Server :: Sendmail Forward Copy To Another Mailbox?
We're using sendmail with ldap routing. We've setup a new mailstore which some of our users are piloting.

We've been asked to configure sendmail to forward a copy of pilot users emails to the new mailstore (Zimbra) as well as the old (Sun Messaging).

I'm not exactly sure how to do this. I've tried modifying aliases to forward to 2 destinations, but ldap routing seems to take precedence before aliases.

Posted: 04-07-2011, 01:48 PM

View 1 Replies!   View Related
Red Hat / Fedora :: Setting Up A Local Mail Server On 5 Using Sendmail?
i have fedora5 installed on my machine MACH1, which acts as a linux server for few machines. Its over network and we have a dedicated mail server too which is globally accessible. I wanted to set up a local mail server on MACH1, so that i shall be able to send/receive mails from all the users as well as to our other global mail server(on internet).

Posted: 09-22-2009

View 3 Replies!   View Related
Software :: How To Setup Sendmail As SMTP Relay?
I want to setup sendmail using my username and password on my ISP to be able to send out messages.This is actually true as the mylocaldomain is not a public Internet domain. Just a localdomain for our local network. However, I was expecting that to change to the username in my authinfo "myusername@myispdomain" since this account is authorized to send out email with my ISP.

Posted: 05-15-2011, 06:43 PM

View 1 Replies!   View Related
Server :: Sendmail - Disable Local Delivery And Queue Is Growing Up?
I want to setup sendmail to alert for Nagios, OSSEC, redmine, ...

I configure sendmail to work with Gmail smtp follow this guide. I disable local delivery in sendmail by adding the following lines in

define(`MAIL_HUB', `xx.localdomain.')dnl
define(`LOCAL_RELAY', `xx.localdomain.')dnl
it works but this messages seems to be stuck in sendmail queue:
sendmail -bp


Posted: 01-18-2011, 11:36 PM

View 6 Replies!   View Related
Server :: Setup Different Local Delivery Agents For Different Users In Sendmail
The problem is to make sendmail use different LDA for diferent users in the same domain. For example, deliver bob@some.domain with procmail and genry@some.domain with mail.local.

Posted: 06-09-2010, 03:52 AM

View 1 Replies!   View Related
Software :: Configuring Sendmail To Relay Messages To An Email Gateway?
We have a sendmail server located in a DMZ that has normally been able to send SMTP traffic to whatever destination is listed in the address of any given e-mail message. A recent change in network configuration has introduced an e-mail gateway that all servers need to send smtp traffic to in order for the messages to go out to the Internet.

Posted: 06-15-2011, 02:12 PM

View 1 Replies!   View Related
General :: Bcc Copy Is Not Getting Delivered To Email Alias (at Local Server)
my mail server [URL] is hosted abc@[URL] is a pop id below are alias:


fetchmail is configured to download all mail for alias email id on local linux server and distribute to local users.

fetchmailrc config:

everything works fine except bcc copy is not getting delivered to email alias (at local linux server). It is delivered to local postmaster account :abc@[URL] (in Linux server) I have tried all envelope option in fetchmailrc file, but it did not work.

Posted: 03-07-2010, 07:22 AM

View 1 Replies!   View Related
Networking :: Relay Raw ICMP Packet To Local Destination
On my system, I have built my own tunneling protocol, where I relay packets over a non-standardized but verified medium. What I do is capture the packets using iptables and NFQUEUE, relay them over my medium, and at the other end I reinject them using raw sockets. The packet going into the tunnel is exactly the same as the one coming out, verified. The problem is that this doesn't work for ICMP Ping (Echo Request) if the destination of the ping is the same as the tunnel endpoint. If the destination is not the same as the tunnel endpoint, the ping packet is rerouted and arrives as it should at the receiver, and the ping reply comes back to the sender. Does anyone know whats going on? Isn't it possible to send raw icmp to yourself? If not, anyone have an idea what I should do instead?

Posted: 02-21-2011, 09:24 AM

View 1 Replies!   View Related
General :: Update Svn Working Copy Via Cron When Its Server Located On Local?
I have two servers. One of them has a svn server running and another hosting projects.

I have a daily cronjob updating the projects -- ie running svn update, rebuild etc.

Now, my cronjob on the remote server works.
However, a similar cronjob running on the local server for local projects (ie the same server as svn) is instead displaying a "svn: not working copy".

I double checked the paths, permissions and user info and if the script is launched manually, it works fine.
Deploying the same thing remotely works.

I even tried using file:/// (suggested here but still nothing.

Posted: Aug 3 10 at 15:18

View 1 Replies!   View Related
Ubuntu Servers :: Postfix Relay Mail For Local Users?
I have a mail server running Postfix and the problem I'm running into is that when trying to send mail, I get a "relay access denied" error.Inside my, I did not specify 'smtpd_recipient_restrictions' so by default, the variable is:

smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
The 'mynetworks' variable looks like this:


Posted: March 1st, 2011

View 3 Replies!   View Related
Ubuntu Servers :: Mail SMTP Relay / Copy All Traffic To Another Port For Monitoring?
I'm running ASSP on Ubuntu 10.04.1 it's mostly working fine. I have one problem which has been bugging me for some time. I don't want to filter outbound mail, but if I can relay (proxy) my outbound mail through ASSP, then it can automatically add to the whitelist.

As ASSP is a proxy, I need a server to send it to once ASSP receives it. I've tried my ISP, but this failed and they weren't willing to confirm if a connection attempt was received at their end.

Current setup


mx -> router -> ASSP -> Exchange 2003


Exchange 2003 -> mx

I'd like to setup outbound as either

Exchange 2003 -> ASSP -> <ISP> SMTP relay
Exchange 2003 -> ASSP -> <relay running on Ubuntu eg postfix>

Can anyone help me with troubleshooting steps or a better suggestion for how I can set this up. I'd love to know why my ISP setup didn't work, but I don't know a tool for monitoring IP traffic in Ubuntu SE, in windows I use Wireshark is there any equivalent I can setup for Ubuntu or a tool I can use in windows which will show all traffic, Ubuntu and windows server are on the same netgear switch, not sure it's smart enough to copy all traffic to another port for monitoring.

Posted: September 2nd, 2010

View 4 Replies!   View Related
Fedora Servers :: Fedora 10 - Sendmail / Dovecot Relay
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test" or even to, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.

Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.

Posted: 7th June 2009, 05:51 PM

View 10 Replies!   View Related
Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message


The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have


Sendmail M4 base directory = /usr/share/sendmail-cf

which is not there. I did a locate / sendmail-cf on the command line, it finds nothing

Posted: 11-01-2010, 06:12 AM

View 17 Replies!   View Related
Server :: Sendmail Not Reading Default ?
I recently modified to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my, or else it doesn't work.

So in other words, the following works great:

However, if I don't specify the -C flag, sendmail doesn't consider what's in the and barfs:

I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another on the machine and only the one in /etc/mail came up.

Why sendmail is not reading my

I'm running Sendmail version 8.14.2 on Fedora Core 8.

Posted: 04-01-2010, 10:10 PM

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved