Re: Procmail recipie to forward via smtp

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



> -----Original Message-----
> From: L A Hurst
> Sent: Monday, January 17, 2011 10:52
> To: CentOS mailing list
> Subject: Re:  Procmail recipie to forward via smtp
> 
> -----Original Message-----
> From: Jason Pyeron 
> 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

No, as that would loop back. I should have been more clear. The internal
exchange/blackberry SMTP server shares the same domain space and does not have
public MX records. The .procmailrc is on the publi mail server.

> 
> 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).
> 

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


_______________________________________________
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