Relaying e-mail from the bash command line (with sendmail probably)

2012-06-16 Thread Wiebe Cazemier
Hi, In a bash script, I have: - an e-mail message with full headers in a tmp file. - A from address (to use for -f with 'sendmail') - a recipient (u...@example.com). How do I relay this message to another server than example.com, but do set RCPT TO to u...@example.com when relaying to that ot

Re: Relaying e-mail from the bash command line (with sendmail probably)

2012-06-16 Thread Wietse Venema
Wiebe Cazemier: > Hi, > > In a bash script, I have: > > - an e-mail message with full headers in a tmp file. > - A from address (to use for -f with 'sendmail') > - a recipient (u...@example.com). > > How do I relay this message to another server than example.com, > but do set RCPT TO to u...@e

Re: Relaying e-mail from the bash command line (with sendmail probably)

2012-06-16 Thread Wiebe Cazemier
- Original Message - > From: "Wietse Venema" > To: "Postfix users" > Sent: Saturday, 16 June, 2012 3:50:40 PM > Subject: Re: Relaying e-mail from the bash command line (with sendmail > probably) > > Transport maps can be per-recipient. But when I want to relay to another server, I don'

Emails from IPv6 addresses are blocked by DNSBLs

2012-06-16 Thread Thomas Preissler
Hello, I have now for some time Postfix listening on IPv6 on my server. When I send for example emails to boun...@freenet6.net or i...@test-ipv6.veznat.com I receive them via IPv6, all is good. I also (very rarely though) receive "normal" emails via IPv6. So far so good. Basically when more and

tentative to wrote a minimal smtp server

2012-06-16 Thread ml
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello honorable doctor master of C Fu hello doctor Wietse i am continu my tentative to wrote a minimal mail server that would work as open relay my work is this https://gitorious.org/openrelay/openrelay/trees/ work well on centos 6 and 5 to be more

Re: Emails from IPv6 addresses are blocked by DNSBLs

2012-06-16 Thread Wietse Venema
Thomas Preissler: > Hello, > > I have now for some time Postfix listening on IPv6 on my server. > When I send for example emails to boun...@freenet6.net or > i...@test-ipv6.veznat.com I receive them via IPv6, all is good. > I also (very rarely though) receive "normal" emails via IPv6. So far so >

Re: Relaying e-mail from the bash command line (with sendmail probably)

2012-06-16 Thread Wietse Venema
Wiebe Cazemier: > > Transport maps can be per-recipient. > > But when I want to relay to another server, I don't want to send > it to one recipient. I want to send it to whatever recipient the > original message was sent to, but to another server. transport_maps changes the relay HOST, but NOT th

Re: Emails from IPv6 addresses are blocked by DNSBLs

2012-06-16 Thread Alvin Wong
Hi, What if you put bl.spamcop.net below other blocklsts? P.S. zen.spamhaus.org includes xbl.spamhaus.org, which includes cbl.abuseat.org, so you don't actually need cbl.abuseat.org as another entry. 2012/6/17 Wietse Venema : > Thomas Preissler: >> Hello, >> >> I have now for some time Postfix l

Re: Emails from IPv6 addresses are blocked by DNSBLs

2012-06-16 Thread Benny Pedersen
Den 2012-06-16 22:53, Thomas Preissler skrev: Did anybody experience the same? The odd thing is, and I cannot get my head around that, is that it works for some, for others it never worked. and this all changed in the change from ipv4 to ipv6 ?, so better drop ipv6 problem :=) well for me

Re: Relaying e-mail from the bash command line (with sendmail probably)

2012-06-16 Thread Wiebe Cazemier
- Original Message - > From: "Wietse Venema" > To: "Wiebe Cazemier" > Cc: "Postfix users" > Sent: Sunday, 17 June, 2012 2:41:29 AM > Subject: Re: Relaying e-mail from the bash command line (with sendmail > probably) > > Wiebe Cazemier: > > > Transport maps can be per-recipient. > > >