
This extension is similar to LeechBlock extension on FireFox. It can be downloaded through Apple Safari Extension Gallery or WasteNoTime website.
Notes from some of my interesting side projects.
Dear AT&T Internet Services Member,
We have received questions regarding the following error message which is received by customers when they send e-mail using a non-verified e-mail address:
“Unable to send the message. Please verify the e-mail address in your account properties. The server responded: 553 From: address not verified.”
FEATURE(masquerade_envelope)
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(your_domain_name)
user1 verified_address
makemap hash genericstable.db < genericstable
stunnel -c -d 2525 -r smtp.att.yahoo.com:smtps
mkdir /etc/mail/auth
chmod 700 /etc/mail/auth
AuthInfo: "U:myname@sbcglobal.net" "I:myname@sbcglobal.net" "P:xxxxxx" "M:LOGIN PLAIN"
AuthInfo:relayhost1 "U:myname@sbcglobal.net" "I:myname@sbcglobal.net" "P:xxxxxx" "M:LOGIN PLAIN"
AuthInfo:relayhost2 "U:myname@sbcglobal.net" "I:myname@sbcglobal.net" "P:xxxxxx" "M:LOGIN PLAIN"
AuthInfo: "U:myname@sbcglobal.net" "I:myname@sbcglobal.net" "P:xxxxxx" "M:LOGIN PLAIN"
makemap hash authinfo < authinfo
m4 sendmail.mc > /etc/mail/sendmail.cf
define(`SMART_HOST', `[127.0.0.1]')
FEATURE(`authinfo', `hash /etc/mail/auth/authinfo.db')
$ diff -c sendmail.cf.old sendmail.cf
*** sendmail.cf.old Tue Aug 28 18:21:37 2007
--- sendmail.cf Tue Aug 28 18:23:33 2007
***************
*** 269,275 ****
O UseErrorsTo=False
# log level
! O LogLevel=9
# send to me too, even in an alias expansion?
#O MeToo=True
--- 269,275 ----
O UseErrorsTo=False
# log level
! O LogLevel=20
# send to me too, even in an alias expansion?
#O MeToo=True
***************
*** 961,967 ****
R< local : $* > $* $>CanonLocal < $1 > $2
R< $~[ : $+ @ $+ > $*<$*>$* $# $1 $@ $3 $: $2<@$3> use literal user
R< $~[ : $+ > $* $# $1 $@ $2 $: $3 try qualified mailer
! R< $=w > $* $@ $2 delete local host
R< $+ > $* $#relay $@ $1 $: $2 use unqualified mailer
###################################################################
--- 961,968 ----
R< local : $* > $* $>CanonLocal < $1 > $2
R< $~[ : $+ @ $+ > $*<$*>$* $# $1 $@ $3 $: $2<@$3> use literal user
R< $~[ : $+ > $* $# $1 $@ $2 $: $3 try qualified mailer
! ### XXX It is OK to use localhost as relay
! #R< $=w > $* $@ $2 delete local host
R< $+ > $* $#relay $@ $1 $: $2 use unqualified mailer
###################################################################
***************
*** 1835,1839 ****
A=TCP $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
! A=TCP $h
--- 1836,1840 ----
A=TCP $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
! A=TCP $h 2525
Aug 28 18:24:31 snake sm-mta[9883]: l7T1OVt8009881: SMTP outgoing connect on localhost
Aug 28 18:24:32 snake sm-mta[9883]: AUTH=client, relay=[127.0.0.1], mech=LOGIN, bits=0
Aug 28 18:24:33 snake sm-mta[9883]: l7T1OVt8009881: --- 050 ... Sent (ok 1188350673 qp 65294)
Aug 28 18:24:33 snake sm-mta[9883]: l7T1OVt8009881: to=, ctladdr= (1001/1001), delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=30491, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (ok 1188350673 qp 65294)
Aug 28 18:24:33 snake sm-mta[9883]: l7T1OVt8009881: done; delay=00:00:02, ntries=1
Aug 28 18:24:33 snake sm-mta[9883]: NOQUEUE: --- 050 Closing connection to [127.0.0.1]
xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
[-L number] [-n number [-x]] [-P maxjobs] [-s size]
[utility [argument ...]]
ls |xargs -L1 du -s
ls |xargs -L1 -I % du -s %
You modify the library code, then type 'make', everything seems fine. But
somehow your changes didn't go into the binary.
Normally you put the library code into a separate directory (which is a good practice) and the Makefile will produce a libx.a library file. Then, the application will use this library using '-L'. A common misktake is that Make doesn't know the target program depends on the libx.a file.
int i=1;
printf("%d %d %d %d\n", i++, i++, i++, i++);
#include
#include
int f1() {
printf("f1...\n");
return 1;
}
int f2() {
printf("f2...\n");
return 2;
}
int add(int i, int j) {
return i+j;
}
main() {
int i =1;
int j =1;
printf("%d %d %d %d\n", i++, i++, i++, i++);
printf("%d %d %d %d\n", j, j++, j++, j++);
add(f1(), f2());
}
$./printftest
4 3 2 1
4 3 2 1
f2...
f1...
$ ./printftest
1 2 3 4
4 1 2 3
f1...
f2...