sendmail on FreeBSD


 
Thread Tools Search this Thread
Operating Systems BSD sendmail on FreeBSD
# 1  
Old 01-24-2006
sendmail on FreeBSD

Dear all,

I have been using freebsd 5.4 for 2 months using fetchmail to retrieve mails and using sendmail to send mails.
I have no problem with fetchmail to retrieve mails from pop3 server.
And most of the time I have no problem with sendmail.
But recently I found that I could not send mails to freebsd-stable@freebsd.org.
Actually sendmail is a mail server (not a client), which sends mails directly from my host to other mail servers without relaying and SMTP is a server-to-server protocol, which requires reverse DNS to gain full functionality.
Correct me, if I'm wrong.
I found that rDNS was not supported to the given IP address and PTR record was not found (I don't know so much about them).
So my sendmail can not work with some destination servers.
How to config rDNS? Shall I call ISP?
Does relay help me solve this problem? And how to config it?

More info: I'm on dual stack; dynamic IPv4 and static IPv6 (6bone).
Somebody who experienced this problem please point me out.

Thanks in advance,
Jaguar
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Need help with sendmail email filtering on FreeBSD

Hi All, Sorry, for the double posting. Don't know how to move to a different forum. I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9. I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a... (1 Reply)
Discussion started by: simplemind
1 Replies

3. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

4. Fedora

FreeBSD

I'm using Windows mostly and the only *nix thing I used during my life was cygwin (I like command line :)). But currently I have (by an occasion) a DVD with latest FreeBSD. I don't know why, but I want to install it... But probably, this OS is too difficult for a beginner. I heard, it's used on... (3 Replies)
Discussion started by: TeenageWerewolf
3 Replies

5. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

6. BSD

please help me in FreeBSD

Hi to all, Iam doing a project in Free BSD and i am stuck with a puzzle. Please any one of you clarify my doubt : How to add a mechanism to check the status of the file system which alerts the root user via. email if any single partition is greater than 90% full. This alert should include the... (3 Replies)
Discussion started by: tadakamalla
3 Replies

7. BSD

FreeBSD 5.2.1

I want someone tell me the positives and negatives points of FreeBSD 5.2.1, if someone help me, i thanks a lot! (4 Replies)
Discussion started by: israel
4 Replies

8. UNIX for Dummies Questions & Answers

FreeBSD

What is FreeBSD, who does use Free? (3 Replies)
Discussion started by: cyberangel
3 Replies

9. UNIX for Dummies Questions & Answers

Freebsd 4.5

i am new at unix and am VERY confused about the compression processes. what progs do i need to unzip and zip files? there must be a standard one similar to winzip? (1 Reply)
Discussion started by: Mindscan
1 Replies

10. UNIX for Dummies Questions & Answers

FreeBSD

I am on AOL now,and i am using 56 k,i was gonna install FreeBSD,but i dont know if aol works on BSD,or my modem. Do they work on BSD? (2 Replies)
Discussion started by: kita
2 Replies
Login or Register to Ask a Question
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