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

Oct 28, 2010

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


ADVERTISEMENT

Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?

Jun 22, 2011

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

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

View 7 Replies View Related

Server :: How To Set Sendmail To Allow Authenticated Relay?

Aug 11, 2010

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.

View 14 Replies View Related

Software :: Sendmail As Relay Server

Apr 15, 2011

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.

View 2 Replies View Related

CentOS 5 Server :: Setup Sendmail As Mail Relay?

Mar 18, 2009

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

View 1 Replies View Related

Server :: Sendmail Relay Messages To Ext. SMTP Server?

Jan 31, 2010

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.

View 2 Replies View Related

Server :: Setting Up Sendmail To Relay To Exchange Server

Oct 27, 2010

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.

View 4 Replies View Related

CentOS 5 Server :: Setup Sendmail (5.2) As Mail Relay For Microsoft Exchange?

Aug 5, 2010

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.

View 3 Replies View Related

General :: How To Set Up Sendmail To Use Exchange Server With Auth NTLM As Smart Relay?

Mar 7, 2011

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:

View 1 Replies View Related

Server :: Postfix To Deliver Local Relay

May 25, 2010

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 mail.example.com where there is no bob@example.com but there is a sam@example.com.
Is it possible to configure postfix to do this?

View 1 Replies View Related

General :: Sendmail Relay Setup?

Feb 15, 2010

I am in verse to try out setting up Sendmail Relay Box.I have 3 Machines:sender.sap.com,relay.sap.com and receiver.sap.com.All I need a user fred in sender.sap.com able to send mail to a user tom in receiver.sap.com through relay.sap.com machine.I guess that is all about relaying Correct?How can I achieve that?

View 7 Replies View Related

Server :: Sendmail Forward Copy To Another Mailbox?

Apr 7, 2011

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.

View 1 Replies View Related

Red Hat / Fedora :: Setting Up A Local Mail Server On 5 Using Sendmail?

Sep 22, 2009

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).

View 3 Replies View Related

Software :: How To Setup Sendmail As SMTP Relay?

May 15, 2011

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.

View 1 Replies View Related

Server :: Sendmail - Disable Local Delivery And Queue Is Growing Up?

Jan 18, 2011

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 sendmail.mc:

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

[Code].....

View 6 Replies View Related

Server :: Setup Different Local Delivery Agents For Different Users In Sendmail

Jun 9, 2010

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.

View 1 Replies View Related

Software :: Configuring Sendmail To Relay Messages To An Email Gateway?

Jun 15, 2011

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.

View 1 Replies View Related

Networking :: Relay Raw ICMP Packet To Local Destination

Feb 21, 2011

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?

View 1 Replies View Related

General :: Bcc Copy Is Not Getting Delivered To Email Alias (at Local Server)

Mar 7, 2010

my mail server [URL] is hosted abc@[URL] is a pop id below are alias:

user1@[URL]
user2@[URL]
user3@[URL]

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

fetchmailrc config:
[Code]....

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.

View 1 Replies View Related

Ubuntu Servers :: Postfix Relay Mail For Local Users?

Mar 1, 2011

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 main.cf, I did not specify 'smtpd_recipient_restrictions' so by default, the variable is:

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

[code]....

View 3 Replies View Related

General :: Update Svn Working Copy Via Cron When Its Server Located On Local?

Aug 3, 2010

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 http://www.hightekhosting.com.au/myaccount/knowledgebase/90/Using-SubversionorSVN-on-cPanel-Servers.html) but still nothing.

View 1 Replies View Related

Ubuntu Servers :: Mail SMTP Relay / Copy All Traffic To Another Port For Monitoring?

Sep 2, 2010

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

Inbound

mx -> router -> ASSP -> Exchange 2003

Outbound

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.

View 4 Replies View Related

Fedora Servers :: Fedora 10 - Sendmail / Dovecot Relay

Jun 7, 2009

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 user@mydomain.com" or even to someuser@gmail.com, 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.

View 10 Replies View Related

Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found

Nov 1, 2010

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

Quote:

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 sendmail.org, 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

Quote:

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

View 17 Replies View Related

Server :: Sendmail Not Reading Default Sendmail.cf ?

Apr 1, 2010

I recently modified sendmail.cf 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 sendmail.cf, 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 sendmail.cf and barfs:

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

Why sendmail is not reading my sendmail.cf?

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

View 1 Replies View Related

Fedora Servers :: Sendmail Delivery To Local Boxes

Jun 1, 2009

I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":

Code:
Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174)
<abaughman@grandproductsinc.com>... Connecting to local...
<abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL

Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174)
<ksullivan@grandproductsinc.com>... Connecting to local...
<ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....

I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.

View 1 Replies View Related

Networking :: Sendmail - Change Domainname Local Users

Mar 26, 2010

I have the following problem and tried (almost) anything to fix it but without a full success.

We're running a server with CentOS 5.4. Every night a logwatch report is send. These mails are rejected by our mailserver because some invalid details. These mails are send to local user root which is redirected to another external mail address with /etc/aliases.

At first the mail was send from root@localhost.localdomain to root@localhost.localdomain. As you can imagine, our mailserver rejected this because the localhost.localdomain parts. So I changed the sendmail config with these options:

Code:
dnl EXPOSED_USER(`root')dnl
FEATURE(masquerade_envelope)
MASQUERADE_AS(`domainA.com')
MASQUERADE_DOMAIN(`localhost.localdomain')
MASQUERADE_DOMAIN(`slave02.domainA.com')

This solved my problem partially: Mail is now coming from root@domainA.com (which is OK), but is send to root@slave02.domainA.com (slave02 is the local hostname), which is not OK. I tried everything I could find to change that last part to, but nothing seems to work.

View 4 Replies View Related

Software :: RHEL6 Sendmail & Postfix Can't Use Local User?

Jul 3, 2011

I've tried to configure the mail service in RHEL6 but seems both sendmail and postfix can't use local user located in /etc/passwd.

Like, user Tommy and Jake they got User Unknow from maillog
Tommy:x:506:507::/home/Tommy:/bin/bash
Jake:x:507:508::/home/Jake:/bin/bash
But IF I use users' home folder not located in /home then it can go throught.mailuser2:x:513:514::/rhome/mailuser/mailuser2:/bin/bash mailuser3:x:514:515::/rhome/mailuser/mailuser3:/bin/bash

[Code]...

View 1 Replies View Related

Fedora Servers :: Migrate Local Users And Sendmail Mailboxes?

Apr 21, 2010

I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.

On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)

I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?

View 3 Replies View Related

CentOS 5 :: Configure Sendmail To Accept Email Without Domain In Local-host-names

Mar 23, 2011

dammit... all that typing and I hit the wrong "submit" button. *sigh*

Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.

SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved