I am not sure if this is the correct place for this question, and if not, please move this to the correct forum
I have Linux machine that is capable of sending emails via sendmail
I have another Windows machine on which I have PHP installed
I would like PHP on the Windows machine to use the SMTP server on the Linux machine for sending emails
I configured the IP address of the Linux machine as the SMTP server but I still cannot get it to work
I am thinking that there is some privileges configuration on the Linux that only allows it to accept SMTP requests from itself.
If that is the case, does anyone know where such configuration be and how can I configure my Linux machine to also accept SMTP requests from my Windows Machine?
Hello list,
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.
... (2 Replies)
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 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)
Background:
I am replicating a set of servers into a "bubble" for testing. Those systems cannot be aware they are in a "bubble" so I must replicate all external services. I have successfully replicated most of those services except SMTP. I would like to configure an SMTP server that collects... (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)
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)
Hi,
We had an upgrade today morning and since then mailx command is not working.
I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address.
Can someone please help me out to know where can I change this on a Unix Server.
Thanks
Aman (5 Replies)
sendmail(4) File Formats sendmail(4)NAME
sendmail, sendmail.cf, submit.cf - sendmail configuration files
SYNOPSIS
/etc/mail/sendmail.cf
/etc/mail/submit.cf
DESCRIPTION
The sendmail.cf and submit.cf files are the configuration files for sendmail(1M). Starting with version 8.12 of sendmail, which was shipped
with version 9 of the Solaris operating system, two configuration files are used for submission and transmission of mail, instead of only
sendmail.cf, as before. These are:
sendmail.cf Remains the principal sendmail configuration file. Used for the Mail Transmission Agent (MTA).
submit.cf Used for the Mail Submission Program (MSP). The MSP is used to submit mail messages. Unlike the MTA, it does not run as an
SMTP daemon.
The MSP does not require root privileges, thus the two-file model provides better security than the pre-sendmail 8.12 model, in which the
MSP ran as a daemon and required root privileges.
In the default sendmail configuration, sendmail uses submit.cf, as indicated in ps(1) output. In ps output, you will observe two sendmail
invocations, such as the ones below:
/usr/lib/sendmail -Ac -q15m
/usr/lib/sendmail -bd -q15m
The first indicates the use of submit.cf, with the client queue (/var/spool/clientmqueue) being checked--and, if needed, flushed--every 15
minutes. The second invocation runs sendmail as a daemon, waiting for incoming SMTP connections.
As shipped, sendmail.cf and, in particular, submit.cf, are appropriate for most environments. Where a knowledgeable system administrator
needs to make a change, he should use the following procedures.
For sendmail.cf:
1. Change directories to the directory that contains the source files for the configuration files.
# cd /etc/mail/cf/cf
2. Create a copy of the sendmail file for your system.
# cp sendmail.mc `hostname`.mc
3. Edit `hostname`.mc. Make changes suitable for your system and environment.
4. Run make to generate the configuration file.
# /usr/bin/make `hostname`.cf
5. Copy the newly generated file to its correct location.
# cp `hostname`.cf /etc/mail/sendmail.cf
6. Restart the sendmail service.
# svcadm restart sendmail
You must restart sendmail for sendmail.cf file changes to take effect, as indicated in step 6. Steps 4 - 6 can be automated. See Automated
Rebuilding of Configuration Files below.
For submit.cf:
1. Change directories to the directory that contains the source files for the configuration files.
# cd /etc/mail/cf/cf
2. Create a copy of the submit file for your system.
# cp submit.mc submit-`hostname`.mc
3. Edit submit-`hostname`.mc. Make changes suitable for your system and environment.
4. Run make to generate the configuration file.
# /usr/bin/make submit-`hostname`.cf
5. Copy the newly generated file to its correct location.
# cp submit-`hostname`.cf /etc/mail/submit.cf
You do not need to restart sendmail for changes to submit.cf to take effect. Steps 4 and 5 can be automated. See Automated Rebuilding of
Configuration Files below.
Enabling Access to Remote Clients
The sendmail(1M) man page describes how the config/local_only property can be set to true or false to disallow or allow, respectively,
access to remote clients for unmodified systems.
Setting values for the following properties for the service instance svc:/network/smtp:sendmail results in automated (re)building of con-
figuration files:
path_to_sendmail_mc
path_to_submit_mc
The values for these properties should be strings which represent the path name of the .mc files referred to in steps 2 and 3 of both pro-
cedures above. Recommended values are:
/etc/mail/cf/cf/`hostname`.mc
/etc/mail/cf/cf/submit-`hostname`.mc
Each property, if set, results in the corresponding .mc file being used to (re)build the matching .cf file when the service is started.
These properties persist across upgrades and patches. To prevent a patch or upgrade from clobbering your .cf file, or renaming it to
.cf.old, you can set the desired properties instead.
FILES
/etc/mail/cf/README Describes sendmail configuration files.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmr |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO make(1S), ps(1), sendmail(1M), svcadm(1M), attributes(5)
System Administration Guide: Network Services
SunOS 5.11 8 May 2008 sendmail(4)