I've got an uber simple test mail script in php on my awesome new dev machine running Ubuntu:
<?php
mail('jason@boomcycle.com', 'test email from ubuntu64', 'voila your test message from your new dev machine...hope this works')
or die('Delivery refused');
?>
Unfortunately, something is preventing mail delivery. I can't tell from this error log whether it's the remote machine rejecting me or whether it's my machine rejecting the self-signed cert on the remote machine:
Jun 24 18:44:20 ubuntu64 postfix/pickup[3318]: 3A5C41C3CEF: uid=1000 from=<jaith>
Jun 24 18:44:20 ubuntu64 postfix/cleanup[3413]: 3A5C41C3CEF: message-id=<20110625014420.3A5C41C3CEF@Ubuntu64-Mark-II>
Jun 24 18:44:20 ubuntu64 postfix/qmgr[3319]: 3A5C41C3CEF: from=<jaith@Ubuntu64-Mark-II>, size=431, nrcpt=1 (queue active)
Jun 24 18:44:22 ubuntu64 postfix/smtp[3416]: certificate verification failed for mydomain.com[XXX.XXX.XXX.XXX]:25: self-signed certificate
Jun 24 18:44:23 ubuntu64 postfix/smtp[3416]: 3A5C41C3CEF: to=<jason@mydomain.com>, relay=mydomain.com[XXX.XXX.XXX.XXX]:25, delay=3.2, delays=0.1/0.01/2.9/0.23, dsn=5.0.0, status=bounced (host mydomain.com[XXX.XXX.XXX.XXX] said: 550-Verification failed for <jaith@Ubuntu64-Mark-II> 550-The mail server could not deliver mail to jaith@ubuntu64-mark-ii. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command))
Jun 24 18:44:23 ubuntu64 postfix/cleanup[3413]: 81B1E1C3CFA: message-id=<20110625014423.81B1E1C3CFA@Ubuntu64-Mark-II>
Jun 24 18:44:23 ubuntu64 postfix/bounce[3418]: 3A5C41C3CEF: sender non-delivery notification: 81B1E1C3CFA
Jun 24 18:44:23 ubuntu64 postfix/qmgr[3319]: 81B1E1C3CFA: from=<>, size=2750, nrcpt=1 (queue active)
Jun 24 18:44:23 ubuntu64 postfix/qmgr[3319]: 3A5C41C3CEF: removed
Jun 24 18:44:23 ubuntu64 postfix/local[3419]: 81B1E1C3CFA: to=<jaith@Ubuntu64-Mark-II>, relay=local, delay=0.13, delays=0.05/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jun 24 18:44:23 ubuntu64 postfix/qmgr[3319]: 81B1E1C3CFA: removed
I have redacted all the domains and ip addresses for privacy.
I'm wondering what I could change in my postfix configuration to remedy this problem. I tried setting smtp_tls_security_level = may = may but this did not change anything. Wondering what to do 🙁