Hello Yuenlok,
instead of the user "bulletin", I would use a different sender mailaddress and set up an alias for that address:
~alias/.qmail-bullbounce
Every mail that returns goes to bullbounce, you forward through a programm by putting "|/home/bulletin/bin/mail.pl" in...
This has absolutly nothing to do with dns, mx or smtp.
If you are using Maildir to store mails, check what is in your ~/.qmail, i.e. ./Maildir/, and how you start qmail:
exec env - PATH="/var/qmail/bin:$PATH" qmail-start ./Maildir/ splogger qmail &
If ./Maildir/...
Hello,
using tcpserver it would look like this:
/usr/local/bin/tcpserver -H -R -c 255 -u 82 -g 81 192.168.0.1 2525 /var/qmail/bin/qmail-smtpd &
Here qmail-smtpd listens on port 2525. You might want to read the tcpserver manpage for additional information.
Hello xazax,
I don't want to go too deep here, but a place where you could start reading is "man tuning" in FreeBSD.
It should at least give you some hints what you are looking for.
Hi,
it is very easy to set up.
Simply put those three lines in /etc/rc.conf:
natd_enable="YES"
natd_interface="NIC #1" CHANGE THIS!
natd_flags="-dynamic"
You should have something like this in your kernel:
options IPFIREWALL
options IPFIREWALL_VERBOSE
options...
Hi,
this problem has nothing to do with perl. Seems your script is doing what it is supposed to do.
You need to configure you mail server to allow to relay this mail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.