CentOS 5 :: Sendmail Very Slow To Start On 5.5 After Host Name Change
Aug 7, 2010
I changed the host name on this CentOS 5.5 machine but whenever I reboot the machine the startup pauses at the point of starting sendmail for several minutes and then eventually moves on. What could be causing this?
View 7 Replies
ADVERTISEMENT
Jul 7, 2010
I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line
Code:
Dj$w.hostname.com
to this
Code:
Djhostname.com
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using
Code:
mail -s "test" xxx@xxx.com
then email still goes out as user@bob.domain.com. What other changes do I need to make?
View 5 Replies
View Related
Dec 29, 2009
I have setup CentOS 5.2 with Nagios to monitor my network and have that configuration almost done. I have also setup Sendmail to forward all mail (really only Nagios notifications) out to my Exchange server using define('SMART_HOST', 'exchange.domain') in the sendmail configuration file and it seems to be working correctly.is there a way to configure Sendmail to forward all mail out through my Exchange server as it is now but send mail out to the internet itself if the exchange server is unavailable, somewhat like a failover configuration.
View 1 Replies
View Related
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
Dec 23, 2009
I am using CentOS and sending mail through php mail function. It is taking too much time to send a mail.
View 3 Replies
View Related
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
Dec 28, 2010
It takes a few minutes to start during boot and I just did a fresh install in a virtual machine. Haven't touched sendmail so it has default config. Someone told me it could be a DNS issue, but I can do DNS lookups and navigate the web well.
View 3 Replies
View Related
Aug 4, 2011
currently i want to configure sendmail port number 25 im using these port numberalready how can i chage my senmdail port no.
View 2 Replies
View Related
Sep 8, 2009
Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.
There are more examples of the same,around 20 domain have the same problem.
Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)
Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)
View 2 Replies
View Related
Jan 15, 2010
I have two machines: A.domain.com: (Old mail server): Red Hat 9 (Linux 2.4.20-30.9) B.domain.com: (New mail server): RHEL Client 5 (2.6.18-164.2.1.el5) (Both machines are in the same subnet and on the same switch). I wanted to test the new mail server by sending an E-mail message to it from the old one, but the maillog says
[code]...
I can ping from A.domain.com to B.domain.com and from B.domain.com to A.domain.com . I can traceroute -p 25 from A.domain.com to B.domain.com and from B.domain.com to A.domain.com. I can *telnet* on port 25 from B.domain.com to A.domain.com. BUT when I telnet on port 25 from A.domain.com to B.domain.com. I get "telnet: connect to address x.x.x.x: No route to host". The resolved IP x.x.x.x is correct by the way. So I see no reason why. it should fail to telnet on port 25 to A.domain.com.
View 7 Replies
View Related
Feb 22, 2011
We have a Red Hat Linux server that sends email out daily. It points to and Exchange server for smtp. It works fine, however, at least once a day, an email will fail and in the maillog I see "No route to host". After a few minutes, everything is working fine. The Linux server and Exchange are on the same VLAN and IP subnet.
View 2 Replies
View Related
Jan 13, 2010
Is the following sendmail scenario possible? If yes, what modification(s) should be made, in order to work?
system1 with host1 - where the sendmail is executed
system2 with host2 - where the destination email address is stored
When trying to sendmail from host1 to an email address stored on host2. but with the format username@host1, the sendmail service returns Connection refused by host1.
View 2 Replies
View Related
Feb 21, 2010
I am trying to set up sendmail on my intranet (home) webserver, so that it will send mail via my ISP. I have searched for similar threads including this thread, but the responses do not seem to have solved the problem. All I want is to call sendmail from Perl, to post myself the responses to a test form I am building, using my normal internet mail address. I do not want to receive or relay mail from any host except the web server itself (127.0.0.1).
I have edited sendmail.mc to define SMART_HOST as my isp's mail server and MASQUERADE_AS to be my local network name (which is not a registered domain - it is just the name I have given my home intranet). I have run make and built a fresh sendmail.cf, then restarted sendmail.
Using my form, I am able to submit the message to sendmail, but after 40 seconds the mail log shows a message
Code:
View 9 Replies
View Related
Jun 14, 2011
It has been years since I had to mess with sendmail (I prefer using postfix) - but I inherited a server that someone else configured. This machine is a webserver - but is running sendmail for the various webforms, etc. I want to configure sendmail on this machine to route ALL outgoing messages to the main email server. This means local users too. I have read through sendmail configurations for the past 3 hours, but it's mostly greek. Here is my current sendmail.mc file - could some kind soul tell me what I need to change (and WHERE)?
[code]...
View 2 Replies
View Related
Jul 20, 2010
I have installed Centos 5.4 with Sendmail 8.13.8, i have modified sendmail.mc file and compiled to sendmail.cf with following lines
1. TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
2. Define define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
3. DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
My problem is that when i try to open port 25 with telenet it takes lot of time like more than 1 minute to open session and another 30 - 40 seconds to respond to "ehlo" command.
Also when i try to open telnet session on port 25 in another server it hardly takes 1-2 seconds open session.
View 6 Replies
View Related
May 4, 2011
I did a clean install of Ubuntu 11.04 64bit and the start up time is abnormally slow. If I start up the computer and don't press anything, the start up time is 30 minutes but it usually doesn't start up at all. It just boots into a purple screen, no splash, then it sits there and the computer doesn't have any loading lights flashing.
I had a similar problem with 10.10, but I assumed it would go away when I did a clean install of 11.04.
I can't get a read out of what's going wrong because when I press Esc it doesn't display anything, though weirdly it can sometimes get the start up process moving. I have also found that pressing enter really fast can sometimes help and something that seems completely oxymoronic, if I press the power button while it's starting up that can make it work, but nothing works every time.
View 8 Replies
View Related
Nov 14, 2009
I have installed CentOS 5.4 machine named test.example.com (192.168.1.1)File /etc/hosts contains:127.0.0.1 test.example.com test localhost.localdomain localhostI have read that the loopback addres should not be assigned to host name,only to localhost and the host name should be assigned to 192.168.1.1, like this:127.0.0.1 localhost.localdomain localhost192.168.1.1 test.example.com testIs there any reason why it should be one or another way?
View 6 Replies
View Related
Apr 9, 2010
When i issue the command "service sendmail start", it just shows me "starting sendmail..." and waits forever. please have some point on it.
View 4 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Jul 21, 2010
The sendmail was setup in default condition. While testing some php application using @mail function, it uses the sender name as "www-data@xxx.com". How to replace the "www-data"?
View 2 Replies
View Related
Jun 17, 2010
We're using mutt to send out a daily email through cron. The only problem is that half the people aren't getting it, because its getting rejected as coming from an invalid address. Right now its sending out as username@localhost.localdomain.
How can I change this? I found the sendmail.cf, which I believe previous people have been editing directly, which from what I read isn't the best way to configure sendmail.
View 14 Replies
View Related
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
Jan 5, 2011
I have some Oracle (Unbreakable|Enterprise) Linux systems, mostly running v5.4. I'd like to migrate them to CentOS 5.4 (or 5.5... I'm not picky about that).Is it as simple as updating the repo files in /etc/yum.repos.d, and issuing 'yum upgrade', or is there further magic involved?
View 1 Replies
View Related
Feb 19, 2009
Im unable to send mail using mailx or sendmail. The sendmail daemon is running.
View 1 Replies
View Related
Sep 15, 2010
I'm working with a vendor on getting a web site certified for Payment Card Industry Data Security Standard for processing our credit card transactions. The vendor's running Centos 5 (which we also run at my business). The current issue has to do with sendmail, which the required PCI security scans say should be upgraded to 8.14.4. However, the vendor points out that latest version packaged for yum on Centos 5 is 8.13.8.
I'm still somewhat of a newbie at this, but from my reading, it seems that installing the 8.14.4 sendmail means using 3rd party repositories and potentially breaking the system. I browsed through "Installing RPMforge" on Centos wiki, which notes that a complete listing of the over 4000 RPMforge packages is at [URL]. Scanning that link shows sendmail packages with lower numbers than what's currently installed, 8.13.8. All I see on sendmail.org are tarballs of the latest verson, 8.14.4, available 2009-12-30. I presume this means you must install from source; I'm not sure the vendor's comfortable with this, especially for such an essential service.
View 2 Replies
View Related
Oct 14, 2010
I'm contemplating to switch from sendmail to postfix. My current setup is very simple: a minimal CentOS 5.5 64bits install with Selinux enabled on ports 25, 80, secret sshd, 53 and 953. I also use Google Apps for my domain to manage the email accounts. Basically, I use sendmail only to email the daily logwatch, as well the email sent from my forum software. The issue that I'm facing is the forum is starting to hammer sendmail with a lot of emails.
My goal is to use Postfix only to send those forum emails. I don't need a SMTP setup, that is handled by Google Apps. Can I do that with Postfix? Will Postfix perform better than sendmail? All guides I saw on internet pair Postfix with Dovecot and the setup is a little complex, not to mention that I will never have email accounts created on server.
I was wondering if you have any handy guide who will basically replace sendmail with Postfix. Personally, I tried myself using the CentOS HowTo. I yum'ed postfix and system-switch-mail, then I disabled sendmail and switched the agent to Postfix. I left the main.cf config unchanged and tried to start Postfix (service postfix start), but I got a "master is stopped" message when I checked the daemon status.
View 3 Replies
View Related
Sep 7, 2010
Can I change the Host name ?
View 2 Replies
View Related
Apr 7, 2010
I type in /etc/init.d/hostname.sh start
And I receive bash: /etc/init.d/hostname.sh: No such file directory
For hostname I've use "hostname" and my actual hostname, and both receive the same error.
Although when I do hostname is shows the correct hostname but without the the comcast part of it , and when I type in hostname -f, I get the correct hostname with the comcast part of it.
View 8 Replies
View Related
Nov 13, 2010
I want to start a shell scripts(which generate traffic to test my network) at remote linux hosts from single linux local host.. If i start script at remote host through ssh, all traffic are sending from my local host also. It will create burden on my local host. If i terminate SSH connection, it stopping the script at remote host. Also i need to do ssh to all my remote hosts.
Is there any best way to do it?
View 6 Replies
View Related
Jul 19, 2011
I already have sendmail dovecot and roundcube webmail in my linux centos 5.6Problem is that i want to change mailbox format mbox to maildir because maildir is faster and stable.So i search about this and i see sendmail doesnt save in maildir format.Is there any way to change sendmail save format mbox to maildir.Or do u have any idea for it.
View 2 Replies
View Related