Wednesday, March 03, 2010

Setup a Memcached-Enabled MAMP Sandbox Environment

Nate Haug wrote a great step by step tutorial "Setup a Memcached-Enabled MAMP Sandbox Environment" on the Lullabot site. Thank's Nate! Check it out!

For more information visit:

Share/Save/Bookmark

Tuesday, March 02, 2010

Testing Postfix and MAMP with ISP

If you want to send emails with MAMP PRO you have to configure Postfix. You can do that by choosing Server -> Postfix. Although you do not have to do lots of configuration work there are some issues you have to know. Some ISPs do not allow sending emails via Smart-Hosts, others are limited to their own email addresses.

This is why we want to give you an overview of ISPs including their Postfix configurations. As we don't have access to all providers we are encouraging all MAMP PRO users to help us with this. If you are using MAMP PRO with an ISP not noticed below, feel free to try configuring Postfix. The values provided below may help you to find the working configuration for your ISP.

Note:
  • All values written in upper case are indicating that they have to be adapted.
Domainfactory

ProviderDomainfactory
PackageManagedServer XL3
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostactivated
HostSMPT.DOMAIN.TLD
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMAMP Team (D. E.)
Test date02.03.2010

GMX

ProviderGMX
PackageFreeMail
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailgmx.de
Smart Hostdeactivated
Host
User name
Password
Authentication
NoteEmails can not be send to GMX email addresses.
TesterMAMP Team (D. E.)
Test date02.03.2010

Google

ProviderGoogle Mail
Package
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailgmail.com
Smart Hostdeactivated
Host
User name
Password
Authentication
NoteEmails can only send to Google Mail and Google Apps email addresses.
TesterMAMP Team (D. E.)
Test date02.03.2010

ProviderGoogle Apps
PackageStandard Edition
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailgmail.com
Smart Hostdeactivated
Host
User name
Password
Authentication
NoteEmails can only send to Google Mail and Google Apps email addresses.
TesterMAMP Team (D. E.)
Test date02.03.2010

1blu

Provider1blu
Package1blu-vServer L
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostactivated
Hostsmtp.1blu.de
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMAMP Team (A. L.)
Test date02.03.2010

freenet.de

Providerfreenet.de
PackagefreenetMail Basic
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailfreenet.de
Smart Hostactivated
Hostmx.freenet.de
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMAMP Team (A. L.)
Test date02.03.2010

regfish

Providerregfish
PackageMailDomain FLEX
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostactivated
Hostmailserv.regfish.com
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMAMP Team (A. L.)
Test date02.03.2010

ALL-INKL.COM

ProviderALL-INKL.COM
PackageALL-INKL PRIVAT
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostdeactivated
Host
User name
Password
Authentication
NoteEmails can send to all email addresses.
TesterMAMP Team (S. S.)
Test date02.03.2010

ProviderALL-INKL.COM
PackageALL-INKL PRIVAT
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostactivated
HostSMPT.DOMAIN.TLD
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMAMP Team (S. S.)
Test date02.03.2010

Apple

ProviderApple
PackageMobileMe
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailme.com
Smart Hostactivated
Hostsmtp.me.com
User nameFIRST PART OF YOU EMAIL ADDRESS
(BEVORE @)
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses. You have to set up the sender email address to your MobileMe email address. Example:

<?php
$to = 'info@appsolute.de';
$subject = 'Subject';
$message = 'Text';
$headers = 'From: ACCONTNAME@me.com';

mail($to, $subject, $message, $headers);
?>
TesterMAMP Team (D. E.)
Test date03.03.2010

Optimum

ProviderOptimum
Package--
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailoptonline.net
Smart Hostactivated
Hostmail.optonline.net
User nameFIRST PART OF YOU EMAIL ADDRESS
(BEVORE @)
PasswordPASSWORD
AuthenticationPlain Text
Note--
Testerbarbara
Test date12.05.2010

STRATO

ProviderSTRATO
PackagePremium-Paket S
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailWWW.DOMAIN.TLD
Smart Hostactivated
Hostpost.starto.de
User nameEMAIL ADDRESS
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterGerald Huber
Test date18.05.2010

WebhostOne

ProviderWebhostOne
PackageProfi V2
FunctionalYes
MAMP PRO Postfix configuration
Domain of outgoing mailDOMAIN.TLD
Smart Hostactivated
HostDOMAIN.TLD
User nameUSER NAME
PasswordPASSWORD
AuthenticationPlain Text
NoteEmails can send to all email addresses.
TesterMario Peischl
Test date27.05.2010

Please help to make this list extensive by leaving a comment with your experiences and configurations. You can also send us a comment by using our contact form. We will add all data to the list asap.

Share/Save/Bookmark

How to show the Postfix log file of MAMP PRO

In this older post we already showed how to send mail with MAMP PRO. But sometimes things are not working like they should. This can depend on several issues:
  • Faulty configuration
  • Dispatcher ISP denies to send the email
  • Recipient ISP denies reception of the email
If you want to figure out why things are not working you can have a look at the log files. Every action by Postfix will be logged to "/private/var/log/mail.log". The "private" folder is invisible and can be found under the root directory of your hard drive.

The most comfortable way to show the log file is using the Console.app.
  1. Open Console.app
  2. Choose View -> Show Log List
  3. Open the folder "FILES" in the Log List
  4. Open the folder "/private/var/log"
  5. Click the mail.log entry in the Log List
  6. On the right side of the window you can see the content of the Postfix log file.


If you prefer the use of the terminal just follow these steps:
  1. Open the Terminal.app (Applications/Utilities)
  2. Enter the following prompt and hit Enter

    tail -f /private/var/log/mail.log

  3. You can now read the Postfix log file within the Terminal. The log file keeps updating as new entries apply.



  4. Press "Ctrl + c" to stop the process
If you want to open the Postfix log file with a text editor, you have to make the file visible:
  1. Open the Terminal.app (Applications/Utilities)
  2. Enter the following and hit Enter

    defaults write com.apple.finder AppleShowAllFiles -boolean true

  3. Restart the Finder by enter the following and hit Enter

    Killall Finder

  4. Open the file "/private/var/log/mail.log" with your editor.



No matter which way you are choosing, you always get important information about Postfix. If you find the value "status=sent" your email was sent successfully. If you find the value "status=deferred" your email was not sent. The reasons for this can be versatile and it would be to much to cover them up at this place.

Share/Save/Bookmark