Mail relay problem
Hi,
my new Lion server has a problem relaying mails to my ISP's server.
I configured it with the same parameters than my old Snow Leopard box, wich worked fine.
Lion cues all mails localy with an error saying that no "SASL mechanism" was found.
Can anyone give me a hint how to fix this localy?
Thanks,
Luc.
I did as you said: no change, no success
the error messag in ServerAdmin says:
SASL authentication failed; cannot authenticate to server smtp.1und1.de[212.227.15.167]: no mechanism available
internal message traffic is working (as it was before)
peter
Similar Messages
-
Open mail -relay problem !
Hi,
My Internet/Mail server is Netra i with Solaris 2.5.1.
I received e-mail from mail-abuse org saying that my mail server is open for mail-relay.
How can I disable it ?
Thanks IvanHello there,
I believe that is true with sendmail 8.6 version which was shipped
with Solaris 5.5.1 or 5.6. You will need to apply the latest
5.5.1 sendmail patch (103594-19) which upgrades 5.5.1 sendmail
to be equivalent to sendmail 8.8.8+sun patches.
Unlike previous versions, sendmail 8.8 can be configured not to
pass on mail from one user outside the local domain to another in sendmail.cf
FYI, mconnect <your hostname> will show the current sendmail rev.
Hope this helps.
Hae
Sun Developer Technical Support -
Mail relay issue since lion server install
I upgraded (or not) my Mac Mini Server with Snow Leopard, to Lion Server.
I'm now getting mail relay errors when sending email to an account on my server from gmail.
"Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <[email protected]>: Relay access denied (state 14)."
I'll post postconf -n if required.
voigtstr.com has an A name at the domain name registrar
mail.voigtstr.com has an mx record.
dig +short MX voigtstr.com returns
1 mail.voigtstr.com.
voigtstr.com and mail.voigtstr.com both point to my external ip address
any pointers?LincNesh,
Seems the problem has been solved by Peter Rauen.
See this discussion: Mail relay SASL problem / postconf -n
I checked on my server and Peter is right. Although there are configs in /etc/postfix there is another path with postfix conf files: /Library/Server/Mail/Config/postfix
I actually only had to insert this line to main.cf there: smtp_sasl_security_options =
After a postfix reload my mails are being delivered via dyndns again.
Cheers! -
I Can receive mail using the mail app but can not send it. Seemed like it ran fine before IOS upgrade to 7.1.2
FRontier support sent all the settings for incoming and outgoing mail. I have DSL . tried to set up additional outgoing servers but had no luck. Frontiers uses POP3iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
Gmail Account Will Not Connect to Gmail Server
http://support.apple.com/kb/ts3058
Error: “Server Unavailable” when accessing Yahoo on iOS devices
https://help.yahoo.com/kb/mobile-mail/error-server-unavailable-accessing-yahoo-i os-devices-sln8834.html?impressions=true
Unable to Delete eMail Messages
http://support.apple.com/kb/TS2475
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to delete ALL mail messages from iPhone/iPad in one step
http://www.conferencesthatwork.com/index.php/technology/2014/01/how-to-delete-al l-mail-messages-from-iphoneipad-in-one-step/
How to Attach Photos and Videos to Emails on an iPhone or iPad
http://www.wikihow.com/Attach-Photos-and-Videos-to-Emails-on-an-iPhone-or-iPad
iPad Basics: Sending an Email With An Attachment
http://ipadacademy.com/2012/03/ipad-basics-sending-an-email-with-an-attachment
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Send Multiple email Attachments from your iPad or iPhone
http://ipadacademy.com/2014/03/how-to-send-multiple-email-attachments-from-your- ipad-or-iphone
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
Importing a Contact List CSV to the iPad
http://techchannel.radioshack.com/importing-contact-list-csv-ipad-2235.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email! Mail Client with Attachments and Cloud Services
https://itunes.apple.com/app/group-email!-mail-client-attachments/id380690305?mt =8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
How to delete an email account on your iPad
http://www.shoppepro.com/support/knowledgebase/228/How-to-delete-an-email-accoun t-on-your-iPad.html
Cheers, Tom -
Configuring Apple Mail client to work with gmail and mail relays
I have a gmail account [email protected] and am successfully using this account from both my macbookpro an iphone.
I also have an e-mail relay account [email protected] I have successfully configured the email relay to send mail to [email protected] and get it fine on my mail client. My problem is that when I reply to these emails or create fresh e-mails, I'd like it to use the address [email protected] not [email protected] When I used to use Eudora, there was a setting in the account configuration screen called "reply to" this would change the reply to email account to whatever I wanted, in this case, [email protected] I have scoured the mail documentation and realize that I am missing something simple. I would appreciate any assistance with configuration settings necessary to have my relay alias show-up on my mail headings.
thanks
ArtThe first thing to do is to log into the Gmail web site and configure your account so that it allows you to send mail from [email protected]
Then configure your account in Mail so that the Email Address is [email protected] That should do it. This is better than setting a reply-to because the mail will really be from [email protected] and not [email protected]
If you want, you can put both [email protected] and [email protected] in the Email Address (separated with a comma) in which case Mail will show a popup menu labeled From below the Subject. You can then select which address the message should be from.
Message was edited by: deh2k -
Mavericks Server mail relay custom port
After upgrading to Mavericks i cannot enter a custom port in the mail relay section of the Mail Service
in older versions i could enter: mail.domain.com:587, but now i cannot save this setting.
Anyone an idea how to fix this ?
Thanks in advanceIt is about the mail service in OS10.9 SERVER I presume.
I got the same problem.
Via the terminal I was able to set anther portnumber (port 26) instead of standard port 25.
Now I can have mail sent via a script I have running om my website, BUT
only mails to my own domain are sent.
All other mailaddresses do not get my script-generated mails.
Same config on OSX10.8 server2 works fine, it went wrong after upgrading to OSX10.9 Server 3.
what can I do? -
Relay Problem, Relay Prohibited, mappings file look fine
Hello Everybody.
I am suffering from a relay problem.
I can'not send mail to for example hotmail.com from Messenger express and outlook express.
I can send from outlook express where i activate AUTH.
I check mappings file and i see allright.
The local network is enabled, and the localhost too.
I also check all the posts in the forum and i didn't find the answer.
My mappings file looks like:
! MTA mappings file
! for access control and other table lookups
PORT_ACCESS
*|*|*|*|* $C$|INTERNAL_IP;$3|$Y$E
* $YEXTERNAL
INTERNAL_IP
$(10.11.0.0/16) $Y
$(10.31.0.0/24) $Y
$(200.68.91.33/32) $Y
127.0.0.1 $Y
* $N
ORIG_SEND_ACCESS
tcp_local|*|tcp_local|* $N$D30|Relaying$ not$ allowed
tcp_*|*|native|* $N
tcp_*|*|hold|* $N
tcp_*|*|pipe|* $N
tcp_*|*|ims-ms|* $N
! Block "external" submissions of explicitly source-routed "internal" addresses
tcp_local|*|tcp_intranet|@*:*.* $N$D30|Explicit$ routing$ not$ allowed
tcp_local|*|tcp_intranet|*$%*@* $N$D30|Explicit$ routing$ not$ allowed
tcp_local|*|tcp_intranet|*.*!*@* $N$D30|Explicit$ routing$ not$ allowed
tcp_local|*|tcp_intranet|"*@*"@* $N$D30|Explicit$ routing$ not$ allowed
Does anybody has answer for this problem?
Thanks very much,
AndresI also put imta.cnf:
! IMTA configuration file
! part I : rewrite rules
! Domain Rewrite Rules.
! Uncomment this line to use domain rewrite rules
! from the configuration file instead of the domain database.
! Please refer to the iMS documentation for details.
!<IMTA_TABLE:domains.rules
! Rules to select local users
$* $A$E$F$U%[email protected]
acafipri.acasalud.com.ar $U%[email protected]
acasalud.com.ar $U%[email protected]
! ims-ms
.ims-ms-daemon $U%$H.ims-ms-daemon@ims-ms-daemon
! lmtp
!.lmtp $U%$H@lmtpcs-daemon
! native
.native-daemon $U%$H.native-daemon@native-daemon
! pipe
.pipe-daemon $U%$H.pipe-daemon@pipe-daemon
! tcp_local
! Rules for top level internet domains
<IMTA_TABLE:internet.rules
! tcp_intranet
! Do mapping lookup for internal IP addresses
[] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon
.acasalud.com.ar $U%$H.acasalud.com.ar@tcp_intranet-daemon
* $U%$&0.acasalud.com.ar
! reprocess
reprocess $U%reprocess.acafipri.acasalud.com.ar@reprocess-daemon
reprocess.acafipri.acasalud.com.ar $U%reprocess.acafipri.acasalud.com.ar@reproce
ss-daemon
! process
process $U%process.acafipri.acasalud.com.ar@process-daemon
process.acafipri.acasalud.com.ar $U%process.acafipri.acasalud.com.ar@process-dae
mon
! defragment
defragment $U%defragment.acafipri.acasalud.com.ar@defragment-daemon
defragment.acafipri.acasalud.com.ar $U%defragment.acafipri.acasalud.com.ar@defra
gment-daemon
! conversion
conversion $U%conversion.acafipri.acasalud.com.ar@conversion-daemon
conversion.acafipri.acasalud.com.ar $U%conversion.acafipri.acasalud.com.ar@conve
rsion-daemon
! bitbucket
bitbucket $U%bitbucket.acafipri.acasalud.com.ar@bitbucket-daemon
bitbucket.acafipri.acasalud.com.ar $U%bitbucket.acafipri.acasalud.com.ar@bitbuck
et-daemon
! deleted
deleted-daemon $U%$H@deleted-daemon
.deleted-daemon $U%$H@deleted-daemon
! inactive
inactive-daemon $U%$H@inactive-daemon
.inactive-daemon $U%$H@inactive-daemon
! hold
hold-daemon $U%$H@hold-daemon
.hold-daemon $U%$H@hold-daemon
!tcp_scanner
[] $E$R${tcp_scanner,$L}$U%[$L]@tcp_scanner-daemon
! part II : channel blocks
defaults notices 1 2 3 copywarnpost copysendpost postheadonly noswitchchannel im
mnonurgent maxjobs 7 defaulthost acasalud.com.ar acasalud.com.ar
! delivery channel to local /var/mail store
l subdirs 20 viaaliasrequired maxjobs 7 pool LOCAL_POOL
acafipri.acasalud.com.ar
! ims-ms
ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m"
"pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D destinationbrigh
tmailoptin spam
ims-ms-daemon
! native
native defragment subdirs 20 maxjobs 1
native-daemon
! pipe
pipe single defragment subdirs 20
pipe-daemon
! tcp_local
tcp_local smtp mx single_sys identtcpnumeric subdirs 20 dequeue_removeroute maxj
obs 7 pool SMTP_POOL maytlsserver maysaslserver allowswitchchannel saslswitchcha
nnel tcp_auth missingrecipientpolicy 4 aliasdetourhost tcp_scanner-daemon
tcp-daemon
! tcp_scanner
tcp_scanner smtp single_sys subdirs 5 notices 1 backoff "pt2h" "pt4h" "pt8h" deq
ueue_removeroute maxjobs 7 pool SMTP_POOL daemon [127.0.0.1] port 10024
tcp_scanner-daemon
! tcp_intranet
tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SM
TP_POOL maytlsserver maysaslserver allowswitchchannel saslswitchchannel tcp_auth
missingrecipientpolicy 4 aliasdetourhost tcp_scanner-daemon
tcp_intranet-daemon
! tcp_submit
tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver missingrecipien
tpolicy 4 aliasdetourhost tcp_scanner
tcp_submit-daemon
! tcp_auth
tcp_auth smtp mx single_sys mustsaslserver missingrecipientpolicy 4
tcp_auth-daemon
! tcp_tas
tcp_tas smtp mx single_sys allowswitchchannel mustsaslserver maytlsserver delive
ryflags 2
tcp_tas-daemon
! tcp_lmtpss (LMTP server - store)
!tcp_lmtpss lmtp subdirs 20
!tcp_lmtpss-daemon
! tcp_lmtpsn (LMTP server - native)
!tcp_lmtpsn lmtp subdirs 20
!tcp_lmtpsn-daemon
! tcp_lmtpcs (LMTP client - store)
!tcp_lmtpcs defragment lmtp port 225 nomx single_sys subdirs 20 maxjobs 7 pool S
MTP_POOL dequeue_removeroute
!lmtpcs-daemon
! tcp_lmtpcn (LMTP client - native)
!tcp_lmtpcn defragment lmtp port 226 nomx single_sys subdirs 20 maxjobs 7 pool S
MTP_POOL dequeue_removeroute
!lmtpcn-daemon
! reprocess
reprocess
reprocess-daemon
! process
process
process-daemon
! defragment
defragment
defragment-daemon
! conversion
conversion
conversion-daemon
! bitbucket
bitbucket
bitbucket-daemon
! deleted
deleted
deleted-daemon
! inactive
inactive
inactive-daemon
! hold
hold slave
hold-daemon -
I have this email relay problem
I have this email relay problem, i.e. i can reply within reach of my home server but not if I am somewhere else. Home is KPNMail, Iphine provider is Vodafone. What should I do to get it to work?
Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail Server SMTP>Primary Server then turn Server ON and fill in both User Name +Password under Outgoing Mail Server.
-
Using OS X Server as a backup nameserver and mail relay
Hi there
I manage websites and email on behalf of a number of clients, and until now have just used basic shared hosting for all their needs. However, I have had issues with the hosts, and have recently moved over to a VPS at my webhost to give me more scope and control.
I have roughly got my head around everything I need to do to make it work from a theory point of view with DNS, email etc, but now the technical part of setting up backups on my OS X server is challenging me. There are two main services I want to offer backup for using my little home server on a static IP: backuo mail-relay and nameserver. The key is that these are pure backup for the 0.01% of the time that any webhost has a problem, so I am comfortable that they can be done from home.
There are two specific areas I hope to use the Mac backup for:
1) I want to ensure that should the VPS go down (or need to be restarted/maintained) I have a backup mail server to catch and queue mail until my server is back up. I think this is straightforward(ish) for a single domain, but I need to be able to do this for multiple users over multiple domains. Can anyone point me in the right direction for setting this up?
2) As part of this, to be a bit more professional, I am using the VPS as a nameserver, so my clients see my domain as their nameserver. While I have multiple IPs, I only have one VPS, so if this goes down then the mail backup I set up above won't be contactable as the nameserver will also be down. Therefore I also need to be able to set up OS X as a secondary (slave) nameserver for all the domains. Again, can anyone point me in the right direction for this?
Many thanks
RichardYou would setup your backup mail server as a secondary MX server. But you have to ask yourself is it worth the effort. What is the SLA you have with your hosting provider. If they guarantee 99.9% uptime then a mail server may only ever go down for 1 or 2 hours max. Mail would not be lost during this time it would just get queued.
What front end is your VPS using is it CPANEL or Plesk?
Here is an interesting document that relates to cPanel.
How To Setup Backup or Secondary MX in CPanel -
HT6147 iOS 7.0.6 update - mail sending problems & uncontrollable apps closing
Hi all!
I’m having problems on two iPads after installing iOS 7.0.6 update. The first one is “sending mails via Exchange account and gmail is a NO GO!” an the second is “closing apps from time to time uncontrollably”. With iOS 7.0.4 this worked fine.
Anyone with same or similar problems? Any suggestions on how to fix this?
I already tried rebooting and deleting/adding accounts again in mail app with no positive effect.
Since iPads are used by company’s managers where seamless emailing is crucial function, this made iPads expensive bricks and nothing more.
The rest of iPads are to stay on the older version till this is fixed or workaround is found.
Thanks
MisciTry this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
iOS 7: Help with how to fix a crashing app on iPhone, iPad (Mini), and iPod Touch
http://teachmeios.com/help-with-how-to-fix-a-crashing-app-on-iphone-ipad-mini-an d-ipod-touch/
Troubleshooting apps purchased from the App Store
http://support.apple.com/kb/TS1702
Downloading Past Purchases from the iTunes Store, App Store and iBooks Store
http://support.apple.com/kb/ht2519
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
How to configure Sendmail mail relay with authentication
Hi,
How to configure send mail relay. Client gave us smtp host,port, username and password. We have a couple of server. If we configure the relay in any one of the server other servers able send mails using relay server. Please help me on this?.Create an IT Resource of Type Mail Server. Give Name as "Email Server.Now populate the values for all the parameter for example Server,username,password and authentication type.
.Go to System Configuration and in Email Server property value give the name of IT resource you created in step1 so the name will be "Email Server".
http://forums.oracle.com/forums/messageview.jspa?messageID=3867506&stqc=true -
How do I install stunnel on Yosemite server 4 so my mail relay works on port 465?
My ISP blocks outbound smtp mail and insists I point to their relay server on port 465. After I set up mail relaying in the server config app I get SMTP log errors saying it's unimplemented. After some research it looks like I need to install a SSL tunnel package called stunnel. Has anyone had an success getting stunnel installed? Or, has anyone had any luck using Yosemite Server 4 to mail relay through verizon.net (port 465)? Any suggestions are much appreciated.
I'll assume that you have to authenticate to the mail relay with a name and password. The Server GUI doesn't provide for this use case.
Take the following steps to configure Postfix to relay mail to a remote SMTP server with password authentication over SSL. Substitute as required for strings in italics below. Address is the fully-qualified domain name of the relay host. The value of port is usually either 25, 465, or 587. Username and password refer to your credentials on the relay host.
In the current version of OS X Server (but not necessarily in older versions), Steps 1 and 3 should be done for you when you enable relaying and relay authentication in the Server application.
1. If necessary, create or update the relayhost directive in
/Library/Server/Mail/Config/postfix/main.cf
It should look like this:
relayhost = [address]:port
2. Add these lines, above the section at the end that begins with the comment "# Mac OS X Server":
smtp_sasl_security_options =
smtp_tls_CAfile = /etc/certificates/relayhost.pem
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
smtp_use_tls = yes
3. If it doesn't already exist, create the password file
/Library/Server/Mail/Config/postfix/sasl/passwd
with this content:
[address]:port
username:password
Here address must match $relayhost.
Then create the password database:
sudo postmap /Library/Server/Mail/Config/postfix/sasl/passwd
This action creates the file
/Library/Server/Mail/Config/postfix/sasl/passwd.db
The two password files should be readable by root only.
4. Create the file
/etc/certificates/relayhost.pem
with the CA certificate(s) to be trusted for authentication of the remote host. You get those certificates from the service provider. If you can't find a link to download them, try this:
openssl s_client -connect address:port -showcerts < /dev/null | sed -n '/-BEGIN /,/-END /p' | sudo sh -c 'cat > /etc/certificates/relayhost.pem'
The command may produce an error message that isn't necessarily significant. For servers that use the older STARTTLS protocol, rather than straight TLS or SSL, this command may need to be modified.
5. Restart the Mail service. -
Server App: Outgoing Mail Relay not working
Hi,
I'm trying to set up Outgoing Mail Relay on my Mountain Lion Server, but I always get bounced emails:
Oct 1 04:33:34 my.server.private postfix/smtp[9582]: C855DCE700D: to=<[email protected]>, relay=mx2.sub5.homie.mail.dreamhost.com[208.113.200.128]:25, delay=0.91, delays=0/0.02/0.65/0.24, dsn=5.7.1, status=bounced (host mx2.sub5.homie.mail.dreamhost.com[208.113.200.128] said: 554 5.7.1 Service unavailable; Client host [myIP] blocked using zen.dnsbl; http://www.spamhaus.org/query/bl?ip=myIP (in reply to RCPT TO command))
If I use in the SMTP servers list of Mail app, the exact same account credentials, the email is been delivered only when using SSL. So, I tried adding :465 and :587 to the ougoing relay server in the Server app (Relay outgoing mail throught ISP), but I get the following error and the message stays queued:
Oct 1 04:13:41 my.server.private postfix/smtp[8920]: connect to mx2.sub5.homie.mail.dreamhost.com[208.113.200.128]:587: Connection refused
Oct 1 04:13:41 my.server.private postfix/smtp[8920]: connect to mx1.sub5.homie.mail.dreamhost.com[208.113.200.127]:587: Connection refused
Oct 1 04:13:41 my.server.private postfix/smtp[8920]: 0BAD1CE6340: to=<[email protected]>, relay=none, delay=369, delays=369/0.02/0.43/0, dsn=4.4.1, status=deferred (connect to mx1.sub5.homie.mail.dreamhost.com[208.113.200.127]:587: Connection refused)
It seems I'm missing something. I want to use smtp account to send all the email coming from my Mac OS X Server, but it looks like I'm doing something wrong or the Server App doesnt work the same way Mail App does when connecting to a SMTP server.
Any comments?Let me add....
Mail app is connecting and sending the emails correctly with the same credentials but using SSL through port 25:
READ Oct 01 05:04:01.566 [kCFStreamSocketSecurityLevelTLSv1SSLv3] -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
250-homiemail-a45.g.dreamhost.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250 8BITMIME
WROTE Oct 01 05:04:01.588 [kCFStreamSocketSecurityLevelTLSv1SSLv3] -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
AUTH PLAIN (*** 48 bytes hidden ***)
READ Oct 01 05:04:01.793 [kCFStreamSocketSecurityLevelTLSv1SSLv3] -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
235 2.7.0 Authentication successful
I would like to force Server App to do a SSL connection to port 25 of the specified relay server, but not sure how to do this. If I don't manage to do SSL on port 25, then, my relay server will bounce the emails...
grrrr! -
The mail server problem has been resolved, mail is working as designed....yeah!!
silly discusting board, I've got 3 replies in my email but it's not showing here ...
anyway, this time I found after some chasing my tail .... that the mail preferences had wiped my password and I needed to reinstall it, then instruct it to go online and some other click stuff ....
and it seems to be ok now ....
but each round in past 2 weeks has been different "fix" .... or wait ....
sorry for anyone without master email for 5 days, that's just not right ....
I'm afraid that as apple starts "giving away" email accounts to build the cloud into something much bigger than the mobile me was .... that their folo up will fail and we will find ourselves not with the same apple durability / consistency but with the "hey it's free" attitude ....
let's see -
Configure LAMP stack to use internal mail relay without....
Does anybody know of a way i can configure my new LAMP stack to use the companys internal mail relay without having to implement postfix, or sendmail? I did already try to implement send mail recently, and its very confusing to me since i have never set up a mail server, and i tried to implement postfix, SOHO i think was the wiki i used, and that never got done either. It seems incredibly cryptic to someone who even has tons of server experience, just not the email portion. Maybe the wikis are just written for those who have more experience in making SSL certs, and being more versed in MX records, and DNS for email specific things. etc...
Since i have not successfully set up a mail server thus far, i dont have enough general mailer / experience to understand the wikis on setting up Sendmail, etc...
My company asked me if i could just use their internal mail relay instead. I would like to know if i still need to set up sendmail to allow PHP mail() function to send out mail, or if theres some configuration somewhere that i can adjust so it can use the existing internal mail relays.
Note, the only thing im trying to achieve here is to get my apps to send out emails for login password management, and error logs.In my experience an SMTP server is preferable to sendmail/postfix as it is far more portable and robust... (in a web environment) many webhosts, for example, pay no heed to the configuration of sendmail - so code that runs on one host fails on another. PHP mail() can be leveraged to use any backend you like but this typically requires root access (or at least permissions beyond those offered on typical hosting services), and, as said above, does not allow for any useful level of error reporting.
Swiftmailer is (generally) my weapon of choice - unless the particular project has additional PEAR dependencies/requirements that mean it makes sense to stay within the same codebase... not that it (PEAR) is always that consistent anyhow
I can't really offer much in the way of help with cron integration as that is not a route I have taken - it should think it would be pretty trivial (sic )to implement as you build your script... swiftmailer has some pretty neat "live address" checking routines - have a dig through the docs
Last edited by satanselbow (2013-12-17 09:49:13)
Maybe you are looking for
-
Table name and field in lowercase
Hello, I installed Oracle 10 Express Edition. I would like to create tables and fields with lowercase letters. I try to create a table with the wizard, I choose respect lowercase / uppercase. But when the time comes to execute it to create the table
-
Hi, I am trying to make a photocard in iphoto '09 but when I open an album and then click on card the area where the photos to drag and drop should be is blank. I have managed to make a calender (which has the photos there to use) and can't work out
-
Where can i get a full listing of possible parameters for LAUNCH()
the reference page only talks about http. I know of tel to launch Skype audio. then there is also a syntax for launching Skype video. what else is there? gladly appreciate if this is out in the open. thanks.
-
What version of 10GiAS is compatible with Integration B2B & BPEL
I believe Oracle is going to release 10gr3 (10.1.3.1) release of Middleware which is bundled as SOA suite along with other suites BPA/EDA etc We were told earlier that 10.1.3 is not compatible with Integration B2B as B2B needs 10.1.2 BPEL Designer. C
-
Safari 6 "Save As" help...
I am getting so annoyed... I know Safari 6 dropped that "Activiy Window" thing, but I never used that. I don't care about bootleging a YouTube video, but I am very annoyed that I can "Save As" MP4?? Cnet offers a download link to their review videos