Of course, each instance of XMail has its own startup script with the correct environment variables.
Original XMail: XMAIL_ROOT=/var/MailRoot XMAIL_CMD_LINE="-Md -Pl -Sl -Fl -Cl -Ll -Qt 480 -Qg -Qr 16 -Qn 60 -Ql -Mx 32 -SX 60" PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin Alternative: XMAIL_ROOT=/var/MailRoot2 XMAIL_CMD_LINE="-Md -P- -B- -Sp 1025 -X- -Qn 3 -Y- -F- -C- -W- -Ll -Pl -Sl -Ql -Yl -Fl" PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin An important detail: I changed the name of the binary XMail by XMail2 (In the second process) to generate PID files with different name. Could be a command line parameter!! :) Greetings! Cesar 2010/11/3 Davide Libenzi <[email protected]> > On Wed, 6 Oct 2010, Cesar Meloni wrote: > > > I have a similar problem. > > Some users need send mail to some domains such as yahoo or hotmail, for > some reason the emails > > to these domains were transferred at very low speed, making global mail > queue slow. > > I managed to solve it by raising a new instance of XMail, with only the > SMTP port number 1025 > > and the following parameters: "-Md -P- -B- -Sp 1025 -X- -Qn 3 -Y- -F- -C- > -W- -Ll -Pl -Sl -Ql > > -Yl -Fl" > > in smtprelay.tab file only the line: "127.0.0.1" <TAB> "255.255.255.255" > > And in original XMail the following configuration: > > smtpfwd.tab: > > "*yahoo.com"<TAB>"127.0.0.1:1025" > > "*hotmail.com"<TAB>"127.0.0.1:1025" > > > > so you can separate these emails in an alternative queue with 3 > simultaneous connections form > > SMTP. > > Very smart work-around. I hope you remembered to not make both XMail > instances point to the same MAIL_ROOT though ... > > > > > > 2010/10/6 <[email protected]> > > > > Hi Bill > > > > I have the same problem too from some days with 'orange/wanadoo' > here in > > France then some of my customers send 'little' newletters for max > 10 final > > users to orange/wanadoo (really not spam). > > Now, they servers limit incoming connections to about maximum 3 > incoming > > sessions at a time > > (xmail does send same mail at once (one mail to, multiple rcpt to) > to same > > final domain) > > > > At this time there is only one solution in xmail, the -Qn cmd line > option > > limiting 'global' xmail output threads (so limiting in fact max > simultaneous > > outgoing connections) > > > > BUT as noted, it affect xmail for ANY destination, so at this time, > my > > server regulary have many mails waiting for first attemps to > delever ! and > > is slow to send mails :( > > > > So I have allmost the same question to Davide : could it be > possible to say > > xmail to 'slow down' when sending to specific final domains mx > servers (use > > of smtpfwd.tab with new options, max conns or delay between each > conns ?) > > letting normal -Qn do its job for others domains ? > > Or a new -QMXn saying no more than n simultaneous connections at > the same > > time per unique final mx ? > > > > Francis > > > > > > > > >-----Message d'origine----- > > >De : [email protected] > > >[mailto:[email protected]]de la part de Bill Healy > > >Envoye : mercredi 6 octobre 2010 07:52 > > >A : '[email protected]' > > >Objet : [xmail] Multiple outbound smtp connections > > > > > > > > >How many connections will xmail make to a particular server at one time > > >if there are many messages to deliver to the same domain? And > > >is there a > > >way to limit the number if the answer is more than a few? > > > > > >Reason I ask is that mail to a particular domain is being delayed by a > > >temporary error saying there are "too many connections" try later. The > > >people in charge of said server say that xmail must be making more than > > >5 connections to one server or 3 to another of their servers > > >to get that > > >message. > > > > > >I've looked through the docs and can't find any way to limit the number > > >of simultaneous connections to a server, is there such a setting? I > > >thought there was, but can't find it. > > > > > >Thanks, > > > Bill > > > > > >_______________________________________________ > > >xmail mailing list > > >[email protected] > > >http://xmailserver.org/mailman/listinfo/xmail > > > > > > > _______________________________________________ > > xmail mailing list > > [email protected] > > http://xmailserver.org/mailman/listinfo/xmail > > > > > > > > > > > - Davide > > > _______________________________________________ > xmail mailing list > [email protected] > http://xmailserver.org/mailman/listinfo/xmail >
_______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail
