Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:45

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Smtp server whitepapers?
PostPosted: 09 Jun 2008 06:58 

Joined: 19 Apr 2008 00:59
Posts: 42
I was wondering if anyone has whitepapers on smtp servers.

(I can't find any on google)


Top
 Profile  
 
 
 Post subject:
PostPosted: 09 Jun 2008 08:38 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
any public protocol is documented in RFCs:

http://www.ietf.org/rfc/rfc0821.txt


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 11:07 

Joined: 19 Apr 2008 00:59
Posts: 42
Ok thanks, I'll check it out.

Quick question, what kind of socket would I use for it?


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 11:28 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
it's a TCP connection so socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 11:57 

Joined: 19 Apr 2008 00:59
Posts: 42
aluigi wrote:
it's a TCP connection so socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);


Thanks a bunch

I try connecting to hotmail.com/mx1.hotmail.com on port 25 but I don't get a response.


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 17:28 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
depends to what you refer, if you mean that you don't receive data from the server at all or after having sent a command.
Then remember that is possible that your IP range could be not allowed to send mails directly to hotmail.com mailboxes, this is an antispam policy used by some blacklists and mail servers.


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 23:11 

Joined: 19 Apr 2008 00:59
Posts: 42
aluigi wrote:
depends to what you refer, if you mean that you don't receive data from the server at all or after having sent a command.
Then remember that is possible that your IP range could be not allowed to send mails directly to hotmail.com mailboxes, this is an antispam policy used by some blacklists and mail servers.


ah ok, thats probably it because it doesn't connect.

Although I would imagine all it would do is auto forward any email i send to spam.


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 23:27 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
there is a difference between the mails you send to a smtp server and from it.

As already said, sometimes there are some antispam blacklists which include the range of IP addresses of an ISP dedicated to home users and so they are classified as untrusted.
So if you, from your home connection, try to send a mail directly using the SMTP server of the recipient (that use these blackslists) is possible that you will be kicked.

Different is if you have the same domain of the SMTP server (for example yourname@hotmail.com and you use the MX of hotmail) and want to send a mail to me, in which case there are no problems since you are a trusted user.

Another problem which can happen when people try to send a mail for the first time is the lack of the <> delimiters in the source/recipient mail addresses (mailf from and rcpt to), in fact using yourname@example.com is wrong and you must use <yourname@example.com>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: