Grep script (linux) for postfix queue

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

Need a one liner command string to collect all recipient addresses (not specific) from postfix defer queue items and output to a text file

- Each address must be a new line

- No other data, just the email address, no white space/txt junk before or after

eg

## Start txt

demo@[url removed, login to view]

xyz@[url removed, login to view]

bob@[url removed, login to view]

## end txt

this string outputs the queue mail ID's using a specific email adderess, I need the recipient email and based on wildcard "anything" (not specific) - I dont need the mail ID

mailq | tail +2 | awk 'BEGIN { RS = "" } / falko@example\.com$/ { print $1 }' | tr -d '*!'

Linux Shell Script

Project ID: #15724580

About the project

3 proposals Remote project Active 6 years ago

Awarded to:

nirmaljeetverma

As per my experience in handling projects on freelancer I can assure you that I can easily do this task. Moreover, you can check my reviews to get a prior knowledge about my accomplishments. Relevant Skills and Experi More

$28 NZD in 1 day
(9 Reviews)
3.6

3 freelancers are bidding on average $28 for this job

karthikeyan868

I can write a single line Grep command to your need. Send more details. Bid will be negotiable. Relevant Skills and Experience SQL, Shell.

$28 NZD in 2 days
(0 Reviews)
0.0