Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Postfix problem - mail filter za Domino server

[es] :: Linux/UNIX serveri i servisi :: Postfix problem - mail filter za Domino server

[ Pregleda: 4337 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Iznogud
Subotica

Član broj: 1721
Poruke: 212
213.240.37.*



Profil

icon Postfix problem - mail filter za Domino server04.04.2007. u 14:41 - pre 206 meseci
Pokusavam da podesim postfix na SUSE linuxu kao mail filter koji bi primio postu, test na virus i spam (amavis,spamassassin) a zatim je prosledio glavnom mail serveru.
Nasao sam nekoliko upustava za to ali uvek dobija gresku tipa
Code:
 warning : connect to transport SMTP: No such file or directory


Probao sam razne kombinacije ali uvek dobije gornju proruku.
Main.cf

Code:
myorigin = domain.com
myhostname = postfix.domain.com
mydestination = mojdomen1.co.yu
mynetworks = 127.0.0.0/8
biff = no
message_size_limit = 100000000
local_transport = no local mail delivery
local_recipient_maps = 
transport_maps = hash:/etc/postfix/transport
setgid_group = maildrop
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
smtpd_hello_required = yes
smtpd_hello_restrictions = permit_mynetworks,reject_invalid_hostname,reject_maps_rbl
maps_rbl_domains = sbl.spamhaus.org, relays.ordb.org, opm.blitzed.org, dun.dnsrbl.net, spam.dnsrbl.net
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient
header_checks = regexp:/etc/postfix/header_checks
content_filter = smtp-amavis:[localhost]:10024

Master.cf
Code:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       y       -       -       smtpd
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      fifo  n       -       y       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       nqmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       y       -       -       smtp
relay     unix  -       -       y       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       lmtp

smtp-amavis    unix    -    -    y    -    2   smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes

127.0.0.1:10025    inet    n    -    y    -    -    smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=10.202.4.0/22
    -o strict_rfc821_envelopes=yes


U /etc/postfix/transport imam:

Code:

mojdomen1.co.yu      SMTP:[10.202.4.2]
 
Odgovor na temu

alex
Aleksandar Radulovic
Senior Software Engineer, Spotify
Stockholm, Sweden

Član broj: 71
Poruke: 2194
*.siminn.is.

Jabber: alex@a13x.info
ICQ: -1
Sajt: www.a13x.info


+1 Profil

icon Re: Postfix problem - mail filter za Domino server04.04.2007. u 15:53 - pre 206 meseci
'Vako na prvi pogled, stavi smtp umesto SMTP u transport fajlu:
Code:

mojdomen1.co.yu      smtp:[10.202.4.2]


trivial-rewrite komanda koja koristi taj fajl je mozda case-sensitive. Javi ako nije to da detaljnije analiziram tvoje config fajlove (koji na prvi kratki pogled izgledaju ok).
Alex: My favorite site is http://localhost/
R.J. Oppenheimer: "I am become death, destroyer of worlds" (1945 AD)
tweet.13x ||
linkedin.13x
 
Odgovor na temu

Iznogud
Subotica

Član broj: 1721
Poruke: 212
*.eunet.yu.



Profil

icon Re: Postfix problem - mail filter za Domino server04.04.2007. u 17:39 - pre 206 meseci
Uf, arlauuuk. Sad imam gomilu gresaka a nisam nista bitno menjao. Elem, sad imam:
Code:
Apr  4 16:42:11 proxy postfix/qmgr[7659]: 739D750F79: from=<>, size=2107, nrcpt=1 (queue active)
Apr  4 18:42:11 proxy postfix/smtp[7675]: fatal: unknown service: smtp/tcp
Apr  4 16:42:11 proxy postfix/qmgr[7659]: 2250250F77: removed
Apr  4 16:42:12 proxy postfix/qmgr[7659]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Apr  4 16:42:12 proxy postfix/qmgr[7659]: warning: private/smtp socket: malformed response
Apr  4 16:42:12 proxy postfix/qmgr[7659]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Apr  4 18:42:12 proxy postfix/master[7657]: warning: process /usr/lib/postfix/smtp pid 7675 exit status 1
Apr  4 18:42:12 proxy postfix/master[7657]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling

Ovo dobijam i sa "smtp" i sa "SMTP" u transport fajlu.
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Postfix problem - mail filter za Domino server04.04.2007. u 19:52 - pre 206 meseci
Probaj da dodaš sledeće u master.cf:
smtp inet n - n - - smtpd -vv <-- dodajes samo "-vv"

Nakon toga # postfix reload

p.s. Nakon svake izmene u hash fajlu pokreni # postmap transport ako je transport fajl u pitanju.

Kada dodaš -vv probaj opet i daj logove!

UPDATE: Ugasi chroot podršku za smtp klijenta.

 
Odgovor na temu

Iznogud
Subotica

Član broj: 1721
Poruke: 212
*.eunet.yu.



Profil

icon Re: Postfix problem - mail filter za Domino server04.04.2007. u 22:11 - pre 206 meseci
OK. Posle unetih izmena kao sto Miroslav S. rece imam sledece u logu:
Code:

Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_update: address_verify_poll_delay = 3s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: address_verify_poll_delay = 3s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 3s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  3s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_timeout = (notfound)
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_update: smtpd_policy_service_timeout = 100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_timeout = 100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  100s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_max_idle = (notfound)
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_update: smtpd_policy_service_max_idle = 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_max_idle = 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_max_ttl = (notfound)
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_update: smtpd_policy_service_max_ttl = 1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_policy_service_max_ttl = 1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  1000s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_starttls_timeout = (notfound)
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_update: smtpd_starttls_timeout = 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_lookup: smtpd_starttls_timeout = 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: mac_parse: 300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: dict_eval: const  300s
Apr  4 23:00:40 proxy postfix/smtpd[10669]: process generation: 7 (7)
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: mynetworks ~? debug_peer_list
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: mynetworks ~? fast_flush_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: mynetworks ~? mynetworks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? debug_peer_list
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? fast_flush_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? mynetworks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? permit_mx_backup_networks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? qmqpd_authorized_clients
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: relay_domains ~? relay_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: permit_mx_backup_networks ~? debug_peer_list
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: permit_mx_backup_networks ~? fast_flush_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: permit_mx_backup_networks ~? mynetworks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? debug_peer_list
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? fast_flush_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? mynetworks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? relay_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: smtpd_access_maps ~? smtpd_access_maps
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: fast_flush_domains ~? debug_peer_list
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_string: fast_flush_domains ~? fast_flush_domains
Apr  4 23:00:40 proxy postfix/smtpd[10669]: chroot (none) user postfix
Apr  4 23:00:40 proxy postfix/smtpd[10669]: attr_clnt_create: transport=local endpoint=private/anvil
Apr  4 23:00:40 proxy postfix/smtpd[10669]: watchdog_create: 0x80026388 18000
Apr  4 23:00:40 proxy postfix/smtpd[10669]: watchdog_stop: 0x80026388
Apr  4 23:00:40 proxy postfix/smtpd[10669]: watchdog_start: 0x80026388
Apr  4 23:00:40 proxy postfix/smtpd[10669]: connection established
Apr  4 23:00:40 proxy postfix/smtpd[10669]: master_notify: status 0
Apr  4 23:00:40 proxy postfix/smtpd[10669]: name_mask: resource
Apr  4 23:00:40 proxy postfix/smtpd[10669]: name_mask: software
Apr  4 23:00:40 proxy postfix/smtpd[10669]: connect from proxy.domen.co.yu[10.202.4.7]
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_hostname: proxy.domen.co.yu ~? 127.0.0.0/8
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_hostaddr: 10.202.4.7 ~? 127.0.0.0/8
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:00:40 proxy postfix/smtpd[10669]: warning: connect to private/anvil: Connection refused
Apr  4 23:00:40 proxy postfix/smtpd[10669]: warning: problem talking to server private/anvil: Connection refused
Apr  4 21:00:40 proxy postfix/qmgr[10634]: warning: connect to transport SMTP: No such file or directory
Apr  4 23:00:41 proxy postfix/smtpd[10669]: warning: connect to private/anvil: Connection refused
Apr  4 23:00:41 proxy postfix/smtpd[10669]: warning: problem talking to server private/anvil: Connection refused
Apr  4 23:00:41 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 220 proxy.domen.co.yu ESMTP Postfix
Apr  4 23:00:41 proxy postfix/smtpd[10669]: watchdog_pat: 0x80026388
Apr  4 21:01:40 proxy postfix/qmgr[10634]: warning: connect to transport SMTP: No such file or directory

Dakle opet imam ovo nesretno connect to transport SMTP: No such file or directory

A kada probam "telnet 10.202.4.7 25" (ili na 127.0.0.1 25) dobijem sledeci log - i nakon procedura RCPT TO:...itd:
Code:
Apr  4 23:09:14 proxy postfix/smtpd[10669]: connection established
Apr  4 23:09:14 proxy postfix/smtpd[10669]: master_notify: status 0
Apr  4 23:09:14 proxy postfix/smtpd[10669]: name_mask: resource
Apr  4 23:09:14 proxy postfix/smtpd[10669]: name_mask: software
Apr  4 23:09:14 proxy postfix/smtpd[10669]: connect from proxy.domen.co.yu[10.202.4.7]
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_hostname: proxy.domen.co.yu ~? 127.0.0.0/8
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_hostaddr: 10.202.4.7 ~? 127.0.0.0/8
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:09:14 proxy postfix/smtpd[10669]: warning: connect to private/anvil: Connection refused
Apr  4 23:09:14 proxy postfix/smtpd[10669]: warning: problem talking to server private/anvil: Connection refused
Apr  4 23:09:15 proxy postfix/smtpd[10669]: warning: connect to private/anvil: Connection refused
Apr  4 23:09:15 proxy postfix/smtpd[10669]: warning: problem talking to server private/anvil: Connection refused
Apr  4 23:09:15 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 220 proxy.domen.co.yu ESMTP Postfix
Apr  4 23:09:15 proxy postfix/smtpd[10669]: watchdog_pat: 0x80026388

Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:10:29 proxy postfix/smtpd[10669]: rewrite_clnt: local: [email protected] -> [email protected]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: send attr request = resolve
Apr  4 23:10:29 proxy postfix/smtpd[10669]: send attr address = [email protected]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute value: 0
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: transport
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: transport
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute value: SMTP
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: nexthop
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: nexthop
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute value: [10.202.4.2]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: recipient
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: recipient
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute value: [email protected]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute value: 256
Apr  4 23:10:29 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: (list terminator)
Apr  4 23:10:29 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:10:29 proxy postfix/smtpd[10669]: resolve_clnt: `[email protected]' -> transp=`SMTP' host=`[10.202.4.2]' rcpt=`[email protected]' flags= class=local
Apr  4 23:10:29 proxy postfix/smtpd[10669]: ctable_locate: install entry key [email protected]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: extract_addr: result: [email protected]
Apr  4 23:10:29 proxy postfix/smtpd[10669]: fsspace: .: block size 4096, blocks free 13053775
Apr  4 23:10:29 proxy postfix/smtpd[10669]: smtpd_check_size: blocks 4096 avail 13053775 min_free 0 msg_size_limit 10240000
Apr  4 23:10:29 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 250 Ok
Apr  4 23:10:29 proxy postfix/smtpd[10669]: watchdog_pat: 0x80026388
Apr  4 21:10:40 proxy postfix/qmgr[10634]: warning: connect to transport SMTP: No such file or directory
Apr  4 23:11:00 proxy postfix/smtpd[10669]: < proxy.domen.co.yu[10.202.4.7]: rcpt to:[email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: extract_addr: input: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: smtpd_check_addr: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr request = rewrite
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr rule = local
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr address = [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: 0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: address
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: address
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: (list terminator)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: rewrite_clnt: local: [email protected] -> [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr request = resolve
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr address = [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: 0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: transport
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: transport
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: SMTP
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: nexthop
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: nexthop
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: [10.202.4.2]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: recipient
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: recipient
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: 256
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: (list terminator)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: resolve_clnt: `[email protected]' -> transp=`SMTP' host=`[10.202.4.2]' rcpt=`[email protected]' flags= class=local
Apr  4 23:11:00 proxy postfix/smtpd[10669]: ctable_locate: install entry key [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: extract_addr: result: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr request = rewrite
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr rule = local
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr address = postmaster
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: flags
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: 0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: address
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: address
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: private/rewrite socket: wanted attribute: (list terminator)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: rewrite_clnt: local: postmaster -> [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: >>> START Sender address RESTRICTIONS <<<
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_non_fqdn_sender
Apr  4 23:11:00 proxy postfix/smtpd[10669]: reject_non_fqdn_address: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_non_fqdn_sender status=0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_unknown_sender_domain
Apr  4 23:11:00 proxy postfix/smtpd[10669]: reject_unknown_address: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: ctable_locate: move existing entry key [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_unknown_sender_domain status=0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: >>> END Sender address RESTRICTIONS <<<
Apr  4 23:11:00 proxy postfix/smtpd[10669]: >>> START Recipient address RESTRICTIONS <<<
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=permit_mynetworks
Apr  4 23:11:00 proxy postfix/smtpd[10669]: permit_mynetworks: proxy.domen.co.yu 10.202.4.7
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_hostname: proxy.domen.co.yu ~? 127.0.0.0/8
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_hostaddr: 10.202.4.7 ~? 127.0.0.0/8
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_list_match: proxy.domen.co.yu: no match
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_list_match: 10.202.4.7: no match
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=permit_mynetworks status=0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_unauth_destination
Apr  4 23:11:00 proxy postfix/smtpd[10669]: reject_unauth_destination: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: permit_auth_destination: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: ctable_locate: move existing entry key [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_unauth_destination status=0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_non_fqdn_recipient
Apr  4 23:11:00 proxy postfix/smtpd[10669]: reject_non_fqdn_address: [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: generic_checks: name=reject_non_fqdn_recipient status=0
Apr  4 23:11:00 proxy postfix/smtpd[10669]: >>> END Recipient address RESTRICTIONS <<<
Apr  4 23:11:00 proxy postfix/smtpd[10669]: >>> CHECKING RECIPIENT MAPS <<<
Apr  4 23:11:00 proxy postfix/smtpd[10669]: ctable_locate: leave existing entry key [email protected]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: recipient_canonical_maps: [email protected]: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_string: mojdomen1.co.yu ~? mojdomen1.co.yu
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: recipient_canonical_maps: test.user: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: recipient_canonical_maps: @mojdomen1.co.yu: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: mail_addr_find: [email protected] -> (not found)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: canonical_maps: [email protected]: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_string: mojdomen1.co.yu ~? mojdomen1.co.yu
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: canonical_maps: test.user: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: canonical_maps: @mojdomen1.co.yu: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: mail_addr_find: [email protected] -> (not found)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: virtual_alias_maps: [email protected]: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: match_string: mojdomen1.co.yu ~? mojdomen1.co.yu
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: virtual_alias_maps: test.user: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: maps_find: virtual_alias_maps: @mojdomen1.co.yu: not found
Apr  4 23:11:00 proxy postfix/smtpd[10669]: mail_addr_find: [email protected] -> (not found)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: smtpd_check_rewrite: trying: permit_inet_interfaces
Apr  4 23:11:00 proxy postfix/smtpd[10669]: permit_inet_interfaces: proxy.domen.co.yu 10.202.4.7
Apr  4 23:11:00 proxy postfix/smtpd[10669]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
Apr  4 23:11:00 proxy postfix/smtpd[10669]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
Apr  4 23:11:00 proxy postfix/smtpd[10669]: connect to subsystem public/cleanup
Apr  4 23:11:00 proxy postfix/smtpd[10669]: public/cleanup socket: wanted attribute: queue_id
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: queue_id
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute value: 7D0CB4C58A
Apr  4 23:11:00 proxy postfix/smtpd[10669]: public/cleanup socket: wanted attribute: (list terminator)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:11:00 proxy postfix/smtpd[10669]: send attr flags = 50
Apr  4 23:11:00 proxy postfix/smtpd[10669]: 7D0CB4C58A: client=proxy.domen.co.yu[10.202.4.7]
Apr  4 23:11:00 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 250 Ok
Apr  4 23:11:00 proxy postfix/smtpd[10669]: watchdog_pat: 0x80026388
Apr  4 23:11:03 proxy postfix/smtpd[10669]: < proxy.domen.co.yu[10.202.4.7]: data
Apr  4 23:11:03 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 354 End data with <CR><LF>.<CR><LF>
Apr  4 23:11:09 proxy postfix/smtpd[10669]: public/cleanup socket: wanted attribute: status
Apr  4 21:11:09 proxy postfix/cleanup[10837]: 7D0CB4C58A: message-id=<[email protected]>
Apr  4 23:11:09 proxy postfix/smtpd[10669]: input attribute name: status
Apr  4 23:11:09 proxy postfix/smtpd[10669]: input attribute value: 0
Apr  4 23:11:09 proxy postfix/smtpd[10669]: public/cleanup socket: wanted attribute: reason
Apr  4 23:11:09 proxy postfix/smtpd[10669]: input attribute name: reason
Apr  4 23:11:09 proxy postfix/smtpd[10669]: input attribute value: (end)
Apr  4 21:11:09 proxy postfix/qmgr[10634]: 7D0CB4C58A: from=<[email protected]>, size=373, nrcpt=1 (queue active)
Apr  4 23:11:09 proxy postfix/smtpd[10669]: public/cleanup socket: wanted attribute: (list terminator)
Apr  4 23:11:09 proxy postfix/smtpd[10669]: input attribute name: (end)
Apr  4 23:11:09 proxy postfix/smtpd[10669]: > proxy.domen.co.yu[10.202.4.7]: 250 Ok: queued as 7D0CB4C58A
Apr  4 23:11:09 proxy postfix/smtpd[10669]: watchdog_pat: 0x80026388
Apr  4 23:11:09 proxy postfix/smtp[10839]: 7D0CB4C58A: to=<[email protected]>, relay=none, delay=40, status=bounced (localhost: No address associated with hostname)
Apr  4 21:11:09 proxy postfix/cleanup[10837]: 7B9D14CE09: message-id=<[email protected]>
Apr  4 21:11:09 proxy postfix/qmgr[10634]: 7B9D14CE09: from=<>, size=2072, nrcpt=1 (queue active)
Apr  4 21:11:09 proxy postfix/qmgr[10634]: 7B9D14CE09: to=<[email protected]>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Apr  4 21:11:09 proxy postfix/qmgr[10634]: 7D0CB4C58A: removed

Dakle, opet delivery temporarily suspended: transport is unavailable
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Postfix problem - mail filter za Domino server04.04.2007. u 22:44 - pre 206 meseci
Za početak ugasi chroot za sve programe u master.cf-u. Mislim da ti chrootovan postfix nije potreban. Dodaj mrežu sa koje pristupaš (10.0.0.0/8) u mynetworks stavku pre 127.0.0.0/8. Posle toga postfix reload.
 
Odgovor na temu

Iznogud
Subotica

Član broj: 1721
Poruke: 212
213.240.37.*



Profil

icon Re: Postfix problem - mail filter za Domino server05.04.2007. u 07:34 - pre 206 meseci
Uradjeno, ali:(nakon telnet sa neke masine na 25)
Code:
Apr  5 08:30:14 proxy amavis[10585]: (10585-01) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20070405T083013-10585
Apr  5 08:30:14 proxy postfix/smtp[16793]: 703144EBD2: to=<[email protected]>, relay=localhost[127.0.0.1], delay=26, status=deferred (host localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=10585-01, virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
Apr  5 08:30:35 proxy postfix/qmgr[16755]: warning: connect to transport SMTP: No such file or directory
Apr  5 08:31:35 proxy postfix/qmgr[16755]: warning: connect to transport SMTP: No such file or directory

Dakle sad je problem sa amavisom uz vec dobro poznati warning: connect to transport SMTP: No such file or directory
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Postfix problem - mail filter za Domino server05.04.2007. u 16:56 - pre 206 meseci
Ništa ja tebe ne razumem? Uradio si tek posle konekcije sa drugog računara na port 25?

Probaj:
# telnet localhost 10024

Daj nam output:
# grep -v "#" /etc/amavisd.conf | strings

Izgleda da amavisd-new nije podešen kako treba. Tačnije nije podešen ClamAV ili već neki drugi AV koji planiraš koristiti.

Reci mi tačno da li si izmenio ono što sam ti rekao. Najbolje bi bilo da postaviš opet sve konf fajlove od postfix-a. Uopšte mi nije jasno ovo transportom.

UPDATE:
Daj nam output:
# mailq

Ako se tu nađu neki mail-ovi koji nisu otišli uradi:
# postsuper -d ALL


[Ovu poruku je menjao Miroslav Strugarevic dana 05.04.2007. u 18:28 GMT+1]
 
Odgovor na temu

Iznogud
Subotica

Član broj: 1721
Poruke: 212
*.eunet.yu.



Profil

icon Re: Postfix problem - mail filter za Domino server05.04.2007. u 18:08 - pre 206 meseci
Ovako:
telnet localhost 10025 (ne 10024) daje:
Code:
proxy:/etc/postfix # proxy:/etc # telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready


grep -v "#" /etc/amavisd.conf | strings daje:
Code:
proxy:~ # grep -v "#" /etc/amavisd.conf | string
-bash: string: command not found
proxy:~ # grep -v "#" /etc/amavisd.conf | strings
use strict;
@local_domains_maps = ( [".$mydomain"] );
$policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };
@addr_extension_virus_maps      = ('virus');
@addr_extension_banned_maps     = ('banned');
@addr_extension_spam_maps       = ('spam');
@addr_extension_bad_header_maps = ('badh');
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
$MAXLEVELS = 14;
$MAXFILES = 1500;
$sa_spam_subject_tag = '***SPAM*** ';
@keep_decoded_original_maps = (new_RE(
  qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
$banned_filename_re = new_RE(
  qr'^application/x-msdos-program$'i,
  qr'^application/hta$'i,
  qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)[.\s]*$'i,
    [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i         => 5.0],
    [qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0],
    [qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0],
    [qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i   => 5.0],
    [qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i  => 5.0],
    [qr'^(your_friend|greatoffers)@'i                                => 5.0],
    [qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i                    => 5.0],
   ),
     '[email protected]'                        => -3.0,
     '[email protected]'              => -3.0,
     '[email protected]'                    => -3.0,
     '[email protected]'                  => -3.0,
     'securityfocus.com'                      => -3.0,
     '[email protected]'       => -3.0,
     '[email protected]'      => -3.0,
     '[email protected]'      => -3.0,
     '[email protected]'=> -3.0,
     '[email protected]' => -3.0,
     'spamassassin.apache.org'                => -3.0,
     '[email protected]'   => -3.0,
     '[email protected]'        => -3.0,
     '[email protected]'     => -3.0,
     '[email protected]'   => -3.0,
     '[email protected]' => -3.0,
     '[email protected]'                => -3.0,
     '[email protected]'               => -3.0,
     '[email protected]'                  => -3.0,
     '[email protected]'          => -3.0,
     '[email protected]'           => -3.0,
     '[email protected]'       => -3.0,
     '[email protected]'          => -3.0,
     '[email protected]'            => -3.0,
     '[email protected]'            => -3.0,
     '[email protected]'                => -5.0,
     '[email protected]'           => -3.0,
     'returns.groups.yahoo.com'               => -3.0,
     '[email protected]'           => -3.0,
     lc('[email protected]')    => -3.0,
     lc('[email protected]') => -5.0,
     '[email protected]'                     =>  3.0,
     '.example.net'                           =>  1.0,
   },
@decoders = (
  ['mail', \&do_mime_decode],
  ['asc',  \&do_ascii],
  ['uue',  \&do_ascii],
  ['hqx',  \&do_ascii],
  ['ync',  \&do_ascii],
  ['F',    \&do_uncompress, ['unfreeze','freeze -d','melt','fcat'] ],
  ['Z',    \&do_uncompress, ['uncompress','gzip -d','zcat'] ],
  ['gz',   \&do_uncompress,  'gzip -d'],
  ['gz',   \&do_gunzip],
  ['bz2',  \&do_uncompress,  'bzip2 -d'],
  ['lzo',  \&do_uncompress,  'lzop -d'],
  ['rpm',  \&do_uncompress, ['rpm2cpio.pl','rpm2cpio'] ],
  ['cpio', \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_tar],
  ['deb',  \&do_ar,          'ar'],
  ['zip',  \&do_unzip],
  ['rar',  \&do_unrar,      ['rar','unrar'] ],
  ['arj',  \&do_unarj,      ['arj','unarj'] ],
  ['arc',  \&do_arc,        ['nomarch','arc'] ],
  ['zoo',  \&do_zoo,        ['zoo','unzoo'] ],
  ['lha',  \&do_lha,         'lha'],
  ['cab',  \&do_cabextract,  'cabextract'],
  ['tnef', \&do_tnef_ext,    'tnef'],
  ['tnef', \&do_tnef],
  ['exe',  \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
@av_scanners = (
  ['KasperskyLab AVP - aveclient',
    ['/usr/local/kav/bin/aveclient','/usr/local/share/kav/bin/aveclient',
     '/opt/kav/5.5/kav4mailservers/bin/aveclient','aveclient'],
    '-p /var/run/aveserver -s {}/*',
    [0,3,6,8], qr/\b(INFECTED|SUSPICION|SUSPICIOUS)\b/,
    qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.+)/,
  ],
  ['KasperskyLab AntiViral Toolkit Pro (AVP)', ['avp'],
    qr/infected: (.+)/,
    sub {chdir('/opt/AVP') or die "Can't chdir to AVP: $!"},
    sub {chdir($TEMPBASE) or die "Can't chdir back to $TEMPBASE $!"},
  ],
  ['KasperskyLab AVPDaemonClient',
    [ '/opt/AVP/kavdaemon',       'kavdaemon',
      '/opt/AVP/AvpDaemonClient', 'AvpDaemonClient',
      '/opt/AVP/AvpTeamDream',    'AvpTeamDream',
      '/opt/AVP/avpdc', 'avpdc' ],
    "-f=$TEMPBASE {}", [0,8], [3,4,5,6], qr/infected: ([^\r\n]+)/ ],
  ['CentralCommand Vexira (new) vascan',
    ['vascan','/usr/lib/Vexira/vascan'],
    "-a s --timeout=60 --temp=$TEMPBASE -y $QUARANTINEDIR ".
    "--log=/var/log/vascan.log {}",
    [0,3], [1,2,5],
    qr/(?x)^\s* (?:virus|iworm|macro|mutant|sequence|trojan)\ found:\ ( [^\]\s']                                             + )\ \.\.\.\ / ],
  ['Avira AntiVir', ['antivir','vexira'],
    '--allfiles -noboot -nombr -rs -s -z {}', [0], qr/ALERT:|VIRUS:/,
    qr/(?x)^\s* (?: ALERT: \s* (?: \[ | [^']* ' ) |
         (?i) VIRUS:\ .*?\ virus\ '?) ( [^\]\s']+ )/ ],
  ['Command AntiVirus for Linux', 'csav',
    '-all -archive -packed {}', [50], [51,52,53],
    qr/Infection: (.+)/ ],
  ['Symantec CarrierScan via Symantec CommandLineScanner',
    'cscmdline', '-a scan -i 1 -v -s 127.0.0.1:7777 {}',
    qr/^Files Infected:\s+0$/, qr/^Infected\b/,
    qr/^(?:Info|Virus Name):\s+(.+)/ ],
  ['Symantec AntiVirus Scan Engine',
    'savsecls', '-server 127.0.0.1:7777 -mode scanrepair -details -verbose {}',
    [0], qr/^Infected\b/,
    qr/^(?:Info|Virus Name):\s+(.+)/ ],
   ['F-Secure Antivirus for Linux servers',
    ['/opt/f-secure/fsav/bin/fsav', 'fsav'],
    '--delete=no --disinf=no --rename=no --archive=yes --auto=yes '.
    '--dumb=yes --list=no --mime=yes {}', [0], [3,6,8],
    qr/(?:infection|Infected|Suspected): (.+)/ ],
    '-sec -nex {}', [0], [100],
    qr/was infected by virus (.+)/ ],
  ['CAI eTrust Antivirus', 'etrust-wrapper',
    '-arc -nex -spm h {}', [0], [101],
    qr/is infected by virus: (.+)/ ],
  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
    '-s {}/*', [0], [1,2],
    qr/--[ \t]*(.+)/ ],
  ['MkS_Vir daemon', 'mksscan',
    '-s -q {}', [0], [1..7],
    qr/^... (\S+)/ ],
  ['ESET NOD32 for Linux Mail servers',
    ['/opt/eset/nod32/bin/nod32cli', 'nod32cli'],
     '--subdir --files -z --sfx --rtp --adware --unsafe --pattern --heur '.
     '-w -a --action-on-infected=accept --action-on-uncleanable=accept '.
     '--action-on-notscanned=accept {}',
    [0,3], [1,2], qr/virus="([^"]+)"/ ],
  ['ESET NOD32 for Linux File servers',
    ['/opt/eset/nod32/sbin/nod32','nod32'],
    '--files -z --mail --sfx --rtp --adware --unsafe --pattern --heur '.
    '-w -a --action=1 -b {}',
    [0], [1,10], qr/^object=.*, virus="(.*?)",/ ],
  ['Norman Virus Control v5 / Linux', 'nvcc',
    '-c -l:0 -s -u -temp:$TEMPBASE {}', [0,10,11], [1,2,14],
    qr/(?i).* virus in .* -> \'(.+)\'/ ],
  ['Panda CommandLineSecure 9 for Linux',
    ['/opt/pavcl/usr/bin/pavcl','pavcl'],
    '-auto -aex -heu -cmp -nbr -nor -nos -eng -nob {}',
    qr/Number of files infected[ .]*: 0+(?!\d)/,
    qr/Number of files infected[ .]*: 0*[1-9]/,
    qr/Found virus :\s*(\S+)/ ],
  ['NAI McAfee AntiVirus (uvscan)', 'uvscan',
    '--secure -rv --mime --summary --noboot - {}', [0], [13],
    qr/(?x) Found (?:
        \ the\ (.+)\ (?:virus|trojan)  |
        \ (?:virus|trojan)\ or\ variant\ ([^ ]+)  |
        :\ (.+)\ NOT\ a\ virus)/,
  ],
  ['VirusBuster', ['vbuster', 'vbengcl'],
    "{} -ss -i '*' -log=$MYHOME/vbuster.log", [0], [1],
    qr/: '(.*)' - Virus/ ],
  ['CyberSoft VFind', 'vfind',
  ],
  ['avast! Antivirus', ['/usr/bin/avastcmd','avastcmd'],
    '-a -i -n -t=A {}', [0], [1], qr/\binfected by:\s+([^ \t\n\[\]]+)/ ],
  ['Ikarus AntiVirus for Linux', 'ikarus',
    '{}', [0], [40], qr/Signature (.+) found/ ],
  ['BitDefender', 'bdc',
    '--arc --mail {}', qr/^Infected files *:0+(?!\d)/,
    qr/^(?:Infected files|Identified viruses|Suspect files) *:0*[1-9]/,
    qr/(?:suspected|infected): (.*)(?:\033|$)/ ],
@av_scanners_backup = (
  ['ClamAV-clamscan', 'clamscan',
    "--stdout --no-summary -r --tempdir=$TEMPBASE {}",
    [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
  ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],
    qr/(?:Infection:|security risk named) (.+)|\s+contains\s+(.+)$/ ],
  ['Trend Micro FileScanner', ['/etc/iscan/vscan','vscan'],
    '-za -a {}', [0], qr/Found virus/, qr/Found virus (.+) in/ ],
    ['/usr/local/drweb/drweb', '/opt/drweb/drweb', 'drweb'],
    '-path={} -al -go -ot -cn -upn -ok-',
    [0,32], [1,9,33], qr' infected (?:with|by)(?: virus)? (.*)$'],
   ['Kaspersky Antivirus v5.5',
     ['/opt/kav/5.5/kav4unix/bin/kavscanner',
      '/opt/kav/5.5/kav4mailservers/bin/kavscanner','kavscanner'],
     '-i0 -xn -xp -mn -R -ePASBME {}/*', [0,10,15], [5,20,21,25],
     qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.*)/ ,

A kada bacim pogled na /var/log/mail tamo i dalje daje upozorenje da sa transportom nesto nije u redu:
Code:
proxy:/etc # tail -f /var/log/mail
Apr  5 18:47:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:48:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:49:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:50:16 proxy amavis[16959]: (16959-16) (!)SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: \r\n
Apr  5 18:50:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:50:44 proxy postfix/postsuper[23845]: Deleted: 13 messages
Apr  5 18:51:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:51:38 proxy amavis[16959]: (16959-16) (!)SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: \377\364\377\375\006
Apr  5 18:52:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory
Apr  5 18:53:26 proxy postfix/qmgr[17008]: warning: connect to transport SMTP: No such file or directory

E sad kada probam telnet sa nekog hosta na port 25 i pokusam proslediti neki mail imam sledece (izmedju ostalog)
Code:
Apr  5 19:09:10 proxy amavis[16960]: (16960-17) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20070405T190910-16960
Apr  5 19:09:10 proxy postfix/smtp[23991]: 449034BBE8: to=<[email protected]>, relay=localhost[127.0.0.1], delay=22, status=deferred (host localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=16960-17, virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))


Dakle, postoji problem sa transportom a sad vidim problem ima i sa amavisom.
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Postfix problem - mail filter za Domino server05.04.2007. u 20:03 - pre 206 meseci
Nisam do sada imao priliku da vidim ovakvu grešku. Jedino šta mi trenutno pada na pamet što se tiče amavisa je da nemaš instaliram ClamAV kao primarni AV skener. Probaj da dodaš sledeće u amavisd.conf:

@av_scanners = (
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"], <-- ovde naravno upises pravilnu putanju do clamd socketa na tvom sistemu!
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
);

Što se tiče greške oko transport-a. Probaj da instaliraš novije verzije postfix-a i amavisa. Stvano ne vidim gde je greska bar za sada :(

Možeš i da postaviš log:
# amavisd debug


[Ovu poruku je menjao Miroslav Strugarevic dana 05.04.2007. u 22:10 GMT+1]
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: Postfix problem - mail filter za Domino server17.04.2007. u 23:35 - pre 206 meseci
Jesi uspeo šta da uradiš na kraju?
 
Odgovor na temu

[es] :: Linux/UNIX serveri i servisi :: Postfix problem - mail filter za Domino server

[ Pregleda: 4337 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.