On Wed, Dec 03, 2003 at 11:30:40AM +0700, Tri Hanggoro wrote:
> saya sdh install postfix+amavisd-new+clam, dan semuanya sudah
> berjalan dengan baik,
>
> postfix sudah bisa kirim dan terima email
> (tanpa amavis disatukan di master.cf)
>
> telnet ke port 10024 & 10025 sudah bisa
> test kirim pake eicar file (amavisd berjalan)
> virus terdeteksi,
>
> tapi kenapa email tidak terkirim dan selalu
> dibilang:
>
> No such file or directory
>
> apakah yg dimaksud adalah file yg disimpan sbg queue
> ato file yg lain, kalo file queue saya search ada didirectory
> /var/spool/postfix/active
>
>
> salam,
>
> tri.h
>
>
> ######maillog########
>
> Dec 3 11:18:26 montecarlo postfix/postfix-script: starting the Postfix mail system
> Dec 3 11:18:26 montecarlo postfix/master[30598]: daemon started -- version 2.0.16
> Dec 3 11:18:31 montecarlo postfix/smtpd[30605]: connect from localhost[127.0.0.1]
> Dec 3 11:18:32 montecarlo postfix/smtpd[30605]: disconnect from localhost[127.0.0.1]
> Dec 3 11:19:02 montecarlo postfix/smtpd[30608]: connect from
> silverstone.solusi.net.id[202.51.96.16]
> Dec 3 11:19:02 montecarlo postfix/smtpd[30608]: 24591E9B84:
> client=silverstone.solusi.net.id[202.51.96.16]
> Dec 3 11:19:02 montecarlo postfix/cleanup[30610]: 24591E9B84: message-id=<[EMAIL
> PROTECTED]>
> Dec 3 11:19:02 montecarlo postfix/qmgr[30602]: 24591E9B84: from=<[EMAIL
> PROTECTED]>, size=664, nrcpt=1 (queue active)
> Dec 3 11:19:02 montecarlo postfix/smtpd[30608]: disconnect from
> silverstone.solusi.net.id[202.51.96.16]
> Dec 3 11:19:20 montecarlo postfix/smtpd[30605]: connect from localhost[127.0.0.1]
> Dec 3 11:19:20 montecarlo postfix/smtpd[30605]: ACC1CE9B97:
> client=localhost[127.0.0.1]
> Dec 3 11:19:20 montecarlo postfix/cleanup[30610]: ACC1CE9B97: message-id=<[EMAIL
> PROTECTED]>
> Dec 3 11:19:20 montecarlo postfix/qmgr[30602]: ACC1CE9B97: from=<[EMAIL
> PROTECTED]>, size=1103, nrcpt=1 (queue active)
> Dec 3 11:19:20 montecarlo postfix/qmgr[30602]: warning: connect to transport yes:
> No such file or directory
> Dec 3 11:19:20 montecarlo postfix/smtpd[30605]: disconnect from localhost[127.0.0.1]
> Dec 3 11:19:20 montecarlo postfix/smtp[30612]: 24591E9B84: to=<[EMAIL PROTECTED]>,
> relay=127.0.0.1[127.0.0.1], delay=18, status=sent
> (250 2.6.0 Ok, id=30539-01, from MTA: 250 Ok: queued as ACC1CE9B97)
> Dec 3 11:20:20 montecarlo postfix/qmgr[30602]: warning: connect to transport yes:
> No such file or directory
>
>
>
> ######master.cf#######
>
> # ==========================================================================
> # service type private unpriv chroot wakeup maxproc command + args
> # (yes) (yes) (yes) (never) (50)
> # ==========================================================================
> #orig#smtp inet n - y - - smtpd
> #smtp inet n - n - - smtpd
> smtp inet n - n - - smtpd
> -o content_filter=smtp-amavis:[127.0.0.1]:10024
> #628 inet n - n - - qmqpd
> pickup fifo n - n 60 1 pickup
> #cleanup unix n - n - 0 cleanup
> cleanup unix n - n - 0 cleanup
> -o mime_header_checks=
> -o nested_header_checks=
> -o body_checks=
> -o header_checks=
> qmgr fifo n - n 300 1 qmgr
> #qmgr fifo n - n 300 1 nqmgr
> rewrite unix - - n - - trivial-rewrite
> bounce unix - - n - 0 bounce
> defer unix - - n - 0 bounce
> flush unix n - n 1000? 0 flush
> proxymap unix - - n - - proxymap
> smtp unix - - n - - smtp
> relay unix - - n - - smtp
> # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
> showq unix n - n - - showq
> error unix - - n - - error
> local unix - n n - - local
> virtual unix - n n - - virtual
> lmtp unix - - n - - lmtp
> #
> # Interfaces to non-Postfix software. Be sure to examine the manual
> # pages of the non-Postfix software to find out what options it wants.
> #
> # maildrop. See the Postfix MAILDROP_README file for details.
> #
> maildrop unix - n n - - pipe
> flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
> #
> # The Cyrus deliver program has changed incompatibly, multiple times.
> #
> old-cyrus unix - n n - - pipe
> flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
> # Cyrus 2.1.5 (Amos Gouaux)
> cyrus unix - n n - - pipe
> user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
> uucp unix - n n - - pipe
> flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
> ifmail unix - n n - - pipe
> flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> bsmtp unix - n n - - pipe
> flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
> #
> # amavis
> #
> smtp-amavis unix - - n - 2 smtp
> -o smtp_data_done_timeout=1200
> -o disable_dns_lookups=yes
> 127.0.0.1:10025 inet n - n - 2 smtpd
> -o content_filter=yes
^^^^^^^^^^^^^^^^^^^^^
Kelihatannya masalah ada disini, seharusnya anda biarkan value
tersebut secara default yaitu :
content_filter=
Hal ini ditujukan bahwa, setiap email yang SUDAH discan, akan
dimasukkan lagi ke Postfix TANPA content_filter untuk menghindari
looping di content filtering.
> -o local_recipient_maps=
> -o relay_recipient_maps=
> -o smtpd_restriction_classes=
> -o smtpd_client_restrictions=
> -o smtpd_helo_restrictions=
> -o smtpd_sender_restrictions=
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o mynetworks=127.0.0.0/8
> -o strict_rfc821_envelopes=yes
> -o smtpd_error_sleep_time=0
> -o smtpd_soft_error_limit=1001
> -o smtpd_hard_error_limit=1000
Asfihani