MAMP & localhost email - email

how does one go about getting email to work in a default MAMP installation? not sure if this is relevant but im trying to send emails from a codeigniter app and whatever protocol i use (mail, sendmail, or smtp), emails never arrive
anyone?

My ISP is blacklisted so its impossible to send emails from my local server. Check your mail log (/var/log/mail.log) - it may give you some useful information. I usually use google's smtp servers for sending mail during development, and then use mail() on the production server..

Related

Vesta / Cloudflare DNS/ Can't connect to mail server with outlook client

I started to use Cloudflare, but I got some problems with mail management.
I can receive and send emails through Vesta Roundcube webmail. But my outlook client stopped working. I can't add my email to any email client such as Apple Mail or Outlook. I think it does not receive a message from the mail server. I am stuck, I don't know where to look next.
This is my config on Cloudflare. And it seems fine. My web and email is on a different webserver.
Any idea of what should be changed?
I finally fixed it. Change your mail A record from "Proxied" to Dns only.

Sender dependent relaying on Zimbra 8.7? Can it be done?

I had a server running Zimbra 8.6 and it was configured to send via any one of five external relays based upon which one of my external accounts I was sending from. This worked great until I had a server crash and rebuilt this one using the latest Zimbra 8.7.
I have read and researched and tried everything I had done for my old 8.6 system and I simply cannot get this to work! When I try to send an email from the web client to gmail I get a warning from gmail that my server's IP address and domain are not allowed to relay since they are unauthenticated. According to my postfix configuration I should be authenticating using my own gmail credentials. But, the web client seems to ignore this.
When I try logging in directly on the Zimbra box I can use sendmail with the -tf parameters to mock up an email from one of my addresses to gmail and it works just fine. It is sent and looks like it came from the proper relay domain.
Is sender dependent relaying broken on 8.7? Does it work for anyone?
Welp, I gave up and set my server up to use gmail as the external relay for all accounts, and in my admin console I set my user account to be able to send from all of my external email addresses (specifying each of them there).
Now it properly relays through gmail and still shows each message as coming 'from' the external account I select in the new message window.
Maybe this will help someone with a similar issue.

cPanel 'No such user here'. Local account issue?

I have a website hosted outside the organization. The mail server to recieve the message is inside the organization. The website submits a simple form to email using PHP mail function. Works on every domain tested for the recipient except for ones internal to the domain.
So website is www.domain.com. Mail server is mail.domain.com. Hosted at separate sites. When www.domain.com wants to send a message to user#domain.com it should lookup the mx record and notice that mail.domain.com is at another location and forward the message.
If I configure it to send to user#otherdomain.com, the message is successfully sent and received. But sending to the same domain responds with 550 error 'No such user here'. So I'm wondering if the webserver thinks it is supposed to be the recipient of the mail, and thus responds with 'No user here' because, frankly there is no user configured there.
So does anyone know what cpanel/whm settings need to be added/adjusted to allow this server to know that it is not responsible for mail exchanging for this domain. I do have the mx record setup properly, but don't know if it also requires an A record for the address. Any help much appreciated.
I did notice others having the same issues, but no solutions were actually proposed, so I figured I would make my own question, and see if it get's a good answer for others too that may experience the same issue.
It looks like your routing settings are incorrect. Navigate to cPanel >> MX Entry and verify that the routing setting is Remote Mail Exchanger
As the mails are to be delivered externally, setting this as Local Mail Exchanger will make cPanel think the mails are setup locally and cPanel will try to deliver mails locally. As there are no local mail accounts configured with that name, it bounces with the mentioned error.
I would suggest avoiding sending directly to the MX. Submit your message to a local mail server and let it relay to the MX for you. If you send using PHPMailer with SMTP you will get much better feedback on deliveries. As for what cPanel is doing, check the local mail server log, usually in /var/log/mail.log.
You have to change the setting from local to "Remote Mail Exchanger" in dns zone file. and also create mail account at remote location site.

How to send mails from Magento?

I have installed Magento 1.7 on my mac. What should I do to send emails about orders from localhost. I'm developing store localy and just want to check how it works.
Use the tool give on this link Test mail tool
For sending the emails you need SMTP server which listens to port number 25.By default there is no SMTP server with wamp. So you need to use some SMTP tool to check email sending feature in local environment.

google apps for business cannot receive mail

I recently signed up for my client Google Apps for Business. Everything setup fine and verification all done.
The only problem is I cannot receive mail to the newly setup mail. I can send out mail no problem.
It seems like the SMTP server had changed but pop3 or IMAP server still using the old one.
How can I resolve that? Thanks!