09-02-2018
newaliases is not the answer. If I put %lt;username>@newdomain.com newaliases complains that it's not a local email address.
------ Post updated at 06:28 PM ------
Quote:
Originally Posted by
MadeInGermany
Did you recreate sendmail.cf with the m4/make command, according to the README in /usr/lib/mail?
Also you need to create the binary index files for the virtusertable.
The commands mught hide in /usr/ccs/bin; put that into the PATH.
Yes, I used make. Yes I created the maps for virtusertable.db.
Not sure what you mean by commands hiding in /usr/ccs/bin. What commands? Who needs to know about them?
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How do I configure send mail to send mail to internet mail accounts. The system is on a network which has an internet net router configured. (2 Replies)
Discussion started by: stuart.tootill
2 Replies
2. Solaris
Hello,
I just installed Solaris 10 and my sendmail works. However, when I send an email the from heading appears as 'user@serverhostname.company.com'. Is there a way to remove the serverhostname so that the heading appears as 'user@company.com'.
Thanks. (0 Replies)
Discussion started by: vitzit
0 Replies
3. UNIX for Dummies Questions & Answers
hello to all,
I'm a newbie to configuring sendmail. I have a solaris 9 server that is also set up as a NIS master server. My 1st question is how do properly set up sendmail to work in conjuntion with NIS users, so I need to set up sendmail in a certain way or can I just set it up normally. Also... (5 Replies)
Discussion started by: GLJ@USC
5 Replies
4. Solaris
Hi All,
I am facing problem while sending mail using "mail" & "sendmail" commands from my Solaris 10 system. When I send the mail, it moves it to dead.letter & generates following error messages in /var/log/syslog file;
Feb 22 14:20:14 ppip1n sendmail: l1M8oDEE008601:... (10 Replies)
Discussion started by: jumadhiya
10 Replies
5. Solaris
Hi All,
How do I make sure that sendmail outside the server is blocked? How do I make sure the port 25 is blocked on the firewall? How do I determine if port 25 is used or other ports?
Thanks in advance for any commment you may add. (1 Reply)
Discussion started by: itik
1 Replies
6. Cybersecurity
how to configure sendmail in solaris 10 ????
Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies
7. Solaris
My mail isbeing sent via server in format of :
username@host.domain and from this fails as the domain does not exist.
In solaris 9 we used DMdomain which cured the problem.
this does not work in solaris 10
I have tried to rebuild sendmail.cf from a new version of the .mc file and tried... (7 Replies)
Discussion started by: smcart
7 Replies
8. Solaris
Hello,
I need help to configure sendmail on Solaris 10.
I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users.
I'm studying several tutorials ...
When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies
LEARN ABOUT FREEBSD
mailer.conf
MAILER.CONF(5) BSD File Formats Manual MAILER.CONF(5)
NAME
mailer.conf -- configuration file for mailwrapper(8)
DESCRIPTION
The file /etc/mail/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.
FILES
/etc/mail/mailer.conf
EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program:
# Execute the "real" sendmail program located in
# /usr/libexec/sendmail/sendmail
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8):
# Emulate sendmail using postfix
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail
This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8):
# Emulate sendmail using exim
sendmail /usr/local/sbin/exim
send-mail /usr/local/sbin/exim
mailq /usr/local/sbin/exim -bp
newaliases /usr/bin/true
rmail /usr/local/sbin/exim -i -oee
This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments.
# Send outgoing mail to a smart relay using mini_sendmail
sendmail /usr/local/bin/mini_sendmail -srelayhost
send-mail /usr/local/bin/mini_sendmail -srelayhost
SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8)
postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/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 dif-
ferently if invoked with a different name" behavior of things like mailq(1) should go away.
BSD
October 8, 2010 BSD