I need to run a perl or java script to save all incoming mails, but at first i need to test if my piping configuration is working, and i need to know if i must do something after saving mail in a perl or Java code.
2013/12/4 Merve Temizer <mervet2...@gmail.com> > Thanks for respons. > > My conf is below: > > > master.cf > > javapipe unix - n n - - pipe > user=pstfx flags=DRhuX argv=java /somejar -args ${recipient} > > postconf -n > > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases , ldap:/etc/postfix/ldap-aliases.cf > append_dot_mydomain = no > biff = no > config_directory = /etc/postfix > inet_interfaces = all > local_recipient_maps = $alias_maps > mailbox_size_limit = 0 > mydestination = localhost, merve-C500, localhost.localdomain, localhost > myhostname = localhost > mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > readme_directory = no > recipient_delimiter = + > relayhost = > smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache > smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) > smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem > smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key > smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache > smtpd_use_tls = yes > transport_maps = hash:/etc/postfix/transport > virtual_alias_maps = hash:/etc/postfix/virtual_aliases > > transport > > localhost javapipe: > > virtual_aliases > > @localhost pstfx@localhost > > > > > > > > > 2013/12/4 Dominik George <n...@naturalnet.de> > >> Hi, >> >> On Wed, Dec 04, 2013 at 10:56:50AM +0200, Merve Temizer wrote: >> > I followed the steps on the page >> > >> http://serverfault.com/questions/258469/how-to-configure-postfix-to-pipe-all-incoming-email-to-a-script >> > >> > I wrote something on console by a script but could not see my mails in >> > directory >> >> please show us your code and config. >> >> It could also be of interest what your final goal is. >> >> -nik >> >> -- >> * mirabilos is handling my post-1990 smartphone * >> <mirabilos> Aaah, it vibrates! Wherefore art thou, demonic device?? >> >> PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296 >> > >