Jump to content

How to redirect sendmail queue message to another address?


Recommended Posts

Posted

central(/temp): dir

drwxr-xr-x 4 root root 4.0K Aug 19 11:42 ./

drwxr-xr-x 25 root root 4.0K Nov 8 2015 ../

-rw------- 1 root root 1.5M Aug 19 11:42 dfu7J19Poi021379

-rw------- 1 root root 1.4K Aug 19 11:42 qfu7J19Poi021379

 

How do I email that sendmail queue file to a different email address on linux? I just want to send it somewhere.

Posted
I'm only familiar with postfix, but the process for that is to cat the contents of the message to a file and replace the To: address to whatever you want and pipe it back into the sendmail command iirc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...