CentOS 5 Server :: 5.4 - Setting Up Sendmail To Do Secure Email Transmissions

Nov 27, 2009

I'm confused about the sendmail/ssl combination. so confused, i'm not even sure what i'm confused about :) I want to have email sent from our server to the rest of the world in a 'secure' manner. Just dl'ed and installed CentOS5.4: Linux rh5 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux the /etc/mail/sendmail.mc has the instructions

[Code]...

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Setting Up Secure IMAP Email Server That Is Able To Be Accessed From Outside Network?

Jun 9, 2011

Does anyone know how to go about setting up a secure IMAP email server that is able to be accessed from outside the network? Similar to how you can access your google email account from your computer using Thunderbird.

View 3 Replies View Related

CentOS 5 Server :: Email Server Setup Using Sendmail And Dovecot?

Apr 24, 2009

I am trying to set up a mail server on centos5 using sendmail and dovecot, and eventually spamassassin and some antivirus filter as well. I'd also like to get the proper secure auth mechanism set up at some point too. But for starters, I've been having a lot of difficulty trying to even connect to the mail server from a client computer in the local network. I installed Eudora on the client and after some tweaking in dovecot I was able to connect to the mail server, but then when I try to send an email I get a "connection refused" error, with nothing being logged on the server that I can see.

The last time I set up a mail server was Fedora Core 2, so the configuration files have changed a bit to say the least, and I can't really refer back to those to set up this new server. Does anybody know of a good step-by-step doc on getting the mail server going? I've read the man pages and other various readme's, but these really only list out the available options with no really good explanation of what needs to be done to get the mail server going. If there isn't a full write-up on how to do this, I'll put something together when I'm finished so others can use it in the future.

View 7 Replies View Related

CentOS 5 Server :: Setting Up Sendmail With Gmail Smart Host

Dec 18, 2010

I'm trying to setup sendmail to use my gamil account as a mail relay but with no success. I followed these guides: [URL]and many others.my machine is a centos 5.5 vm running under opensuse host. ( I hope that its not just a virtualbox problem..)

I ended up with this setup:
/etc/mail/auth/client-info:
AuthInfo:smtp.gmail.com �U:root� �I:xxxxxx� �P:xxxxxx� "M:PLAIN LOGIN"
AuthInfo:smtp.gmail.com:587 �U:root� �I:xxxxxx� �P:xxxxxx� "M:PLAIN LOGIN"

[Code].....

View 1 Replies View Related

Server :: Setting Up CentOS Email

Jan 13, 2011

I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?

View 6 Replies View Related

CentOS 5 Server :: Setting Up An Email Server?

May 8, 2010

I have successfully setup Apache,MySql,ftp, and a few other various packages.My question today is setting up an email server.I have past experience with sendmail,and procmail. However only on already installed,configured and working servers.I am trying to setup an email server from scratch.I have Centos 5.4 installed.

procmail.x86_64 3.22-17.1.el5.centos installed
sendmail.x86_64 8.13.8-2.el5 installed

Are those two packages the only ones I need to get a working email server setup? Also I have been trying to configure a procmailrc file for my server under /etc/, but I can't seem to find consistent documentation on how to set up a procmailrc file.I believe my iptables is set to block port 110 and 25 from outside connections. how to open those ports too.

View 4 Replies View Related

Security :: Ways To Secure Sendmail Or Secure Alternatives To Send Mail

Dec 1, 2010

I'm an Oracle DBA and started working for my current employer about 4 months ago. This past weekend an alert re: FS space brought my attention to /var/spool/clientmqueue (full of mail re: cron jobs) and the fact that sendmail is not running on our Linux servers.I'm told that the IT security team deemed sendmail too vulnerable so we don't run it.Aside from FS filling up and missing notification of issues with crontab entries, I'm concerned that we may be missing notification of potential issues. In other Unix/Linux environments I've seen emails from the print daemon when it experienced problems with specific jobs.

Are there other Linux facilities aside from cron and lpd that use email to advise the users of possible issues? Are there ways to secure sendmail or secure alternatives to sendmail? My primary need/desire is to make sure that emails regarding issues on the server get to the appropriate users. Secondary goal would be to have the ability to use mailx to send mail out. There is No need/desire to receive mail from outside.

View 1 Replies View Related

CentOS 5 :: How To Config Sendmail So Can Use Mail To Send Email

Aug 11, 2011

I'm trying to setup notification function for the Nagios Core which use Mail to send notification.I got an account from Rogers. I have SMTP server, email account with authentication information.My Nagios server is in a workgroup, there is now domain assigned to it, I just use nagiosserver.localdomain in /etc/hosts.I added Rogers SMTP server in /etc/mail/sendmail.mc and Future (AuthInfo) I created an /etc/mail/AuthInfo and add AuthoInfo:smtpserver "U:user" " P: pwd" "M:Plain"I added smtp server in /etc/mail/access for RelayI added root@nagiosserver.localdomain on /etc/mail/virtusertableI regenerated sendmail.cf by user m4 commandrestart sendmail service.When I ran: Mial -s test nagios4ccs@rogers.comIt did not prompt any error message , in the maillog it says the message is queued but It can not be sent out

View 3 Replies View Related

Server :: Sendmail - Mail Server Rejected Email And Unable To Send

Feb 24, 2010

I have users [URL] unable to send email to [URL]. [URL] user also unable to send email to [URL]. But both email addresses are fine as they can receive email from others or from [URL] and [URL]. I able to telnet mail server 110 and 25, no problem. Version: ESMTP Sendmail 8.12.10

Mail Log:

Feb 23 11:36:35 mail sendmail[16228]: o1N3aZxt016215: to=<xxx1@gas.com>, ctladdr=<xxx@abc.com> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=442918, relay=gas.com, dsn=5.1.2, stat=Host unknown (Name server: gas.com: no data known)

[code]....

View 4 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

Server :: BCC All Outgoing / Incoming Email Through Sendmail

Jun 9, 2010

How could we bcc all outgoing / incoming email through my Sendmail (8.14) Server?
I tried this /etc/procmailrc
:0c
! backupmail@domain.com
But this get looped and backupmail received multiple emails of each for domain.com while sending locally from one user to another user.

View 6 Replies View Related

Server :: Sendmail: Email Blocked Due To MUA's Dynamic IP?

Feb 11, 2011

I use sendmail as the MTA for our company. Lately employees have started working from home. These home users send their email through our company MTA using SASL-AUTH. This works fine for the most part but lately we've seen problems with this. The SORBS blacklist looks not only at the IP address of our company's MTA but also at the IP address of our employees home computers. (After all, the home computer IP address is revealed in the mail header.)

SORBS has been rejecting emails sent from our home users because their dynamic IP address is present in the email headers. This is true despite their email passing through our company MTA which is on a properly forward and reverse mapped static IP. The company MTA is not listed in SORBS but the mere presence of a dynamic IP somewhere in the mail header is causing outright rejection. This seems bizarre to me considering home workers sending through a company relay is a common and reasonable business practice.

Can sendmail offer a solution here? For example, to change headers to obscure the IP address of the MUA or make the email appear to have originated directly on the MTA? I don't want to mess with internet RFC but frankly I'm out of ideas for how to get the mail delivered.

View 1 Replies View Related

General :: Authorized Email Address - Sendmail Server?

May 4, 2010

I am having many mails transferred through my Sendmail server,but I want to configure only authorised email address through our server.optimize my mail server's configuration.

View 3 Replies View Related

Server :: Configure Sendmail As Forwarder For All Received Email?

May 4, 2011

So I have two servers in my environment, I have an app server that runs my Java App on it and then I have a utility server. Right now, I have that utility server acting as a simple mail gateway so when my app server needs to send an e-mail out, it forwards it to the utility server and the utility server sends it out to where-ever it's destined to. The Java server always sends as one specific user, let's call it bob@company.com.

This set-up is working just fine right now. Now, I also have my company.com e-mail hosted at an e-mail provider for all of my user's e-mail accounts and such. I also have a bob@company.com e-mail account so if e-mails ever bounce, they end up in this inbox. Again, this works fine.

My app is pretty email dumb so it can't authenticate itself or anything, that's why I am using sendmail on my utility server instead of my e-mail provider's SMTP server. What I would like to do is to configure sendmail to forward all outbound e-mails (and authenticate) to my e-mail provider's SMTP gateway using the bob@company.com account and credentials. Is it possible to configure sendmail to do this?

View 1 Replies View Related

Server :: Sendmail Not Forwarding Email To Domain's SMTP?

Apr 9, 2010

I have a server "test1" in domain [URL]. I installed sendmail on it. I have another mail server "mailsrv" installed in [URL] which is my primary mail server and contains all accounts and mailboxes. Now when I send email to [URL] from [URL] it sends successfully. But when I try to mail to user1@abc.com it tries to search user1 in [URL] but I want it to forward this mail to mailsrv.abc.com over SMTP port. Delivery will then be taken care by [URL]

My log shows following

Code:
Apr 9 18:37:06 test1 sendmail[7512]: o39Db6Hs007512: to=user1@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Db6Il007513 Message accepted for delivery) It should not go to relay=[127.0.0.1], it should go to relay=[10.10.10.1]

View 4 Replies View Related

Server :: Can Restrict Sender And Receivers Email In Sendmail?

Dec 4, 2010

i have installed redhat 5.3 and install sendmail on it.it is working perfectly fine.my question is|:

(1) can i restrict the sender and receivers email in sendmail?eg. i want to do that i want to allow only particular email addresses to send and receive and all other will be discarded
(2) i made aliases for all user but it only receives received mail copy i want both sent and receive mail copy in aliases.

View 1 Replies View Related

General :: Command Based Email Client To Send Email Through Secure Smtp?

Jul 26, 2010

In my Windows environment, I use email client such as Microsoft Outlook to connect to our email server to send email with the following configuration:

Incoming server (POP3): 995 - (requires with SSL)
Outgoing server (SMTP): 465 - (use encrypted connection SSL)

[code]....

And the mail server requires user ID login and password.how do I setup a text command based email client in my Linux (Centos 5.1) to send out email through the existing email server above, which is in another machine? The email client has to be text command based because I need to use command line to send notification email from anothar application installed in my Linux (Centos 5.1) Since the email client will only be used to send email notification, I don't require setting up of an email server in my linux.

View 2 Replies View Related

Fedora Installation :: Setup An Email Server Using Sendmail And DOVECOT On F13?

Sep 11, 2010

I wish to setup an email server, using sendmail and DOVECOT on F13 With no modification of the DOVECOT config file ( fresh installation ), I can see that :

service dovecot restart
shows me :
service imap stop
service imap start

In the config file, I have :

protocols = imap pops imaps pop3s

and of course, I cannot connect as pop3

View 7 Replies View Related

Server :: Sendmail - Block Email To Root From Outside But Keep Receiving From Inside

May 5, 2010

I have a small internal network with about 8 or so servers or workstations. My mail server is getting spammed from all over to the root and other administrative accounts. I also get valid email sent to the root and administrative accounts from within my local network. Is there a way to block all email coming from outside my local network while still receiving it inside the local network to these specific accounts?

View 2 Replies View Related

Server :: Sendmail Works But Opens 43 File Handles Per Email

Dec 16, 2010

I'm using Sendmail 8.13.8 on a CentOS 5.5 vServer (Virtuozzo). I'm using a loop in PHP to send a lot of HTML-mails via sendmail. Each mail is a mail with individual statistics for our users, so its not mass mailing, bcc is not an option. It all works fine, but when I take a closer look there is a problem heading our way with a high number of mails: For each mail sendmail opens up 43 files. Sometimes these open files get closed again very fast, sometimes not.

Here is an example using the PHP-script below, it sends 20 mails in a loop:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2973

This is the worst case. The number of open files (lsof | wc -l) used to send the 20 mails is 860 => 43 open files per mail. Sometimes the files are closed very fast, so I get results like this, too:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2242

This shows 129 (3 * 43) open files, so the open files for 17 send mails are already closed, for 3 mails the 129 files are still open. In the worst case and with lots of mails our server crashes, the numfile limit of 8192 in user_beancounters is reached (our ISP won't give us more than 8192). Sendmail DeliveryMode is background. Could it be that sendmail tries to send lots ob mails asynchronously and uses 43 open files for each?

I'm only depending on sendmail to deliver the mails, normally I wouldn't dare to touch the sendmail config (like 'if you don't know what you're doing, don't!'). It is not a problem of PHP. I verified this by sending mails via SMTP localhost to sendmail (opened 43 files per mail) and sending mails via SMTP to an ISP-relay (did not open any files per mail). This is the code for test-mail.php:

PHP Code:
<?php
$output = shell_exec('lsof | wc -l');
echo "START: number of open files: $output";
// HTML message
$msg = '<html><head><title>Test mail</title></head><body><p>Mailbody</p></body></html>';
// Set 'Content-type'-header
$header = 'MIME-Version: 1.0' . " ";
$header .= 'Content-type: text/html; charset=iso-8859-1' . " ";
for($i=0; $i<20; $i++) {
// send mail, this opens up 43 files for each
mail('you@yourdomain.com', 'Testmail '.$i, $msg, $header, '-f
[email]bounce@yourdomain.com[/email]'); }
$output = shell_exec('lsof | wc -l');
echo "END: number of open files: $output"; ?>

View 3 Replies View Related

Server :: Setting Up Sendmail On A Blank RHEL 5.5 Server Setup

Jun 21, 2010

Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.

Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.

I've edited the '/etc/mail/sendmail.mc' and added the :

Code:

line to it.

Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files

Also edited submit.mc and added

Code:

When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.

From the mail logs:

Code:

So it seems to be sent to the queue no problems and when I check the queue :

Code:

Total requests: 0

Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.

So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.

View 1 Replies View Related

General :: Sendmail Without Setting Up A Separate DNS Server ?

Mar 1, 2010

I'm trying to set up a simple local email service on a small office client-server network. Can I use sendmail without setting up a separate DNS server. If I need a DNS server can I set it up on the same computer as my sendmail MTA? Can it be a private DNS server?

View 1 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

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

CentOS 5 :: Setting Up Mail To Email Messages To Gmail Account

Feb 19, 2010

I am trying to figure out how if it is even possible to set up my centos server to email messages to gmail account I have tried mail -S Test account@gmail.com but every time it say in my log files that Connection refused by [127.0.0.1]

View 1 Replies View Related

Fedora Servers :: Setting Up An Email Server?

Sep 4, 2009

I will be getting an old and decrepit laptop (the PS2 channel went out). I have decided that I would like to set it up to be an email and minor data server. The only problem exists that I have never setup a server, yet alone a linux server before.

I want the server to allow user authenticated access to a certain folder on the machine where other clients can go and copy and paste files for the data server portions and I want it to download emails from multiple domains (Gmail, a Microsoft Exchange Server, and from a private domain) and then allow other clients to log in and download those messages (I would like to keep each domain's emails separate so the client has to specify which domain's emails to download).

View 2 Replies View Related

Ubuntu Servers :: Setting Up Email Server?

Oct 5, 2010

I recently bought my own domain name and have started working on my website. I am way excited about setting this site up. My question is, what would be the best way to setup an email system where users are able to login and check their email...I guess like, a web-based system? Then they can configure a client if they wish with their email address.

View 6 Replies View Related

Ubuntu :: Setting Up Own Mail Server For Personal Email?

Jan 4, 2011

I would like to be able to have email sent directly to my computer at home (i.e. run some kind of mail server on it) instead of having to rely on Gmail, Yahoo or someone else. From what I've read it should be possible, but most of the guides out there seem to be oriented to enterprise-class setups, or at the very least a small business, and I think that a lot of that would be overkill for just getting my personal mail. The minimum *I think* is

- register a domain name, with the DNS pointing to my public IP (which is dynamic, so one question I have is whether I would have to use DynDNS or is DNS at any registrar going to be flexible enough to modify if/when my IP changes?)- something about MX records (I'm really unsure here, what exactly are these and where do I set them up? I don't think a free DynDNS account lets one handle this, does someone know which of their account types supports setting this up?)

- Install sendmail and postfix (which seems like a PITA, but much documentation appears to be available)

- Profit?

View 2 Replies View Related

Server :: Setting Up Email Address For Outgoing Mail

Dec 1, 2009

I have setup mail server on Ubuntu 9.10 and it's is working fine.I am using Webmin to addministrate my mail server.My Ubuntu server name abcs.I send a test mail from Wedmin for user gom.Why it keep adding InfoNet. What I would like is setup as gom@abcs.com.

View 1 Replies View Related

Server :: Mail Disclaimer On A CentOS Sendmail

Mar 16, 2011

I run a CentOS server and would like to put a disclaimer message on every email that is send through that sendmail server.

View 1 Replies View Related







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