Ubuntu Servers :: Unable To Send Mail To The "outside World"
Apr 20, 2010
What I am trying to do is the following:
1/ I have a server (at gandi.net),
2/ I have a domain name: domain.org,
3/ I would like to be able to send/receive mail with an own mail server.
For the point 3 above, I would like to be able to do:
a/ Send from user1@domain.org to user2@domain.org
b/ Send from user@domain.org to anybody@anywhere.tld
c/ Receive from anybody@anywhere.tld
Actions a/ and c/ are working, but I am unable to send mail to the "outside world" from my mail server.
In my research on forums and google, one of the thread stated that postfix, SMTP, ... installation is extremely complex and necessitate months of reading to start to get some knowledge.
Is it true that it is so complex and that a mail server installation is nearly impossible for a newbie ?
By the way, Web server, FTP server installation was rather easy to perform.
Is do you know an easy, nicely explained, step by step and working tutorial permitting to install a mail server on Ubuntu 9.10.
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)
I had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.
I handle several hundreds of domains. Mails are handled with google apps (but previously I used to have a full postfix/courrier setup with virtualhosting). Now what I need is to be able to send mail (newsletter etc...) from my web servers, but I don't need to receive mail on these servers.
I have setup a mail server on my remote Ubuntu 10.04 server using postfix.
Using Putty to SSH to the server, I can send mail, check mail, and the server accepts mail from other domains (gmail, yahoo, hotmail etc).
However, I cannot seem to send mail using PHP functions.
I have created a "test.php" file with the following contents:
[Code].....
When I run the .php file, nothing happens, and nothing logs in the mail logs, so I'm sure the server doesnt understand the mail command in PHP files, but I'm not sure how to go about fixing it.
Apache2, PHP5, postfix, and the additional necessaries are installed (this is a webserver/mailserver on 1 box)
I am attempting to get mail working on a server, and having some trouble. I'm working with sendmail, and I am to the point where I can send and receive mail on the server (from one user account to another), but I cannot send mail from the machine to somewhere else (specifically a Google Apps GMail account). When I try to send mail to the gmail account, I receive a "Undelivered Mail Returned to Sender" message. I've never managed any sort of mail server, and so far searching the internet hasn't helped me.
I am trying to make my elastix voip server to send and receive e-mails. It has built in Postfix mail server, and i tried to configure it.I am not sure about some parameters, such as domain and hostname.Either way, i will attach my config file and the errors that i get from log and mail queue as i get them from webmin.
I'm on Ubuntu 10.04 and using Postfix 2.7 with Dovecot's SASL. The issue is when sending e-mail it takes a bit of time to send. LIke for it to get connected it takes around 15.20 seconds. How can I reduce this delay so it can be sent faster?
I have spent the last 24 hours searching the internet for an issue to resolve my problem. I have tried the verious solutions posted by people and followed endless amounts of tutorials
In the end i followed [URL] line by line
This allowed me to recieve email fine, but only send email locally.
I either get a "Relay access denied" message, or as of last night is is now "Recipient Address Rejected"
I have recently installed the ISPCP web hosting control panel. It seems that after a while running and testing I can receive but I cannot send e-mail. basically I get an error which goes
Code:
postfix/smtp[5939]: connect to alt1.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out
I have, in the recent past, been able to send e-mail so I know that there is something that has gone wrong with my configuration, which I cannot. I post here my master.cf and my main.cf files as well as the mail.log file and the mail.warn....
home web server (running on port 21333). i'm running fedora 10 w/ LAMP and I can't get my php contact form on my website to send out mail. it looks like it sends but it doesn't (and I know the form works because it's the same one from my hosted web server). I've tried everything I can think of, disabled selinux, added apache to trusted mail users, changed the port to 2025 in case comcast blocks 25 (at least i think i did), added the port to the iptables and i have no idea where to go from here.
I have Linux mail server, It always encounter this problem, when i shut down or restart the server. You cannot receive mail but you can send..i use the following services:
iptables -F service iptables restart service sendmail restart
Let me start off by saying I am experienced with computers, though my knowledge of Linux and networking is limited. I've just recently started setting up a Ubuntu 10.04 server to be a SMTP server. I've followed this guide by the letter: [URL] What I've attempted, to test the server, is the following:
telnet localhost 25 ehlo localhost
(this returns all the desired information) I then do a MAIL FROM my domain which is accepted, and try to do a RCPT TO an external mail server (gmail) to test sending an email. I am then told 'Relay Access Denied'. I'm sure that there's something fundamental that I'm either not understanding or not doing correctly. I simply want an SMTP server that can send to other domains. What do I need to do?
I have configured Sendmail client to send mail to outside network ( Within local domain ), but i am unable to send any mail as i am getting the following error,
[root@cclx10 mail]# cat test |sendmail -v abhilash-o.padmanabhan@hp.com abhilash-o.padmanabhan@hp.com... Connecting to [127.0.0.1] via relay... abhilash-o.padmanabhan@hp.com... Deferred: Connection refused by [127.0.0.1]
I have the following configuration in my "/etc/sendmail.cf" file
# SMTP daemon options O DaemonPortOptions=Port=smtp,Addr=15.146.237.113, Name=MTA
And netstat is showing that sendmail is listening on Port 25 on the IP address which is mentioned.
I have one major problem in my mail server. I am not able to send mail to other domain yahoo and rediff. and my ipaddress is blacklisted. So Finally I checked logs. Mail queue is high. Log shows spam and junk mail created in my mail server. he following are the logs. Iam using qmail server. One more thing is in link is there when I click that link its go sex websites. I will try all mail queue logs. It shows the same website redirection. So I don't know its happen. My thought is spam create from that website.
I have installed a sendmail server on fedora 10 I try to configure my sendmail server as a mail server to send outgoing email using port 587( because port 25 is blocked). after finishing configuring my sendmail server, i checked out my sendmail server using telnet localhost 587, and it worked fine as below code...
I have tried two different ways for user name: name, or name@mail.mydomian.com, but not working at all, the two results are the same. PS: I have test port 587 and can use port 587 and Kmail to send outgoing mail using other external relay server
is my wrong configuration for sendmail server or kmail?
I have a really weird (but consistent) problem with my Kubuntu 10.10 install: I cannot post some HTTP forms.
First off, this is a client PC problem. My squirrelmail on the server works fine. I just use squirrelmail 1.4.17 to troubleshoot the ubuntu desktop problem
I used an old (07.04) Ubuntu install which worked fine. Then I wiped the disk and installed Kubuntu 10.10 on the same hardware. Everything works but **some** HTTP post does not work (I can log in but not send mail or save draft). I noticed I cannot log in to Yahoo, for example.
My webhosting account can display the apache access_log. When I hit the <Send> button the POST request never arrives to the web server.
I use a router (Dlink DL-604) behind a DSL modem and ooma box. There is a Windows 7 PC and a Kubuntu PC connected to the router. I can use squirrelmail just fine from the Windows PC.
I tried several steps: - reinstalled Kubuntu - installed Firefox and Chromium (on top of reconq) - ran from a CD on my other (Windows 7) PC - installed Wireshark and compared the traffic (but was unable to pinpoint a problem)
The result was the same: the <Send> button just keeps waiting; the POST request never makes it to the web server.
This sounds (and is) scary and suspect. The fact that the "demo" Kubuntu install (from the CD on my other Windows PC) using the reconq exhibits the same problem on a totally different hardware leads me to believe this may be related to Kubuntu. For example, I had to type this very message on the Windows PC as I could not post it on the forum from my Kubuntu box.
I'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:
[Code]....
Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.
How to set crontab not send mail notification to the owner script if the script success running? because I'm monitoring mail server, and notification from cron is not necessary for me. I'm using ubuntu 10.04 server
the sendmail packages on my f15 server were updated from 8.14.4-20 to 8.14.5-1 yesterday. since then, every attempt to send mail via a smart relay have failed with :
Jun 25 14:05:10 server sendmail[23512]: p5PD59jr023512: from=root, size=208, class=0, nrcpts=1, msgid=<201106251305.p5PD59jr023512@server.{fromdom ain}>, relay=root@localhost Jun 25 14:05:10 server sendmail[23513]: p5PD5A8l023513: from=<root@server.{fromdomain}>, size=480,
[code]....
i've tried using various different smtp relays and they all now throw the same error. without going through all my sendmail config, i have the following entries in /etc/mail/sendmail.mc :
We are using postfix for relaying our internal system generated mail to other domain through google apps. All client servers able to send mail through the postfix server, only user of local postfix server(root, etc) unable to send mail with command like mutt, mail.My detail configuration given below:
i have install and configure the qmail server in centos 5.4 and its working fine. i have created the domain (ex - abc.com)in qmail server and also create the user and its working fine. but i am not able to send the mail which user not found in qmail(abc.com) server, which are created on the web (at isp side or pop user)
im looking for a program that lets me monitor server remote a check if apache is running and if its not send out a mail pretty much something like the Big Brother projeckt was before they went comercial i found a few projekts but most havent been updated for years anyone got a clue on any active projekt that does this?
I want to configure a single mail server to send and receive mail from multiple sub domains of my domain. I've already installed Postfix/Dovecot and it is perfectly working for mydomain.com. And also installed roundcube for Web Mail. Can I further customize this setup to process mail to sub domains? ex- someone@subdomain1.mydomain.com, someone@subdomain2.mydomain.com, someone2@subdomain1.mydomain.com (someone@subdomain1.mydomain.com and someone@subdomain2.mydomain.com are 2 separate users. they should be able to log on to web interface separately)
Currently i use system account names as email user names. (ex - systemusername@mydomain.com). The only MX record in my domain DNS pointed to current server (mailhost.mydomain.com). I read about postfix virtual domains. but couldnt figure out how to use it to achive my target. I do not need configuration details. Just explain me the way to do it. I can do the rest my self.
We host our own mail server on our Fedora box. We would like for our field people using there smart phones to be able to send and receive mail. Receiving is no problem but sending creates problems with relaying and port assignments. Is there any way sendmail can be configured to allow these mobile phone users (AT&T, Verizon) to send mail through our server?
I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.
Code: $ datestamp ; mail woodnt; datestamp 02-05-10@193844