Mail-QmailRemoteXS

 view release on metacpan or  search on metacpan

qmailrem/FAQ  view on Meta::CPAN

including hosts_options. Second, change your qmail-smtpd line in
inetd.conf to

   smtp stream tcp nowait qmaild /usr/local/bin/tcpd
   /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd

(all on one line) and give inetd a HUP. Third, in tcpd's hosts.allow,
make a line setting the environment variable RELAYCLIENT to the empty
string for the selected clients:

   tcp-env: 1.2.3.4, 1.2.3.5: setenv = RELAYCLIENT

Here 1.2.3.4 and 1.2.3.5 are the clients' IP addresses. qmail-smtpd
ignores control/rcpthosts when RELAYCLIENT is set. (It also appends
RELAYCLIENT to each envelope recipient address. See question 5.5 for an
application.)

Alternative procedure, if you are using tcpserver 0.80 or above: Create
/etc/tcp.smtp containing

   1.2.3.6:allow,RELAYCLIENT=""

qmailrem/FAQ  view on Meta::CPAN

   | qmail-inject -f "$SENDER" -- "$DEFAULT"

into ~alias/.qmail-fixup-default. Second, put

   fixme:fixup

into /var/qmail/control/virtualdomains, and give qmail-send a HUP.
Third, follow the procedure in question 5.4, but set RELAYCLIENT to the
string ``@fixme'':

   tcp-env: 1.2.3.6, 1.2.3.7: setenv = RELAYCLIENT @fixme

Here 1.2.3.6 and 1.2.3.7 are the clients' IP addresses. If you are using
tcpserver instead of inetd and tcpd, put

   1.2.3.6:allow,RELAYCLIENT="@fixme"
   1.2.3.7:allow,RELAYCLIENT="@fixme"

into /etc/tcp.smtp, and run tcprules as in question 5.4.


qmailrem/INSTALL.mbox  view on Meta::CPAN


   * procmail: Change SYSTEM_MBOX in config.h and recompile; or, with
     recent versions, define MAILSPOOLHOME in src/authenticate.c.

An alternative to symbolic links is hlfsd. Consult the documentation for
hlfsd if it is included in your operating system.

If /var/spool/mail is large, you can gain extra speed by configuring
all your mail software to look at ~user/Mailbox directly:

   * Most MUAs: Put ``setenv MAIL $HOME/Mailbox'' in your system-wide
     .cshrc and ``MAIL=$HOME/Mailbox; export MAIL'' in your system-wide
     .profile.

   * elm: Change "mailbox" to "Mailbox" around line 388 of newmbox.c and
     recompile. (elm looks at $MAIL, but without this change elm will
     fail if two users try to read mail simultaneously.)

   * pine: Put ``inbox-path=Mailbox'' in your system-wide pine.conf.
     (For pine versions more recent than 3.91, see also FAQ 6.2.)



( run in 0.968 second using v1.01-cache-2.11-cpan-6aa56a78535 )