I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4.
Network: My servers all sit behind NAT with a private IP address and they are not resolvable from the internet.
Requirement: I want to be able to send emails directly from the SMTP service without having to rely on an SMTP smarthost such as google. This is a "send only" requirement.
In my testing, the only configuration I was able to get to send outbound email was through my "paid for" Google SMTP smarthost. And even then I was unable to send email to domains outside of Gmail from my linux box. And I want to avoid relying on an SMTP smarthost.
I have used mutt/mail before with exim and others before without any prior configuration. But just my luck, when I want it to work it just doesn't work at all.
Has anyone got a working config for any of the email servers or a recommendation on what I should configure, or anything I am doing wrong. I have using the following basic guide and googling for solutions:
There are two distinct errors, one of which is this one:
In another configuration, the error tells me something like "A fully qualified is required" (sorry I don't have access to this error to post right now, but can post later)
The command I am using is the following, but I have also tried with "mail." Although I'm sure this has nothing to do with the command I am using. The same errors in the log occur what ever variation of the command I use.
As always, this has to be something really simple!
Thanks!
It's common practice to block mail servers from private internet connections with dynamically assigned IP addresses. You'll have a lot of rejections for valid mails. Nothing you can do about it. Fighting Spam means making it hard for spammers to send emails - at the same time making it hard for everybody to send emails.
And don't even try to send mails without a proper set up mail server(rdns, SMTP-Banner, Relay-Restriction,...). Connection will be dropped, faster than your mailer can say HELO.
IMO is using a smarthost one of the easier alternatives here.
Hi,
We current use an email/hosted exchange server (provided by 3rd party company).
Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Hi, I need to configure .muttrc for an internal smtp server.
Scenario is that i want to send an email to an external email address (i.e. hotmail or gmail etc) with mutt from solaris sparc server. the server has connectivity to an internal smtp server but i am enable to configure .muttrc file.... (3 Replies)
hi guys
I have to configure a SMTP server using Postfix, ok let me tell the domain is located at godaddy so my smtp postfix server has to use that domain let's say mycompany.com
so anyone knows how to configure postfix using this way?
or postfix is easy to configure?
thanks a lot (3 Replies)
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Hello everyone,
I'm trying to send an email from a Hudson (integration server) job but the error below happens:
Sending e-mails to: xxxxxx
ERROR: smtp
javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:782)
at... (0 Replies)
Hey everyone,
I have an issue where email is working fine in our Windows environments but is blowing up in our AIX environments.
Here is the related functions that are getting called:
int get_smtp_line( void )
{
char ch = '.';
char in_data ;
char * index;
int retval = 0;
... (4 Replies)
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Hello everyone,
I've got this Java script which needs to know the SMTP host in order to send out mails from a particular mail ID. But I have no idea how or what to configure in SMTP for getting this code up and running.(All I know is SMTP=Simple Mail Transfer Protocol).
I'm using Solaris 5.8.... (1 Reply)
im running Solaris9.
sendmail version 8.13
every now and then my smtp server is being blacklisted resulting to relay denied to some of my client.
what is the very first thing i have to implement?
thanks (1 Reply)