yudi shiddiq wrote:
Sudah di coba seperti command di bawah
echo "bla bla bla" | mailx  -s "test" [email protected]
atau
mailx -s "test" [email protected] < file.txt

Tapi masih kosong melompong,termasuk tidak ada alamat pengirim....
Please help....



--- On Mon, 9/14/09, Hari Hendaryanto <[email protected]> wrote:

From: Hari Hendaryanto <[email protected]>
Subject: Re: [tanya-jawab] help - send mail menggunakan mailx
To: [email protected]
Date: Monday, September 14, 2009, 7:18 PM
yudi shiddiq wrote:
Hallo semua,

Kirim email di solaris10 menggunakan mailx, dengan
perintah "mailx -s "test" [email protected]",
tapi waktu di cek di sisi penerima, email nya ko kosong ya
tanpa subject dan isi apapun..
Kira2 apanya ya yg salah...

Thx



mungkin coba seperti ini pak

echo "bla bla bla" | mailx  -s "test" [email protected]
atau
mailx -s "test" [email protected]
< file.txt

cmiiw




bisa trace di maillog, kalo di postfix email yg di submit oleh mailx akan seperti ini

command di bawah ini saya submit di console dengan user root

mailx -s "test" [email protected] < hello.php

Sep 16 10:02:48 mx postfix/pickup[9070]: 9CE4F300097: uid=0 from=<root>
Sep 16 10:02:48 mx postfix/cleanup[10974]: 9CE4F300097: warning: header Subject: test from local; from=<[email protected]> to=<[email protected]> Sep 16 10:02:48 mx postfix/cleanup[10974]: 9CE4F300097: message-id=<[email protected]> Sep 16 10:02:48 mx postfix/qmgr[21016]: 9CE4F300097: from=<[email protected]>, size=2666, nrcpt=1 (queue active) Sep 16 10:02:48 mx postfix/virtual[10341]: 9CE4F300097: to=<[email protected]>, relay=virtual, delay=0.08, delays=0.08/0/0/0, dsn=2.0.0, status=sent (delive
red to maildir)

sender nya akan di ambil dari UID user yg mensubmit mailx

mungkin bisa di liat2 dulu mail log nya pak
dan liat2 di sini
http://en.wikipedia.org/wiki/Mailx

cmiiw


PT.CITRA SARI MAKMUR
SATELLITE & TERRESTRIAL NETWORK

Connecting the distance - anytime, anywhere, any content
http://www.csmcom.com


--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke