Re: Relay-ctrl and qmail

2001-02-28 Thread Enrique Vadillo

It's strange that you use /etc/smtp.cdb to control pop access (!) and
that you show us a different CDB file /etc/tcpcontrol/smtp.cdb in your
system, are you sure you are using the right CDB file in your qmail-smtpd
run script? it might help showing us that script too.

Enrique-

|o|  Bill Isaacs escribió 
|o| ---
|o| tcpserver -v -R -x /etc/smtp.cdb 0 pop-3 /var/qmail/bin/qmail-popup 
|o| hoss.willysworkshop.com \
|o| /bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d 
|o| Maildir
|o| 2>&1 | \
|o| /var/qmail/bin/splogger pop3d &
|o| ---
|o| 
|o| And Charles, here are the diagnostics you requested (I hope)
|o| 
|o| >Okay, lets see some information on the file itself.  How about
|o| > `ls -ld / /etc /etc/tcpcontrol /etc/tcpcontrol/*`
|o| --
|o| [root@hoss relay-ctrl]# ls -ld / /etc /etc/tcpcontrol /etc/tcpcontrol/*
|o| drwxr-xr-x  19 root root 1024 Feb 26 12:35 /
|o| drwxr-xr-x  24 root root 3072 Feb 27 22:34 /etc
|o| drwxr-xr-x   2 root root 1024 Feb 27 21:27 /etc/tcpcontrol
|o| -rw-r--r--   1 root qmail2072 Feb 26 12:48 
|o| /etc/tcpcontrol/pop-3.cdb
|o| -rw-r--r--   1 root qmail2072 Feb 26 13:12 
|o| /etc/tcpcontrol/pop-3.cdb
|o| .rpmnew
|o| -rw-r--r--   1 root qmail   7 Feb 26 12:48 
|o| /etc/tcpcontrol/pop-3.rul
|o| es
|o| -rw-r--r--   1 root qmail   7 Feb 26 13:12 
|o| /etc/tcpcontrol/pop-3.rul
|o| es.rpmnew
|o| -rw-r--r--   1 root qmail2074 Feb 26 12:48 
|o| /etc/tcpcontrol/qmqp.cdb
|o| -rw-r--r--   1 root qmail2074 Feb 26 13:12 
|o| /etc/tcpcontrol/qmqp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root qmail   6 Feb 26 12:48 
|o| /etc/tcpcontrol/qmqp.rule
|o| s
|o| -rw-r--r--   1 root qmail   6 Feb 26 13:12 
|o| /etc/tcpcontrol/qmqp.rule
|o| s.rpmnew
|o| -rw-r--r--   1 root qmail2072 Feb 26 12:48 
|o| /etc/tcpcontrol/qmtp.cdb
|o| -rw-r--r--   1 root qmail2072 Feb 26 13:12 
|o| /etc/tcpcontrol/qmtp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root qmail   7 Feb 26 12:48 
|o| /etc/tcpcontrol/qmtp.rule
|o| s
|o| -rw-r--r--   1 root qmail   7 Feb 26 13:12 
|o| /etc/tcpcontrol/qmtp.rule
|o| s.rpmnew
|o| -rw-r--r--   1 root root 2072 Feb 27 21:27 
|o| /etc/tcpcontrol/smtp.cdb
|o| -rw-r--r--   1 root qmail2072 Feb 26 13:12 
|o| /etc/tcpcontrol/smtp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root qmail   7 Feb 26 12:48 
|o| /etc/tcpcontrol/smtp.rule
|o| s
|o| -rw-r--r--   1 root qmail   7 Feb 26 13:12 
|o| /etc/tcpcontrol/smtp.rule
|o| s.rpmnew
|o| [root@hoss relay-ctrl]#
|o| 
|o| >Then, use tcprulescheck on the cdb file to see if that IP address is
|o| >in there:
|o| > `TCPREMOTEIP=1.2.3.4 tcprulescheck /etc/tcpcontrol/smtp.cdb`
|o| 
|o| [root@hoss workshop]# TCPREMOTEIP=63.207.13.190 tcprulescheck 
|o| /etc/tcpcontrol/smtp.cdb
|o| rule :
|o| allow connection
|o| [root@hoss workshop]#
|o| --
|o| 
|o| Anyway, there's the dope.  I did find an error in tcpcontrol, to whit:
|o| I had not specified the full path to the smtp.cdb file.  Unfortunately
|o| fixing this did not solve the problem.
|o| 
|o| Thanks,
|o| 
|o| Bill
|o| 
|o| _
|o| Get your FREE download of MSN Explorer at http://explorer.msn.com



Re: relay-ctrl and qmail

2001-02-27 Thread Enrique Vadillo

|o|  Charles Cazabon escribió 
|o| > 1. Use SMTP-after-POP: Patches are available. 
|o| 
|o| relay-ctrl provides SMTP-after-POP functionality, with no patches to qmail.
|o| It's a technically superior solution.

I recently installed Bruce Guenter's relay-ctrl after testing many different
solutions, i can definitely say it's the best smtp-after-pop package around,
and it requires no Qmail patches.

Enrique-



Re: Is there another procedure to enable Selective SMTP relaying which is not SMTP-after-POP?

2001-02-21 Thread Enrique Vadillo

That would be extremely dangerous, spam from anywhere would be relayed 
just by forging sender's address.

The best solution for roamers' smtp is SMTP-after-POP, trust me, what
i have done is to modify the source i found on the net (Bruce Guenter's)
and i have customized it so my smtp server is not abused by non-roaming
users of mine, and now it works simply fine.

Enrique-

|o|  Charrua escribió 
|o| Hi all, 
|o| Is there another procedure to enable Selective SMTP relaying which is not
|o| SMTP-after-POP?. The great problem posed by this solution is that the users
|o| do not want to perform the manual checking of the mailbox first and send
|o| after.
|o| Isn't there a method to enable it by domain? That is to say if the message
|o| comes from domain "domain1.com","domain2.com" or "domain3.com" I allow it to
|o| relay. If it comes from another domain I do not.
|o| Thanks and Best Regards
|o| Andrés



Re: SMTP authentication

2001-02-07 Thread Enrique Vadillo

I got exactly the same problem, the only thing i could do for now is
to give them a webmail frontend but most people are very used to sending
mail using their favorite mail programs.

anyone here know any way this can be done? i use qmail on solaris,
i'm open to any ideas.

iPass has no information on this even though it's very related to their
business.

Enrique-

|o|  Matt Simonsen escribió 
|o| Is it possible/adviseable to run a Qmail server to authenticate all relay
|o| SMTP traffic so that we can leave the relay open but not allow spammers
|o| access? I have Qmail running with Courier IMAP server, my problem is that we
|o| have some users with laptops who travel and use different ISPs out of the
|o| office and would not be able to get email through out SMTP server. To ask
|o| them to change settings may be too much. I have thought of setting up 2
|o| Outlook profiles for them with different outgoing mail servers, but I am
|o| hoping there is a way to allow their traffic through via a username and
|o| password combo.
|o| 
|o| Thanks
|o| Matt



Date: field rewritten?

2000-11-13 Thread Enrique Vadillo

Hi,

Some of my users are complaining that Qmail is rewriting dates showing
in the "Date:" field, for instance, if someone write some message from
France right now being 1 pm here and 7 pm in Paris, it shows our 1 pm
local time under qmail, a copy of the *SAME* message in a sendmail-based
box shows me 7 pm as the "Date:" field which is -i believe- accurate.

What do i have to dso so shat Qmail does NOT rewrite Date: fields??

Thanks!

Enrique-



badmailfrom not working..

2000-09-27 Thread Enrique Vadillo

Hi,

I am using qmail 1.03 along with tcpserver, the problem i have is that
apparently my ~qmaild/control/badmailfrom file is not blocking anything
at all, for instance i have tried sending mail from some remote unauthorized
location as '[EMAIL PROTECTED]' which *IS* listed in that file and the sender
-unexpectedly- is acepted:

% telnet myhost.mydomain 25
Connected.
220 myhost.mydomain ESMTP
...
mail from: [EMAIL PROTECTED]
250 ok

Besides, command "ls -lu ~qmaild/control/badmailfrom" reports that the file
is not even being read, am i missing something somewhere?

Enrique-



Anti-Spam domains+users list

2000-09-27 Thread Enrique Vadillo

Hi,

I used to access thru a script the anti-spam list usually found at:

http://www.webeasy.com:8080/spam/spam_download_table 

but it hasn't been working for weeks now, do you guys know any other
updated TXT-format anti-spam list of users and domains that i can use to 
fill my badmailfrom file and block at least *some* of the spam in my qmail?

Thanks,

Enrique-



string based blocking in Qmail

2000-08-17 Thread Enrique Vadillo

Hi,

I'd like to block any email sent to my host using Multimailer, since it's a
well kown program widely used to send SPAM.

The header line that identifies Multimailer is: X-Mailer: MultiMailer (3.1.0)

I'm using qmail 1.03 with tcpserver with syslog logging.

How can this be done? thanks.. really.

Enrique-



Re: log connections using tcpserver?

2000-07-24 Thread Enrique Vadillo

I just restarted it with "tcpserver -v -R ..." and still nothing!

I *only* get this in /var/log/syslog for mail delivery from a remote host:

Jul 24 10:54:51 mail qmail: 964454091.551368 new msg 223505
Jul 24 10:54:51 mail qmail: 964454091.551743 info msg 223505: bytes 199 from 
<[EMAIL PROTECTED]> qp 28030 uid 91
Jul 24 10:54:51 mail qmail: 964454091.612723 starting delivery 3: msg 223505 to local 
[EMAIL PROTECTED]
Jul 24 10:54:51 mail qmail: 964454091.612972 status: local 1/10 remote 0/20
Jul 24 10:54:51 mail qmail: 964454091.694699 delivery 3: success: did_1+0+1/
Jul 24 10:54:51 mail qmail: 964454091.709046 status: local 0/10 remote 0/20
Jul 24 10:54:51 mail qmail: 964454091.709290 end msg 223505

any ideas why my tcpserver won't log remote IP connections?

I'm using Solaris 7 and 8 and on both it fails.

Enrique-

|o|  Dave Sill escribió ----
|o| [EMAIL PROTECTED] (Enrique Vadillo) wrote:
|o| 
|o| >I'm using qmail 1.03, i'd like to log every IP connection to my qmail
|o| >smtp server, i've noticed that tcpserver is not logging this info for now, 
|o| >my tcpserver runs like follows:
|o| >
|o| >tcpserver -R -c 100 -x /etc/tcp.smtp.cdb -v -u 7170 -g 1100 0 smtp 
|/var/qmail/bin/qmail-smtpd \
|o| >2>&1 | /var/qmail/bin/splogger smtpd 3 &
|o| >
|o| >Any suggestions so i can log IP connections too?
|o| 
|o| The -v should cause connections to be logged. Try putting it first,
|o| e.g.:
|o| 
|o|   tcpserver -v -R ...
|o| 
|o| -Dave



log connections using tcpserver?

2000-07-24 Thread Enrique Vadillo

Hi all,

I'm using qmail 1.03, i'd like to log every IP connection to my qmail
smtp server, i've noticed that tcpserver is not logging this info for now, 
my tcpserver runs like follows:

tcpserver -R -c 100 -x /etc/tcp.smtp.cdb -v -u 7170 -g 1100 0 smtp 
/var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &

Any suggestions so i can log IP connections too?

Thanks!

Enrique-



IDENTD timeout

2000-07-21 Thread Enrique Vadillo

Is there a config somewhere so i can decrease identd timeout to something
less than 30 seconds? my qmail server is attempting to connect to identd
ports of every remote host that opens a port 25 connection to it, and 
frequently these hosts are behind firewalls blocking identd ports (tcp/113).

I can of course change the source code: (line 46 of tcp-env.c):

timeout = 30;

ZMailer has a 3/4 secs timeout, which i believe is acceptable,
why in hell would qmail need a 30 sec (or so) identd timeout?

Anyone willing to explain?

Enrique-



Routing mail for a specific domain

2000-07-19 Thread Enrique Vadillo

I'm using qmail-1.03.

I've routed all outgoing mail thru a very big smtp relay, but i would like
to be able to route mail targeted to a specific domain - say @DOMAIN.COM -
thru a different smtp relay, is this possible?

Thanks!

Enrique-



ELM with Maildirs?

2000-06-14 Thread Enrique Vadillo

Is there some modified ELM somewhere that works with Maildirs? or maybe just
patches?

thanks!

Enrique-



convert mbox -> maildirs

2000-06-08 Thread Enrique Vadillo

I'm switching more than 15.000 users to Qmail using maildirs,
i'd like to know what is the best tool i can use in order to
convert /var/mail/user mboxes into ~user/Maildir format and to
convert ~user/Mail/folder into ~user/Maildir/.folder format too.

thanks!

Enrique-



What POP/IMAP servers are best?

2000-06-02 Thread Enrique Vadillo

Hi all,

I have some 15.000 users in my system and i'm currently testing qmail with 
Maildirs (btw i need/want to use Maildirs over NFS), the problem i see is 
that since Maildirs change a tiny bit the way my pop and imap servers work 
(in other words, my current daemons won't work), so i was wondering whether 
you'd have suggestions on what POP and IMAP servers i should use with qmail 
with maildirs so i can have the best performance i can get.

Of course i'd like to change *nothing* in my users' PCs (especially regarding
POP clients!) however IMAP i can handle any client changes very easily.

Thanks a lot for any ideas!

Enrique-