How can I build a webmail on FreeBSD??

Code:
[203.0.113.2] The IP you're using to send mail is not authorized to 
550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 
550-5.7.1 service provider instead. Learn more at 
550 5.7.1 [URL]https://support.google.com/mail/?p=NotAuthorizedError[/URL] h1si7104782plt.44 - gsmtp (in reply to end of DATA command))

In order to prevent spam, Gmail refuses mail from IP addresses that are not authorized to send mail. The determination of whether or not an IP address is authorized to send mail is made by the ISP that provides you with the IP address. This list typically contains consumer IP ranges offered for dialup, DSL, or other broadband access.
So it's your ISP that told Gmail to refuse email from your IP. My ISP has clearly not done this:
Code:
dice@maelcum:~ % nc alt1.gmail-smtp-in.l.google.com 25
220 mx.google.com ESMTP t18si6888565pgh.89 - gsmtp
EHLO sirdice.nl
250-mx.google.com at your service, [2001:XXXX:XXXX:XXXX::1]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
MAIL FROM: <admin@sirdice.nl>
250 2.1.0 OK t18si6888565pgh.89 - gsmtp
RCPT TO: <sirdice@gmail.com>
250 2.1.5 OK t18si6888565pgh.89 - gsmtp
DATA
354  Go ahead t18si6888565pgh.89 - gsmtp
subject: some test
hello world
(This is a test from my home connection)
 
So it's your ISP that told Gmail to refuse email from your IP.
that's not my personal ip(my MTAs are all in working state , on bare metal next to me , in the cloud or elsewhere) ... its an example for all who want to setup their own MTAs .
so you're absolutely right again :) :
we got the main message now :
the configuration of an MTA depends on the servers environment and on the ISPs environment .
And : Yes we can ! ( setup own MTAs mostly even in suboptimal environments),
e.g nicely described by user obsigna ..
--- edit:---
The other side of the coin is:
The administration of "own" mailserver (whatever means "own") in a production environment is only for professionals(whatever this means). you cannot say:" Hey friends, come all to my new OWN mailserver, I've setup with the help of FreeBSD-forum."
the risk is too high, that you`ll lose all your friends the next days..." 😂
 
Back
Top