Archive for the 'Exchange' Category

Add non-exchange address to Exchange 2007 Transport Rule via adsiedit

Keep Reading ...

Exchange 2007 transport rules are very useful in most cases but I had issues once trying to set up a rule for emails sent from a APC battery unit to be forwarded to my cell phone via text message. But I would recieve an error when configuring the rule when attempting to add my [...]

SMTP commands

Keep Reading ...

SMTP commands:

Command

Description

References

ATRN
Authenticated TURN.
RFC 2645

AUTH
Authentication.
RFC 2554

BDAT
Binary data.
RFC 3030

BURL
Remote Content.
RFC 4468

DATA
Data.
RFC 2821

EHLO
Extended Hello.
RFC 2821

ETRN
Extended Turn.
RFC 1985

EXPN
Expand
RFC 2821

HELO
Hello
RFC 2821

HELP
Help
RFC 2821

MAIL
Mail
RFC 2821

NOOP
No operation
RFC 2821

ONEX
One message transaction only.
 

QUIT
Quit
RFC 2821

RCPT
Recipient
RFC 2821

RSET
Reset
RFC 2821

SAML
Send and mail.
RFC 821

SEND
Send.
RFC 821

SOML
Send or mail.
RFC 821

STARTTLS
 
RFC 3207

SUBMITTER
SMTP Responsible Submitter.
RFC 4405

TURN
Turn.
RFC 821

VERB
Verbose.
 

VRFY
Verify.
RFC 2821

If your in IT you know coffee is almost as important as the air we breath. Show [...]

Send Email Using Telnet

Keep Reading ...

Start off by opening a command prompt or terminal shell
then type:     telnet mail.domain.ext 25
You should receive a reply like saying “220″ and the service is ready followed by the date/time. This depends on how your email server is configured.
Example:
220 mail.domain.ext ESMTP Service ready at date+time+gmtoffset? (or somehting similiar)
Now that you are connected you will then [...]

SMPT Reply Codes

Keep Reading ...

SMTP Reply Codes:

Code

Description

211

System status, or system help reply.

214

Help message.

220

Domain service ready.
Ready to start TLS.

221

Domain service closing transmission channel.

250

OK, queuing for node node started.
Requested mail action okay, completed.

251

OK, no messages waiting for node node.
User not local, will forward to forwardpath.

252

OK, pending messages for node node started.
Cannot VRFY user (e.g., info is not local), but will take [...]

Exchange 2007- Who’s logged in to what mailbox… when?

Keep Reading ...

One thing I missed about Exchange 2003 was being able to easily go into the mmc and view the user and logon/logoff for every mailbox.
Get-MailboxStatistics | format-table DisplayName,LastLogoffTime,LastLogonTime,LastLoggedonUserAccount

Exchange 2007- Public Folder Permissions Example

Keep Reading ...

Seeing that Microsoft is attemping to move away from public folders and stopped providing easy GUI managment tools I found that this is the easiest way to modify permissions for a nested PF and change all child objects. Its simple and it works…
Get-PublicFolder -Identity “\(folder)\(folder)\” -recurse | Add-PublicFolderClientPermission -AccessRights owner (our desrired permission)
If your in IT [...]

Export List of Exchange 2007 mailbox sizes – Powershell script

Keep Reading ...

I have this script set as a sceduled task and runs daily on my companies Exchange 2007 servers. It helps to see not only the current sizes but to see if any mailboxes are getting out of control.
 
12345678910111213141516171819202122232425##############################################################
# Creates a file with all exchange 2007 mailboxes and sort by size
#
#
#
# Command, scheduled task or shortct [...]

Setup Exchange 2007 Firewall Headers

Keep Reading ...

A few months ago email being sent from my company were being rejected by some spam filters. After looking into it I found that exchange 2007 places the internal IP address in the header, which is a private address. Exchange 2007 does this by default.
Each time an SMTP email is passed from one server to [...]