LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-01-2008, 12:54 PM   #1
phavn
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: Disabled
Sendmail ignores aliases with sendmail daemon stopped


Hey guys,

This might sounds like a dumb question but I am not sure what to do from here.

I need to relay emails from local machine to a mail relay server with sendmail daemon stopped (for few reasons) on local machine. The problem is sendmail ignores aliases db with sendmail daemon stopped.

What confuses me is that aliases are enabled in config files.

submit.mc:

#
# This is the prototype file for a set-group-ID sm-msp sendmail that
# acts as a initial mail submission program.
#

divert(0)dnl
VERSIONID(`$Id: submit.mc,v 8.6.2.4 2002/12/29 03:54:34 ca Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[xx.xx.xx.xx]')dnl


I tried using define(`ALIAS_FILE', `/etc/mail/aliases')dnl after FEATURE(`msp', `[xx.xx.xx.xx]')dnl[/I] as well.


submit.cf:

# location of alias file
O AliasFile=/etc/mail/aliases



aliases:

test: test@somedomain.com


- run newaliases command

/usr/lib/sendmail -C submit.cf -bv test -> does not deliver to test@somedomain.com but to test@localmachinedomain

/usr/lib/sendmail -C sendmail.cf -bv test -> delivers to test@somedomain.com

What am I missing?

Thank you!
 
Old 12-01-2008, 03:50 PM   #2
phavn
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: Disabled
I think I found the answer at sendmail.org:

" Some things are not intended to work with the MSP. These include features that influence the delivery process (e.g., mailertable, aliases), or those that are only important for a SMTP server (e.g., virtusertable, DaemonPortOptions, multiple queues). "

Thanks to everyone who read this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
[SOLVED] Sendmail Aliases sunnyyang Linux - Newbie 9 04-02-2008 02:50 PM
sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? cotton213 Linux - Software 0 03-14-2006 06:57 PM
Sendmail and aliases freelinuxcpp Linux - Networking 2 07-27-2004 06:01 AM
SENDMAIL Aliases Help echid Linux - Software 1 03-11-2004 09:06 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration