Results 1 to 1 of 1
Hi,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-02-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 1
sendmail alternative alias file
Hi,
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 (testuser@mydomain.com) 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. maybe there is another way?
I should add that at first the mail is sent to testuser, will be piped to a php script.
thanks


Reply With Quote
