03-20-2020
Quote:
Originally Posted by
i4ismail
I get a "Spam" error message whenever i try to attach any files in the PM. Can you please help ? It is the same with any attachment file ... (i tried with xls, ppt, doc, txt, etc)
Below is the exact error message ...
"Invalid Post specified. It is possible that the Post has been deleted for anti-spam control or a duplicate Post (for example). However, if you think you followed a valid link which should not be delete please contact us in the forums and post the invalid link."
Thank you !
See this post:
Announcement: New Discourse Site to Go Live this Weekend
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello All,
I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)
Discussion started by: maybemedic
2 Replies
2. Shell Programming and Scripting
if test.dat is the file
cat test.dat|uuencode test.dat|mailx -s "subject" mailid
can be used for attaching test.dat
how can i attach more than one file to a mail using mailx (2 Replies)
Discussion started by: anumkoshy
2 Replies
3. Shell Programming and Scripting
I am trying to send multiple files as attachment in one email, I tried to search but couldn't find. Please let me know if any solutions. (2 Replies)
Discussion started by: mgirinath
2 Replies
4. Shell Programming and Scripting
hi
I know this topic has been discussed a lot in the forum but still couldnt get a exact solution to problem i am facing
I have a CSV file genertaed on Unix box and want to be sent to my email .
mailx -s "TEST" "xyz@hotmail.com" < 1.csv
cat 1.csv | mailx -s "TEST" "xyz@hotmail.com"
... (10 Replies)
Discussion started by: ultimatix
10 Replies
5. Shell Programming and Scripting
Hi,
My script has to send 2 files as a separate attachment(Note : files to be sent without zipping) to the specified email id.
Below code was used but it is not attaching the file as expected instead the file contents are displayed in the body of the email.
Kindly,help with your... (22 Replies)
Discussion started by: meva
22 Replies
6. Shell Programming and Scripting
I need to attach all files starting with 'BusinessReport' using mutt command.
It could be any number of files in that directory, say BusinessReport_01, BusinessReport_03, BusinessReport_04 etc.
Is there a way to attach all files where filename like BusinessReport_* and sent it using mutt... (2 Replies)
Discussion started by: Jassz
2 Replies
7. Emergency UNIX and Linux Support
Hi guys.
I'm studding XEN virtualization with 'The Book Of XEN'. in page 46 it has a statement about how to use xm block-attach command that I don't understand.
here is the command:
xm block-attach 0 tap:aio:/opt/xen/anthony.img /dev/xvda1 w 0and here is sentence:
we are attaching anthony.img... (1 Reply)
Discussion started by: majid.merkava
1 Replies
8. Shell Programming and Scripting
Hello Folks,
I am looking for the script which will go to directory and check for the latest 5 files and send a mail to attaches these files to user.
Kindly guide.
Regards (7 Replies)
Discussion started by: sadique.manzar
7 Replies
9. Shell Programming and Scripting
Hello,
I have massive number of big files that needed to be counted for the total number of lines (> 100x millions) each. I want the file name attached to the count results so that they are aligned nicely matching name and counts.
I could do each file at a time, which will take hours to finish,... (8 Replies)
Discussion started by: yifangt
8 Replies
LEARN ABOUT CENTOS
rlm_sql_log
rlm_sql_log(5) FreeRADIUS Module rlm_sql_log(5)
NAME
rlm_sql_log - FreeRADIUS Module
DESCRIPTION
The rlm_sql_log module appends the SQL queries in a log file which is read later by the scripts/radsqlrelay Perl program.
The purpose of this module is to de-couple the storage of long-term accounting data in SQL from "live" information needed by the RADIUS
server as it's running. If you are not using SQL for simultaneous login restrictions (i.e. "sql" is not listed in the "session" section of
"radiusd.conf"), then this module allows you to log SQL queries to a file, and then process them at your leisure.
The benefit of this approach is that for a busy server, the overhead of performing SQL qeuries may be significant. Also, if the SQL data-
bases are large (as is typical for ones storing months of data), the INSERTs and UPDATEs may take a relatively long time. Rather than
slowing down the RADIUS server by having it interact with a database, you can just log the queries to a file, and then run those queries on
another machine, or at a time when the RADIUS server is typically lightly loaded.
If the "sql" module is listed in the "session" section of "radiusd.conf", then a similar system can still be used. In that case, one data-
base would be used to maintain "live" session information. That database would be small, fast, and information would be deleted from it
when a user logs out. A second database would store long-term accounting information, as described above.
LIMITATIONS
This module only performs the dynamic expansion of the variables found in the SQL statements. No operation is executed on the database
server. (this would be done later by an external program) That means the module is useful only with non-"SELECT" statements.
CONFIGURATION
The main configuration items to be aware of are the path of the log file and the different SQL queries.
path An entry named "path" sets the full path of the file where the SQL queries are recorded. (this variable is run through dynamic
string expansion, and can include FreeRADIUS variables to create a dynamic filename)
Accounting queries
When a accounting record is processed, the module searches a config entry keyed by the Acct-Status-Type attribute present in the
packet. For example, the SQL to be run on an accounting start must be named "Start" in the configuration for the module. Other usual
values for Acct-Status-Type are "Stop", "Alive", "Accounting-On", etc. See the VALUEs for Acct-Status-Type in the dictio-
nary.rfc2866 file.
Post-Auth query
An entry named "Post-Auth" sets the query to run during the post-authentication stage. This query is mainly used to log sessions
where there may not be a later accounting packet.
modules {
...
sql_log {
path = "${radacctdir}/sql-relay"
acct_table = "radacct"
postauth_table = "radpostauth"
sql_user_name = "%{%{User-Name}:-DEFAULT}"
Start = "INSERT INTO ${acct_table} ..."
Stop = "UPDATE ${acct_table} SET ..."
Alive = "UPDATE ${acct_table} SET ..."
Post-Auth = "INSERT INTO ${postauth_table} ..."
}
...
}
accounting {
...
sql_log
...
}
post-auth {
...
sql_log
...
}
SECTIONS
accounting, post-auth
FILES
/etc/raddb/radiusd.conf
SEE ALSO
radsqlrelay(8), radiusd(8), radiusd.conf(5)
AUTHOR
Nicolas Baradakis <nicolas.baradakis@cegetel.net>
28 May 2005 rlm_sql_log(5)