New answers tagged pipe
Cannot append message to file /incoming_mail: cannot create file exclusively: Permission denied Above error message is thrown by postfix because you tell it to append email content to /incoming_mail , instead passing argument /incoming_mail to cli.php. According to man 5 aliases |command Mail is piped into command. Commands that contain ...
This is possible with s3cmd 1.5+ (link): $ mysqldump ... | s3cmd put - s3://bucket/file-name.sql
Hi here is how I made a parser: /etc/postfix/master.cf (postfix) bounce-pipe unix - n n - - pipe flags=BDFORXhqu user=deploy argv=/usr/bin/php5 /var/www/emailmanager/public/index.php transport (postfix) firstname.lastname@example.org bounce-pipe: index.php - get data that you would be handle $data = ...
The following configuration seems to work for your purpose: main.cf: (default in ubuntu except for mydestination, default_transport and local_transport) smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no readme_directory = no smtpd_relay_restrictions = permit_mynetworks ...
Top 50 recent answers are included