10-29-2019
what does ls -l sendmail.cf show? Has it changed recently? There should a default version of sendmail.mc you can compile and then substitute. If in doubt.
If it got changed you may want to revert. Here is how to revert:
sendmail.mc is what you change then compile with m4 into sendmail.cf. You did that, right? ...assuming you already changed something. It is not a good idea to edit sendmail.cf directly, BTW.
This User Gave Thanks to jim mcnamara For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We're an internet company with several domain names. Our mail server was originally set up to deal with xxx@domain1.com email addresses which works fine.
The problem I have is that we're now also using a domain2.com, and sales@domain1.com isn't the same as sales@domain2.com.
I've added... (1 Reply)
Discussion started by: captainash
1 Replies
2. UNIX for Advanced & Expert Users
hi
i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to
send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused:
i... (0 Replies)
Discussion started by: legato
0 Replies
3. AIX
Hi, folks!
I have a problem with an AIX 5.3 server running sendmail where
it is able to send messages within its own domain just fine. This
is being used for a web email service portion of a web site. However,
when it attempts to send email to any other domain -- i.e.,
hotmail.com -- it... (3 Replies)
Discussion started by: jjwood64
3 Replies
4. UNIX for Advanced & Expert Users
I am running redhat enterprise 4 with sendmail version 8.13. I am trying to configure sendmail to append the domain to localpart.
For example
If i send an email to “username”. I want sendmail to append the “username” with @bbl.com
I tried modifying the following in /etc/mail/sendmail.mc
... (2 Replies)
Discussion started by: hassan1
2 Replies
5. HP-UX
Hi,
I would like to change the domain name using sendmail.
For example, currently mails are sent like user@domain1.com
I would like to change it to user@domain2.com
How this can be done from HP-UX?
Your help is highly appreciated.
Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies
6. Shell Programming and Scripting
While sending mails using sendmail, the domain name is getting appended to the from id. My requirement is not to have that domain name in the From mail id. Could anyone help me on this? I am using the below command:
cat t|/usr/lib/sendmail -f"Admin" user1@domain1.com (0 Replies)
Discussion started by: skar_a
0 Replies
7. UNIX for Advanced & Expert Users
For a long time we have successfully been running mail servers using sendmail+ClamAV+clamav-milter+SpamAssassin+smf_spamd-milter on Solaris both as a mail server for several domains with local users getting their mail using POP and IMAP and also as a message filtering relay for other domains where... (2 Replies)
Discussion started by: andyt22
2 Replies
8. AIX
Is there a way in AIX5.3 with Sendmail 8.13.4 to accept a sender address with an unresolvable domain? I've read about the option:
FEATURE(`accept_unresolvable_domains')
But can't seem to confirm if that option is available in this version of Sendmail.
If it that feature is not available... (1 Reply)
Discussion started by: epearson1
1 Replies
9. UNIX for Dummies Questions & Answers
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies
10. Red Hat
I can send off network but can not send to anyone on network.
SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server.
for this instance we will call the 192.168.1.9(outgoing)... (4 Replies)
Discussion started by: sycomix
4 Replies
LEARN ABOUT NETBSD
mailer.conf
MAILER.CONF(5) BSD File Formats Manual MAILER.CONF(5)
NAME
mailer.conf -- configuration file for mailwrapper(8)
DESCRIPTION
The file /etc/mailer.conf contains a series of lines of the form
name program [arguments ...]
The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be
a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.)
The second word of each line is the name of the program to actually execute when the first name is invoked.
The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with.
The file may also contain comment lines, denoted by a '#' mark in the first column of any line.
The default mailer is postfix(1), which will also start by default (unless specifically disabled via an rc.conf(5) setting) so that locally
generated mail can be delivered, if the ``sendmail'' setting in /etc/mailer.conf is set to ``/usr/libexec/postfix/sendmail''.
FILES
/etc/mailer.conf
EXAMPLES
This example shows how to set up mailer.conf to invoke the postfix(1) program:
sendmail /usr/libexec/postfix/sendmail
mailq /usr/libexec/postfix/sendmail
newaliases /usr/libexec/postfix/sendmail
This example shows the use of the mini-sendmail package from pkgsrc in place of postfix(1):
# Send outgoing mail to a smart relay using mini-sendmail
sendmail /usr/pkg/sbin/mini-sendmail -srelayhost
send-mail /usr/pkg/sbin/mini-sendmail -srelayhost
Note the use of additional arguments.
SEE ALSO
mail(1), mailq(1), newaliases(1), postfix(1), mailwrapper(8)
pkgsrc/mail/sendmail, pkgsrc/mail/mini_sendmail
HISTORY
mailer.conf appeared in NetBSD 1.4.
AUTHORS
Perry E. Metzger <perry@piermont.com>
BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the ``behave
differently if invoked with a different name'' behavior of things like mailq(1) should go away.
BSD
April 10, 2010 BSD