Debian :: PHP Mail() Does Not Work?

Oct 5, 2010

I have a server running at my home configured to host a few websites. All of which are live and production ready. The server has virtually no packages installed and I use a 3rd party dns server. The only services the server uses is nginx (http server) + php5-fpm (PHP), and openssh-server (secure shell).

The problem is my simple php contact forms don't work. I'm certain it isn't the php form code but rather my server configuration because the form works perfectly on my local machine. Finding an answer has proven difficult. I've tried setting up a full blow mail server when really all I need is the ability to send mail using the php mail() function.

View 1 Replies


ADVERTISEMENT

General :: Sendmail Error / Unable To Work On WAN / Can Send Mail But Not Able To Recieve Mail?

Nov 15, 2010

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.

View 6 Replies View Related

Server :: Gmail Does Not Work For Receiving Mail Through Function MAIL()

Sep 6, 2010

I do not know where the problem occurs, but when sending mail through FCI mail () on the Gmail e-mail fails to deliver. The logo is not a bug and should be on the list, center, walks etc mails totally normal, but gmail does not pass anything. Nothing in the spam ... I tried to create a new mail to Gmail and send the message, and nothing may be ...

You have no idea where it could be a potential bug? from webmail to send mail to gmail is realized, but through the mail () not ... I thought that the problem is in a blacklist from Google, but a week ago, we changed the IP server (migration) and the problem still persists ..

View 2 Replies View Related

Debian Configuration :: Exim Doesn't Deliver Local Mail; Files In /var/mail Empty?

Jan 28, 2010

I cannot get exim4 to actually deliver any "local delivery only; not on a network".But whatever I do in the config, all mail gets frozen with entries in the log file like:"root@empty R=nonlocal: Mailing to remote domains not supported"Maybe the problem is that there is no fqdn for the computer (and will never be). How can I enable local mail delivery?

View 14 Replies View Related

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

Jun 8, 2011

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.

View 3 Replies View Related

Debian :: Forward All Root Mail To External E-mail Account?

Jun 28, 2010

The question is pretty much the same as the subject. I have a bunch of debian servers - most of them running exim4 default installations configured as internet site using dpkg-reconfigure exim4-config. It can send mails fine from php scripts and some other applications, but I can't seem to find a way to forward all root mail to some external address. I have tried adding "root: someaddress@example.com" to /etc/aliases and run newaliases command, but it doesn't seem to work.

View 3 Replies View Related

General :: Debian E-mail Client Download E-mail Messages

Aug 7, 2011

I need help in setting up the native e-mail client included in Debian Squeeze. My ultimate goal is to have the Debian e-mail client download e-mail messages and process attachments automatically.

View 14 Replies View Related

Software :: Debian Mail Server Won't Send Or Receive Mail

Apr 22, 2010

i basically had this system installed for our mail system.The setup is as follows:

1. Operating system installed is Debian ver. 5.0.3

2. Roundcube is installed as a webmail(if its right for me to say that)

3. The server is hosted right here at our offices

4.The server uses relay system to send mail i.e. relays all our mails to our ISP

That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.

View 5 Replies View Related

General :: Mail() Function Doesn't Work With HOTMAIL But Its Work With Others?

Apr 27, 2011

i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,

View 1 Replies View Related

Debian :: Is It True Mail Will Be Stored In / Var / Mail By Default?

Jul 12, 2011

I've installed Postfix and have the server running.On installation, it asked me which domain the service will be for. I entered "test.com". The service will be used for multiple domains. Can Postfix service multiple domains? If so, how can it be done?How does one create a user account? I have read the user account is a UNIX user account. My UNIX user name is "n", so would that mean my e-mail would be "n@test.com"?Is it true mail will be stored in /var/mail by default?I read on Wikipedia that Postfix does not support IMAP, so how does one access mail remotely, or even locally?

View 2 Replies View Related

Fedora :: Getting A Mail Server To Work?

Nov 2, 2009

My offie machine is running a version of RedHat Enterporise Linux, and at home I am running Fedora 11. I am tryto configure my office machine so that I can use it as an outgoing mail server for my home machine using port 587. I've made the changes to sendmail.mc which are supposed to enable this, and nmap run on my home machine shows that port 587 is open on my office machine for submission. Also telnet office-machine 587 gives me exactly the same dialog as does telnet office-machine 25.So I think I am on the righ t track. But I haven't been able to configure either evolution or thunderbird on my home machine so it uses my offie machine as outgoing mail server. I've tried absolutely every possible configuration of those programs and none of them works. But I do have some additional bit of information. If I configure t hunderbird to use name and password Use secure authetication C onnection security None, then I am asked to enter a password, but nothing I try works.

The one bit of additional information is the following message in /var/log/messages on my office machine sendmail[28289]: unable to open Berkeley db /etc/sasldb2: No such file or directory That is indeed true. There is no such file. What does this mean, and is there something I can add to deal with the problem?

If I choose SSL/TLS for connection security instead, I get a connected to message which sits there working and eventually times out. When it does. /var/log/maillog says that sendmails tells me that my home machine "did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA"

I don't know if that tells me anything or just means that nothing happened. I had no trouble using evolution or thunderbird with my office machine as outgoing server at port 25, but comcast has been blocking that port forquite a while now. I have been using comcast's mailserver as my sntpm outgoing mailserver on pport 587 during this time, and that works fine.

View 2 Replies View Related

Ubuntu :: 11.04: Mail Notification Doesn't Work?

May 20, 2011

I have a gmail account. After I installed ubuntu 11.04 cannot use "mail notification" properly. the pop-up windows is like an error in the middle of the screen (instead of the classic and attractive window reside on the right-up screen).

(same problem was in ubuntu 9.04 : [URL])

View 1 Replies View Related

General :: Can't Get Mail Command (or Equivalent) To Work

Feb 19, 2011

I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".

View 7 Replies View Related

Server :: ISPConfig3 Mail Doesn't Work

May 22, 2011

postfix

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.

[Code].....

Followed [URL] ubuntu 11.04 server

View 3 Replies View Related

Software :: Evolution Mail Not Mailing / Get It To Work?

Jan 4, 2009

I have imported a csv address book into Evolution, which seemed to work, and I have composed a couple of emails to different people. Their email addresses seems to be entered, but when I send them, they are immediately kicked back telling me that the recipient is invalid. It provides their email and IP address, but tells me that they are invalid. I am receiving mail, so that is not a problem. I would reply to the mails I got to see what happens, but they are more or less spam. I'm pretty sure that I have the account configured correctly, but am at a loss.

View 4 Replies View Related

Ubuntu Servers :: PHP Mail() Not Working - How To Make It Work

Feb 9, 2010

I am using ubuntu since Intrepid Ibex. Since then I have learnt a lot and just recently setup my own home/web server. I am running my LAMP server on Karmic. I have been slowly transferring my website from my current hosting company to my server. Got everything working except the PHP mail() function is not working. I do not get any error messages but the mail does not reach. /etc/log/mail.log is blank.

I basically clueless about where to start. I did not install a mail server. Is this the reason? Should I check something in phpinfo() or the php.conf? I do not have sendmail/postfix installed.

View 2 Replies View Related

Software :: Why Mail -S Title Option Does Not Work In Fedora

Feb 8, 2011

We run REH (Redhat Linux) on a collocated server, now we run Fedora in a cloud. In command line, main -s "title" still works, however in crond it does not, system complains as "invalid option -- s".

View 4 Replies View Related

Ubuntu Servers :: Client Can't Connect To Mail Server / Get It To Work?

Nov 19, 2010

I followed this tutorial:
http://www.howtoforge.com/virtual-us...l-ubuntu-10.04
Minus the Quota for the mailboxes, since I don't really care about that. But I don't think that should cause any problems in the configuration.
The server is in my local network.

I tried to connect with Thunderbird and Kmail. Kmal brings up an error message eventually, saying something about a time-out.
Squirrelmail says code...

I searched everything & everywhere only to see that more people have that same error message come up with Squirrelmail. From my understanding some have fixed the issue but I couldn't actually find a solution to this.

Does anyone know how to fix this?

View 1 Replies View Related

Ubuntu :: Cannot Get Thunderbird 3.0.4 To Work Just Keeps Timing Out Trying To Access Mail Server Pop.1and1.co.uk?

May 29, 2010

Had to do a fresh install of 10.04 as upgrade went pear shaped. Now I cannot get hunderbird 3.0.4 to work just keeps timing out trying to access mail server pop.1and1.co.uk.Had to change some Firefox options to get it to work with any site other than google.Noticed that ping pop.1and1.co.uk sometimes gave a bad address until I disabled IPv6.

View 6 Replies View Related

Ubuntu Servers :: Send Mail Doesn't Postfix SASL Work

Nov 27, 2010

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.

View 2 Replies View Related

Server :: Nagios Email Notification Unable To Work With Nail Mail

Oct 22, 2009

I've gotten myself involved in the Nagios monitoring tools and somewhat managed to configure the Nagios host, but I'm still having some issues with the email notifications.

From what I've read/researched, one of the favourite methods to get the email notification up is by using sendmail/postfix. I've went through it and learned that they are MTAs. What I actually needed is just a basic email client, and I would email the notices directly to an email address over the internet. Thus, I wont be needing something as complex like sendmail/postfix.

I gotten my hands on "Nail mail". I've successfully configured it to be able to send emails from my linux machine over the internet. However, when I copied the same command lines to nagios's contact.cfg, it did not work.

This is the command line that I'm using. Let me explain what I'm trying to achieve below. Firstly, I would save all the text notifications into a text file(green), and then email it out. The problem is NailMail command (red) does not work on Nagios,but the command line works in the terminal command on my Nagios account. Has anyone attempted using Nail mail with Nagios?

View 3 Replies View Related

Server :: Sendmail SMTP Send Doesn't Work With OS X 10.6 Mail.app Clients

Aug 3, 2010

I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.

Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.

View 1 Replies View Related

Ubuntu Servers :: Setup A Local Mail Server For Internal Testing On Development Work?

Dec 10, 2010

how to setup a local mail server for internal testing on my php development work. For example if I sent an email using php script to [url]....I should be able to check the mailbox of 'someone' either in Outlook or SquirrelMail.I have done some reading about this. All I know is that I need Postfix with Courier. But I just don't know to get it working.

View 3 Replies View Related

Ubuntu :: Postfix / Dovecot Config - Send Mail From Iphone Using An Account On Server Doesn't Work

May 15, 2010

the mail server itself will receive mail, that part works. i'm using dovecot imap to grab my mail, that works. but if i try to send mail from my iphone using an account on that server it doesnt work. this is what i see in syslog: May 15 07:14:52 coax postfix/smtpd[1432]: NOQUEUE: reject: RCPT from mobile-166-137-139-003.mycingular.net[166.137.139.3]: 450 4.1.8 <eppo@customconnexions.com>: Sender address rejected: Domain not found; from=<eppo@customconnexions.com> to=<xxxxxxx@aol.com> proto=ESMTP helo=<[10.25.15.47]>

View 1 Replies View Related

Debian :: Mail Server On A Dynamic IP

Oct 22, 2010

I have a domain name and also a no-ip domain that points to my web server. I am just wondering if it would be possible to implement so I can have a play with some mail servers and get some experience of them.

View 3 Replies View Related

Debian :: Mail And IM Server Setup ?

Aug 22, 2011

I would like to set up a mail and instant messaging server running on squeeze.It will be running on a 1ghz celeron (pentium 3 era) with 1gb ram and 10gb hdd (I'm assuming these are high enough specs) It will have less than 10 accounts and probably no webserver (not sure if good idea). I am also unsure of what IM protocols would be best for this. I would prefer to do all this from the command line if possible (so long as it's not too hard) and preferably from a remote machine (so SSH?) I prefer IMAP if possible but pop3 and smtp are also fine. I would also like to be able to connect remotely with encryption (not a big requirement -just a nice feature)

View 4 Replies View Related

Debian :: Checking Mail After Logging?

Jan 14, 2010

My problem is that I can't disable checking mail after logging (communique "You have mail." or "No mail") in my system Debian 5."CheckMail" option in OpenSSH is now inaccessible.I tried to set "MAIL_CHECK_ENAB" option to no in /etc/login.defs but it doesn't work.I added "unset MAILCHECK" in /etc/profile but this doesn't work too.I tried to comment line "session optional pam_mail.so standard" in /etc/pam.d/login but it didn't help.

View 2 Replies View Related

Debian :: Send Mail On Startup?

Jan 3, 2011

I am trying to send a log file mail on startup of debian system but nometter what I do it does not work.
I tried to create an init.d script or adding to rc.local but none works. Odd thing is only the email part is non-functional the rest of the script works as it should so there is no problem. I also give the full path to the command but no results.

cat /var/log/god_of_the_logs.log | mail -s "blah blah" xxx@xxx.com"

I can send emails by running the same command as a user or root but as a startup script it just does not work.

View 2 Replies View Related

Ubuntu :: The "check All"mail Function Doesn't Work ?

Feb 12, 2011

I have Opera 11.01 installed on Ubuntu 10.10. The "check all"mail function doesn't work even when "include this account when checking manually" is checked. If I check my accounts one at a time everything works properly. Whats up, is this a problem with Opera or Ubuntu?I should mention that my computer is a quadruple boot system.I have Windows 7, Windows XP, Ubuntu 32 bit and 64 bit installed.Ubuntu 64 bit is the only OS having mail problems

View 2 Replies View Related

Debian :: Mail Command Can't Send Email?

Jun 4, 2015

I ran this command from terminal.

Code: Select allmail -s "Test Subject" example@yahoo.com < /dev/null

Got error on command line:
Code: Select allsend-mail: Authorization failed (534 5.7.14 https://support.google.com/mail/answer/78754 ng13sm2265977pdb.82 - gsmtp)

ssmtp configuration file:

Code: Select allroot=ssmtpmailtesting@gmail.com
mailhub=smtp.gmail.com:587
#rewriteDomain=
hostname=mybox
UseSTARTTLS=YES
AuthUser=ssmtpmailtesting@gmail.com
AuthPass=[mypassword]
FromLineOverride=YES

View 1 Replies View Related







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