Categories
AD/LDAP Administration Exchange 2007 Linux Mailbox Microsoft Scripts SMTP Windows

HOW TO: Export all email addresses from a domain

AD Users & Computers UI lets you list the mail column for each object, which displays the default (SMTP) email address for objects. You can export the list from ADUC as csv/txt. However, any additional email addresses in the proxyAddresses attribute are not exported.

There’s no GUI to list/export all email addresses. Here’s a script to do that – ListEmailAddresses.vbs.

File: ListEmailAddresses.zip

What does it exactly do?
– Queries Active Directory for Contacts & Groups
– Lists their email addresses
– Queries Users
– Lists enabled users’ email addresses
– Lists disabled users’ email addresses separately
– Outputs to command line and also to a text file – c:proxyaddresses.txt
X.400 addresses are ignored

Categories
Bmail.exe CLI Command Line Linux SMTP Utility Windows

Command Line SMTP Mailer for Batch Jobs

Bmail is a free but lean command line SMTP mail sender. Don’t get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers. Together with the freeware utility mpack, you can also send MIME encoded attachments.

Download and more information here.

Categories
Linux SMTP Ubuntu Windows

Ubuntu relay email server through ISPs SMTP

Easy way to setup fast, simple and reliable email relay server which will work with ISPs smtp server.

1. Install EXIM4 server: apt-get install exim4 exim4-config

2. run : dpkg-reconfigure exim4-config; choose following config:

a: mail sent by smarthost; no local mail

b: you domain name (example.com)

c: loopback address

d: nothing

e: domain name (example.com)

f: ISP’s host name – smtp.comcast.net

g: No

h: Yes

3. Test, using php, perl or install mail utils: apt-get install mailutils :

a. type: mail your@email.com

b. cc:

c: subject

d: body

e type single period (.) to send

Categories
Linux SMTP Windows

Windows SMTP Test Script

Must telnet to port 25 of the mail server first
—————————————————

ehlo test

mail from:

rcpt to:

data

subject: test via telnet

test via telnet to jim b – should create a log entry

.

Categories
Linux SMTP Windows

Linux SMTP Test Script

Must telnet to port 25 of the mail server first
—————————————————

ehlo test

mail from:

rcpt to:

data

subject: test via telnet

test via telnet to jim b – should create a log entry

.

Categories
Blackberry cell phone Linux Mobile Phone SMTP SPAM SPF Windows

Spam Diagnostic Sites

REPUTATION
www.trustedsource.org – reputation and volume
www.senderbase.org – reputation and volume
www.sendmail.com/sm/resources/tools/ip_reputation/

BLACKLISTS & DNS
www.mxtoolbox.com – test for blacklists
www.dnsreport.com – test DNS configuration for domain

OPEN RELAY
www.abuse.net/relay.htmlwww.spamhelp.org/shopenrelay/shopenrelaytest.phpwww.antispam-ufrj.pads.ufrj.br/cgi-bin/test-relay.cgi?host_to_test=74.52.179.66

REVERSE-LOOKUP
http://www.zoneedit.com/lookup.html

SENDING TO HOTMAIL
http://www.isipp.com/wiki/deliverability/index.php/Main/Hotmail

COMCAST
http://postmaster.comcast.net/

AT&T
abuse_rbl@abuse-att.nethttp://worldnet.att.net/general-info/mail_info/block_admin.html

EXCELLENT testing resource
http://deliverability.com/resources/emailAuthentication.php

SPF information
www.seoconsultants.com/tools/spf/www.openspf.orghttp://www.kitterman.com/spf/validate.htmlMicrosoft

SenderID wizard
http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/default.aspx

SE sample SPF record: v=spf1 ip4:65.168.94.6 ip4:209.196.5.140 ip4:209.196.5.170 ip4:216.9.248.0/24 ~allthe first ip4 address is exchange serverthe second ip4 address is bomgarthe third ip4 address is kayakothe fourth range is blackberry / RIM ==> all of those servers are marked as allowed to send outbound on behalf of SE

Microsoft SenderID===========================
http://postmaster.live.com/snds

Add an SPF record to DNS and then email senderid@microsoft.com telling them that it’s done, including the IP address and hostname in the message. It will take some back and forth, but you should then be able to send to Hotmail users again – this process may take as long as a week.