Sponsored Content
Full Discussion: SMTP Server Configuration
Top Forums Web Development SMTP Server Configuration Post 302980518 by stomp on Monday 29th of August 2016 03:44:50 PM
Old 08-29-2016
Bad News here

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.

Last edited by stomp; 08-29-2016 at 05:32 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

SMTP server-denied

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)
Discussion started by: uwagon
1 Replies

2. Solaris

SMTP Configuration

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)
Discussion started by: Rajat
1 Replies

3. AIX

AIX 6.1 SMTP Server ?

Hello, Looking for Document how to install / configure SMTP Server on AIX 6.1 is it through smitty menu ? (3 Replies)
Discussion started by: filosophizer
3 Replies

4. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

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)
Discussion started by: ahmed_salah
0 Replies

5. AIX

SMTP Server errors

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)
Discussion started by: ctote
4 Replies

6. UNIX for Dummies Questions & Answers

Emailing from a hudson job - smtp configuration

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)
Discussion started by: Aurea
0 Replies

7. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

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)
Discussion started by: sandeepcm
3 Replies

8. UNIX for Dummies Questions & Answers

Postfix as smtp server

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)
Discussion started by: karlochacon
3 Replies

9. Solaris

.muttrc configuration for smtp

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)
Discussion started by: adeel
3 Replies

10. Red Hat

External SMTP server

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)
Discussion started by: Duffs22
1 Replies
DMA(8)							    BSD System Manager's Manual 						    DMA(8)

NAME
dma -- DragonFly Mail Agent SYNOPSIS
dma [-DiOt] [-Amode] [-bmode] [-f sender] [-L tag] [-ooption] [-r sender] [-q[arg]] [recipient ...] DESCRIPTION
dma is a small Mail Transport Agent (MTA), designed for home and office use. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authentication. dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(1). Consequently, dma does not listen on port 25 for incoming connections. The options are as follows: -Amode -Ac acts as a compatibility option for sendmail. -bmode -bp List all mails currently stored in the mail queue. -bq Queue the mail, but don't attempt to deliver it. See also the 'DEFER' config file setting below. All other modes are are ignored. -D Don't run in the background. Useful for debugging. -f sender Set sender address (envelope-from) to sender. This overrides the value of the environment variable EMAIL. -i Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file. -L tag Set the identifier used in syslog messages to the supplied tag. This is a compatibility option for sendmail. -O This is a compatibility option for sendmail. -ooption Specifying -oi is synonymous to -i. All other options are ignored. -q[arg] Process saved messages in the queue. The argument is optional and ignored. -r sender Same as -f. -t Obtain recipient addresses from the message header. dma will parse the To:, Cc:, and Bcc: headers. The Bcc: header will be removed independent of whether -t is specified or not. CONFIGURATION
dma can be configured with two config files: o auth.conf o dma.conf These two files are stored per default in /etc/dma. FILE FORMAT
Every file contains parameters of the form 'name value'. Lines containing boolean values are set to 'NO' if the line is commented and to 'YES' if the line is uncommented. Empty lines or lines beginning with a '#' are ignored. Parameter names and their values are case sensi- tive. PARAMETERS
auth.conf SMTP authentication can be configured in auth.conf. Each line has the format ``user|smarthost:password''. dma.conf Most of the behaviour of dma can be configured in dma.conf. SMARTHOST (string, default=empty) If you want to send outgoing mails via a smarthost, set this variable to your smarthosts address. PORT (numeric, default=25) Use this port to deliver remote emails. Only useful together with the 'SMARTHOST' option, because dma will deliver all mails to this port, regardless of whether a smarthost is set or not. ALIASES (string, default=/etc/aliases) Path to the local aliases file. Just stick with the default. The aliases file is of the format nam: dest1 dest2 ... In this case, mails to nam will instead be delivered to dest1 and dest2, which in turn could be entries in /etc/aliases. The special name '*' can be used to create a catch-all alias, which gets used if no other matching alias is found. Use the catch-all alias only if you don't want any local mail to be delivered. SPOOLDIR (string, default=/var/spool/dma) Path to dma's spool directory. Just stick with the default. AUTHPATH (string, default=not set) Path to the 'auth.conf' file. SECURETRANS (boolean, default=commented) Uncomment if you want TLS/SSL secured transfer. STARTTLS (boolean, default=commented) Uncomment if you want to use STARTTLS. Only useful together with 'SECURETRANS'. OPPORTUNISTIC_TLS (boolean, default=commented) Uncomment if you want to allow the STARTTLS negotiation to fail. Most useful when dma is used without a smarthost, delivering remote messages directly to the outside mail exchangers; in opportunistic TLS mode, the connection will be encrypted if the remote server sup- ports STARTTLS, but an unencrypted delivery will still be made if the negotiation fails. Only useful together with 'SECURETRANS' and 'STARTTLS'. CERTFILE (string, default=empty) Path to your SSL certificate file. SECURE (boolean, default=commented) Uncomment this entry and change it to 'INSECURE' to use plain text SMTP login over an insecure connection. You have to rename this variable manually to prevent that you send your password accidentally over an insecure connection. DEFER (boolean, default=commented) Uncomment if you want that dma defers your mail. You have to flush your mail queue manually with the -q option. This option is handy if you are behind a dialup line. FULLBOUNCE (boolean, default=commented) Uncomment if you want the bounce message to include the complete original message, not just the headers. MAILNAME (string, default=empty) The internet hostname dma uses to identify the host. If not set or empty, the result of gethostname(3) is used. If 'MAILNAME' is an absolute path to a file, the first line of this file will be used as the hostname. MASQUERADE (string, default=empty) Masquerade the envelope-from addresses with this address/hostname. Use this setting if mails are not accepted by destination mail servers because your sender domain is invalid. This setting is overridden by the -f flag and the EMAIL environment variable. If 'MASQUERADE' does not contain a @ sign, the string is interpreted as a host name. For example, setting 'MASQUERADE' to 'john@' on host 'hamlet' will send all mails as 'john@hamlet'; setting it to 'percolator' will send all mails as 'username@percolator'. NULLCLIENT Bypass aliases and local delivery, and instead forward all mails to the defined 'SMARTHOST'. 'NULLCLIENT' requires 'SMARTHOST' to be set. Environment variables The behavior of dma can be influenced by some environment variables. EMAIL Used to set the sender address (envelope-from). Use a plain address, in the form of user@example.com. This value will be overridden when the -f flag is used. SEE ALSO
mailaddr(7), mailwrapper(8), sendmail(8) J. B. Postel, Simple Mail Transfer Protocol, RFC 821. J. Myers, SMTP Service Extension for Authentication, RFC 2554. P. Hoffman, SMTP Service Extension for Secure SMTP over TLS, RFC 2487. HISTORY
The dma utility first appeared in DragonFly 1.11. AUTHORS
dma was written by Matthias Schmidt <matthias@dragonflybsd.org> and Simon Schubert <2@0x2c.org>. BSD
February 13, 2014 BSD
All times are GMT -4. The time now is 12:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy