07-01-2008
Quote:
Originally Posted by
incredible
contents of a .mc file as follows:
--------------------------------------
divert(0)dnl
VERSIONID(` [at] (#)sendmail.mc 1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
MASQUERADE_AS
FEATURE(`always_add_domain')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
LOCAL_NET_CONFIG
R$* < [at] $* .$m. > $* $#esmtp $ [at] $2.$m $: $1 < [at] $2.$m. > $3
---------------------------------------------------------------------
sendmail now fails :
/etc/mail/sendmail.cf: line 826: invalid rewrite line "R* < [at] * .m. > * #esmtp [at] 2.m : 1 < [at] 2.m. > 3" (tab expected)
any ideas
cheers
10 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
Hi All,
I need to stop sendmail from running on boot-up. How can I do this on Solaris 8 and 9 sparc?
Please help and that you in advance. (2 Replies)
Discussion started by: itik
2 Replies
8. Solaris
I am trying to send mail from a Solaris 10 machine to myself. The mail will be receive by a mail server.
The problem is sendmail doesn't report any errors and there is nothing in mailq output. In the logs the stat=queued. I do not receive the mail in my mailbox.
I could telnet to the... (7 Replies)
Discussion started by: sundar63
7 Replies
9. 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
10. Solaris
We changed relay agent in sendmail.cf and submit.cf files, and restarted the send mail services from init.d, able to see the sendmail processes. But unable to send an email. Relay agent is telnetable with port 25. Please help us with the issue (2 Replies)
Discussion started by: sudhakar110
2 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