Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-01-2008, 07:00 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Sendmail with an Alternative Alias file


testuser is a user on the system.

i have set up an alias file for an email account.

the alias file has this entry:

testuser: :include:/usr/local/mlists/testlistfile.txt

I have compiled the file to a .db file.

in the testlistfile are some mailaddresses I want the mail to arrive.

when I test the list with sendmail it works ok:

sendmail -bv -OAliasFile=/etc/mail/aliasfile testuser

this returns all mailaddresses in the TXT file with deliverable.

now I want to test this:

sendmail -t -OAliasFile=/etc/mail/aliasfile testuser < textfile.txt

now the mail is sent to the linux user ( instead of the users in the text file?

I was hoping that this way I could send the mail to the users in the textfile, as a list.

I should add that at first the mail is sent to testuser, will be piped to a php script.


Last edited by playah; 07-01-2008 at 07:01 AM.


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 Server Alias Problem kaplan71 Linux - Software 0 04-25-2007 07:42 AM
sendmail - alias sent from field lord-fu Linux - Server 1 04-18-2007 10:14 AM
Sendmail alias problem ptclinuxsa Linux - General 1 01-16-2006 08:23 PM
Suggestions:an Alias Sketchbook Pro alternative? adp Linux - Software 2 08-11-2005 12:15 AM
Problem using "newaliases" to update sendmail alias file davidks1977 Linux - Software 4 03-17-2004 11:40 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 PM.

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