Forwd mail
Hello, is there a way to the MX server redirect the SMTP connection to another domain without receving the mail? What I want is to serve a domain (domain.com) and when a box trying to relay mail to [EMAIL PROTECTED] in my server it would get a response like: "ok I serve thar domain and the user exists, but deliver the mail to [EMAIL PROTECTED]" I understand that if I use the ".forward" in the user account I would get the same effect except that the mail would be sent to my server and then my server would forward to the 2nd address -- spends bandwith!!! I think SMTP does't support that but.. just in case! Thanks, -- Pedro Braga Dep. Desenvolvimento http://www.iportalmais.pt Tel.: 225 106 476 / 934 607 475 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Forwd mail
Pedro Braga wrote: > > Hello, > is there a way to the MX server redirect the SMTP connection to another > domain without receving the mail? > > What I want is to serve a domain (domain.com) and when a box trying > to relay mail to [EMAIL PROTECTED] in my server it would get a response > like: "ok I serve thar domain and the user exists, but deliver the mail > to [EMAIL PROTECTED]" > > I understand that if I use the ".forward" in the user account I > would get the same effect except that the mail would be sent to my > server and then my server would forward to the 2nd address -- spends > bandwith!!! > > I think SMTP does't support that but.. just in case! I don't know if you can do that without modifying some code. What we are doing is using port forwarding to forward port 25 to a host on our internal network, but that forwards all traffic to port 25 of that IP address, not just mail for a certain domain, and it also doesn't translate usernames. Anyways, even if you do forward it like that, you won't save any bandwidth, only a little disk space maybe. ¿Why can't you just change the MX to point to the other server? -- Ivan Jager -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On Thu, 13 Dec 2001 23:10, Milan P. Stanic wrote: > I'm trying to compile portslave-2001.12.11 on Debian/potato and got > next after "debian/rules build" > > > make -C src > make[2]: Entering directory `/usr/local/src/portslave-2001.12.11/src' > gcc -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic > -I../ppp-2.4.1/pppd -fPIC -DPIC -c -o libpsr_pic.o libpsr.c > In file included from /usr/include/netinet/in.h:27, > from server.h:6, > from libpsr.c:21: > /usr/include/bits/socket.h:226: warning: ANSI C forbids zero-size array > `__cmsg_data' Edit your socket.h to remove the code in question. > In file included from libpsr.c:21: > server.h:63: parse error before `*' > server.h:63: warning: type defaults to `int' in declaration of > `get_port_ptr' I've fixed this with the following: #ifndef HAVE_IPV6 #define in_port_t uint16_t #endif If you have old headers that don't define in_port_t then IPv6 probably won't work for you anyway. > libpsr.c: In function `plugin_init': > libpsr.c:69: `cbcp_init_hook' undeclared (first use in this function) > libpsr.c:69: (Each undeclared identifier is reported only once > libpsr.c:69: for each function it appears in.) Yes, callback currently doesn't compile. I'll have to fix that. I've put a Potato package on http://www.coker.com.au/portslave/ . -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Forwd mail
Hello, is there a way to the MX server redirect the SMTP connection to another domain without receving the mail? What I want is to serve a domain (domain.com) and when a box trying to relay mail to [EMAIL PROTECTED] in my server it would get a response like: "ok I serve thar domain and the user exists, but deliver the mail to [EMAIL PROTECTED]" I understand that if I use the ".forward" in the user account I would get the same effect except that the mail would be sent to my server and then my server would forward to the 2nd address -- spends bandwith!!! I think SMTP does't support that but.. just in case! Thanks, -- Pedro Braga Dep. Desenvolvimento http://www.iportalmais.pt Tel.: 225 106 476 / 934 607 475
Re: Forwd mail
Pedro Braga wrote: > > Hello, > is there a way to the MX server redirect the SMTP connection to another > domain without receving the mail? > > What I want is to serve a domain (domain.com) and when a box trying > to relay mail to [EMAIL PROTECTED] in my server it would get a response > like: "ok I serve thar domain and the user exists, but deliver the mail > to [EMAIL PROTECTED]" > > I understand that if I use the ".forward" in the user account I > would get the same effect except that the mail would be sent to my > server and then my server would forward to the 2nd address -- spends > bandwith!!! > > I think SMTP does't support that but.. just in case! I don't know if you can do that without modifying some code. What we are doing is using port forwarding to forward port 25 to a host on our internal network, but that forwards all traffic to port 25 of that IP address, not just mail for a certain domain, and it also doesn't translate usernames. Anyways, even if you do forward it like that, you won't save any bandwidth, only a little disk space maybe. ¿Why can't you just change the MX to point to the other server? -- Ivan Jager