fbsd newbie stuck trying to receive email with qmail

fbsd newbie stuck trying to receive email with qmail

Post by A. L. Meyer » Wed, 06 Mar 2002 18:16:04



Hi! Having used qmail a long time on GNU/Linux (install and config were
a snap), decided to do the same with fbsd but have run into a
snag. Sending mail works perfectly.

Using fetchmail to download mail from a pop server, I always get the
error message:

SMTP connect to localhost failed

Probably I have misconfigured or forgot to configure something and
would much appreciate your suggestions. Which config files would you
like to see? Have tried to imitate GNU/Linux config but unsuccessfully
until now. ;-(

Lucien
--
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
Kabul Sudan Mossad Serbian CIA Bush genetic Iran White House Rule Psix

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by Drew Laws » Thu, 07 Mar 2002 02:38:12




Quote:>Hi! Having used qmail a long time on GNU/Linux (install and config were
>a snap), decided to do the same with fbsd but have run into a
>snag. Sending mail works perfectly.

>Using fetchmail to download mail from a pop server, I always get the
>error message:

>SMTP connect to localhost failed

>Probably I have misconfigured or forgot to configure something and
>would much appreciate your suggestions. Which config files would you
>like to see? Have tried to imitate GNU/Linux config but unsuccessfully
>until now. ;-(

Probably obvious, but is the qmail daemon running and listening on
port 25? (sockstat -l | grep :25)

--
Drew Lawson            |  It's not enough to be alive


 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by A. L. Meyer » Sat, 09 Mar 2002 17:30:20





>>Hi! Having used qmail a long time on GNU/Linux (install and config were
>>a snap), decided to do the same with fbsd but have run into a
>>snag. Sending mail works perfectly.

>>Using fetchmail to download mail from a pop server, I always get the
>>error message:

>>SMTP connect to localhost failed

>>Probably I have misconfigured or forgot to configure something and
>>would much appreciate your suggestions. Which config files would you
>>like to see? Have tried to imitate GNU/Linux config but unsuccessfully
>>until now. ;-(

> Probably obvious, but is the qmail daemon running and listening on
> port 25? (sockstat -l | grep :25)

Thanks, Drew. Obvious for you but not for a lazy newbie like
meself. Running the command sockstat -l | grep :25 produces no output
so apparently I have a problem here. The output of ps -a run as root is:

  PID  TT  STAT      TIME COMMAND
  138  v0  Is     0:00.02 login -p root
  146  v0  S      0:00.09 -tcsh (tcsh)
  160  v0  R+     0:00.00 ps -a
  139  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
  140  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2
  141  v3  Is+    0:00.01 /usr/libexec/getty Pc ttyv3
  142  v4  Is+    0:00.01 /usr/libexec/getty Pc ttyv4
  143  v5  Is+    0:00.01 /usr/libexec/getty Pc ttyv5
  144  v6  Is+    0:00.01 /usr/libexec/getty Pc ttyv6
  145  v7  Is+    0:00.01 /usr/libexec/getty Pc ttyv7
  132 con- I+     0:00.02 qmail-send
  134 con- I+     0:00.00 /var/qmail/bin/splogger qmail
  135 con- I+     0:00.00 qmail-lspawn ./Maildir/
  136 con- I+     0:00.00 qmail-rspawn
  137 con- I+     0:00.00 qmail-clean

What next step would you recommend, please?

Lucien
--
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
Ortega radar Iran White House Sudan FBI SDI * BND *e Semtex

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by jwk » Sun, 10 Mar 2002 05:21:00



Date: Fri, 08 Mar 2002 09:30:20 +0100

> Thanks, Drew. Obvious for you but not for a lazy newbie like
> meself. Running the command sockstat -l | grep :25 produces no output
> so apparently I have a problem here. The output of ps -a run as root is:

>   PID  TT  STAT      TIME COMMAND
>   132 con- I+     0:00.02 qmail-send
>   134 con- I+     0:00.00 /var/qmail/bin/splogger qmail
>   135 con- I+     0:00.00 qmail-lspawn ./Maildir/
>   136 con- I+     0:00.00 qmail-rspawn
>   137 con- I+     0:00.00 qmail-clean

> What next step would you recommend, please?

Find out where your qmail-smtpd process is started and why this step
doesn't work. Here, it's in /etc/xinetd.conf, but it will probably be
started in /etc/inetd.conf on your box. Check, then double check what's
happening there.

Good luck,
Jurriaan
--
She opened her eyes and gazed bleakly at him. "And is it your idea that
discussing this interesting subject will make us friends?"
        Guy Gavriel Kay - Tigana
GNU/Linux 2.4.19p2 on Debian/Alpha 988 bogomips load:0.17 0.20 0.14

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by A. L. Meyer » Sun, 10 Mar 2002 05:30:36




> Date: Fri Mar  8 08:30:20 2002 UT

>> Thanks, Drew. Obvious for you but not for a lazy newbie like
>> meself. Running the command sockstat -l | grep :25 produces no output
>> so apparently I have a problem here. The output of ps -a run as root is:

>>   PID  TT  STAT      TIME COMMAND
>>   132 con- I+     0:00.02 qmail-send
>>   134 con- I+     0:00.00 /var/qmail/bin/splogger qmail
>>   135 con- I+     0:00.00 qmail-lspawn ./Maildir/
>>   136 con- I+     0:00.00 qmail-rspawn
>>   137 con- I+     0:00.00 qmail-clean

>> What next step would you recommend, please?

> Find out where your qmail-smtpd process is started and why this step
> doesn't work. Here, it's in /etc/xinetd.conf, but it will probably be
> started in /etc/inetd.conf on your box. Check, then double check what's
> happening there.

Jurriaan, thanks. On Slackware it is in /etc/rc.d/rc.qmail. On FreeBSD
it is by default in /var/qmail. The scripts are somewhat different and
neither appears to work correctly on FreeBSD. I opted for the "maildir"
script on FreeBSD because I use gnus which supports the maildir format.

Have you a hint what I should look for exactly? :-)

Lucien
--
If you receive this by error, please delete it and inform the sender.
PGP Key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
NSA domestic disruption Ortega nuclear Clinton GAO NORAD quiche Rumsfeld

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by jwk » Sun, 10 Mar 2002 21:02:23



Date: Fri, 08 Mar 2002 21:30:36 +0100


>> Find out where your qmail-smtpd process is started and why this step
>> doesn't work. Here, it's in /etc/xinetd.conf, but it will probably be
>> started in /etc/inetd.conf on your box. Check, then double check what's
>> happening there.

> Jurriaan, thanks. On Slackware it is in /etc/rc.d/rc.qmail. On FreeBSD
> it is by default in /var/qmail. The scripts are somewhat different and
> neither appears to work correctly on FreeBSD. I opted for the "maildir"
> script on FreeBSD because I use gnus which supports the maildir format.

Those scripts are not what I mean. Somewhere, the system is configured
so that when a connection to port 25 is made, qmail-smtpd is started.
That probably is somewhere in /etc, with /etc/inetd.conf a likely
suspect.

Quote:

> Have you a hint what I should look for exactly? :-)

Unfortunately, no. I'm a linux-user, and follow this group purely to see
what's happening 'across the fence'. Have you tried www.google.com (the
'discussions') to see if anyone had this problem before and perhaps has
solved it?

Good luck,
Jurriaan
--
While the soldiers readied their weapons, he readied himself. "Do not",
he told the Allasakari, "stand between a brother and his fallen." But he
both knew, and hoped, that they would.
        Michelle West - Hunter's Death
GNU/Linux 2.4.19p2 on Debian/Alpha 988 bogomips load:0.35 0.25 0.19

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by A. L. Meyer » Mon, 11 Mar 2002 01:26:20




> Date: Fri, 08 Mar 2002 21:30:36 +0100

>>> Find out where your qmail-smtpd process is started and why this step
>>> doesn't work. Here, it's in /etc/xinetd.conf, but it will probably be
>>> started in /etc/inetd.conf on your box. Check, then double check what's
>>> happening there.

>> Jurriaan, thanks. On Slackware it is in /etc/rc.d/rc.qmail. On FreeBSD
>> it is by default in /var/qmail. The scripts are somewhat different and
>> neither appears to work correctly on FreeBSD. I opted for the "maildir"
>> script on FreeBSD because I use gnus which supports the maildir format.

> Those scripts are not what I mean. Somewhere, the system is configured
> so that when a connection to port 25 is made, qmail-smtpd is started.
> That probably is somewhere in /etc, with /etc/inetd.conf a likely
> suspect.

>> Have you a hint what I should look for exactly? :-)

> Unfortunately, no. I'm a linux-user, and follow this group purely to see
> what's happening 'across the fence'. Have you tried www.google.com (the
> 'discussions') to see if anyone had this problem before and perhaps has
> solved it?

Thank's quite OK, Jurriaan, at least someone is trying to help me,
which I much appreciate.

In my /etc/inetd.conf (original from installation) everything is
commented out with # and in /etc/rc.conf the inetd is set to NO.
But I can nevertheless send mails, just not receive them.

Lucien
--
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
Marxist jihad Somalia Panama KGB ammunition CIA Bin Ladin Semtex *e

 
 
 

fbsd newbie stuck trying to receive email with qmail

Post by Frank Shu » Tue, 12 Mar 2002 01:40:27





>> Date: Fri, 08 Mar 2002 21:30:36 +0100

>>>> Find out where your qmail-smtpd process is started and why this step
>>>> doesn't work. Here, it's in /etc/xinetd.conf, but it will probably be
>>>> started in /etc/inetd.conf on your box. Check, then double check what's
>>>> happening there.

>>> Jurriaan, thanks. On Slackware it is in /etc/rc.d/rc.qmail. On FreeBSD
>>> it is by default in /var/qmail. The scripts are somewhat different and
>>> neither appears to work correctly on FreeBSD. I opted for the "maildir"
>>> script on FreeBSD because I use gnus which supports the maildir format.

>> Those scripts are not what I mean. Somewhere, the system is configured
>> so that when a connection to port 25 is made, qmail-smtpd is started.
>> That probably is somewhere in /etc, with /etc/inetd.conf a likely
>> suspect.

>>> Have you a hint what I should look for exactly? :-)

>> Unfortunately, no. I'm a linux-user, and follow this group purely to see
>> what's happening 'across the fence'. Have you tried www.google.com (the
>> 'discussions') to see if anyone had this problem before and perhaps has
>> solved it?

> Thank's quite OK, Jurriaan, at least someone is trying to help me,
> which I much appreciate.

> In my /etc/inetd.conf (original from installation) everything is
> commented out with # and in /etc/rc.conf the inetd is set to NO.
> But I can nevertheless send mails, just not receive them.

On both my BSD and linux box I run this line from rc.local:

/usr/local/bin/tcpserver -v -x/etc/tcprules.cdb -u1003 -g65534 0 smtp\
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &

Your incantation will differ as the appropriate uid & gid will be different.

You'll need ucspi-tcp-0.80 or similar from www.qmail.org.

You can run qmail-smtpd from inetd but I prefer the above way.

--

 Frank S

Who controls the past controls the future. Who controls the present
controls the past.

                -- George Orwell

 
 
 

1. Trying to execute script upon receiving email

I've read up a bit on procmail and about using .forward files to
execute a command, but still don't have it quite right.  The
difference for me is that I actually want the email to say in my
regular email mbox, not to forward to never-never land, but I do want
the command to execute.

Here's what I've got:

hostname> cat .forward
"|IFS=' ' &&exec /home/cwyatt/getpage.SH || exit 75 #cwyatt"

This actually does run my script, but my email completely disappears.

Thanks for any suggestions!

-Chuck

2. Shared IRQ == X lockup

3. Linux Newbie is stuck trying to dial using kppp

4. boot disk for i386

5. Newbie:Can't Receive Internet E-mail

6. New mail indication in C shell.

7. Cannot receive emails.. but can send emails..help

8. ACE data format compat. question

9. Newbie Trying to Set up Internal Email

10. FBSD or qmail script problem?

11. changing to qmail on fbsd 3.1

12. messages stuck in qmail-queue :-(

13. qmail installation problem, msgs stuck in queue, help!