Re: Procmail recipie to forward via smtp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----Original Message-----
From: Jason Pyeron <jpyeron@xxxxxxxx>
Reply-To: CentOS mailing list <centos@xxxxxxxxxx>
Date: Mon, 17 Jan 2011 15:37:25 +0000
To: 'CentOS mailing list' <centos@xxxxxxxxxx>
Subject:  Procmail recipie to forward via smtp

>I was in a hurry to forward email to our internal exchange server before
>my
>vaction, the best way I found after too much googling was to use
>http://www.ibiblio.org/pub/Linux/system/mail/smtpsend-1.02.tgz and
>
>:0
>|smtpsend -to=user@xxxxxxxx -server=exchange
>
>Was there a way to do this without smtpsend?
>
>-Jason 
>
>
>From the procmailrc man page:
The action line can start with the following characters:
     !      Forwards to all the specified mail addresses.


So your recipe could probably be replaced by:
:0
! user@xxxxxxxx

Although there is no obvious way to specify the smtp server (I assume it
either sends via localhost or, more likely, uses the MX from dns for the
target domain).

Hope this helps

Laurence
-- 
Laurence Hurst
IT Services Specialist (Linux)
Loughborough University



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux