Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

What can I disable, but still send mail via PHP?

Exim, SMTP, etc?

8:27 pm on Oct 9, 2007 (gmt 0)

New User

10+ Year Member

joined:Feb 21, 2005
posts: 21
votes: 0

WHM / cPanel 11
REDHAT Enterprise 4

I use Google for my email, so I want to disable all email related services on my server. However, I still want to send out emails with the server (user signups, forgot password).

My understanding is that sendmail doesn't need exim, imap, pop3, smtp services to send mail OUT, that's just for mail coming IN. Am I correct?

Also, what port does it use to send mail out? I'd like to firewall off all the other ports while I'm at it.

Thanks in advance!

4:18 pm on Oct 10, 2007 (gmt 0)

New User

5+ Year Member

joined:Oct 4, 2007
votes: 0

You need a Mail Transfer Agent to send the emails. SMTP is the transmission protocol used. So you need something like Postfix, Exim, or Sendmail if you swing that way (I'd avoid it). IMAP/POP3 are protocols used for mail retreival, so won't need any of those.

SMTP works over port 25.

Just make sure you have access to to the root/postmaster mails on the server, as mail errors are usually sent to those accounts.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members