Sendmail woes w 5.3R

2005-02-01 Thread Jeff Kreska
I recently upgraded to 5.3R and can't seem to get sendmail configured
correctly.

when I telnet to localhost 25 I get an immediate ESMTP response, but when
I telnet to mailhost 25 where mailhost is the real name it takes some
amount of time before the ESMTP response is displayed.

If I comment out the following line from the mc file then the telnet to
localhost 25 is slow also:
DAEMON_OPTIONS(`Name=IPv6, Family=inet6')

I tried
define(`confTO_IDENT',`0s')dnl
with no luck.  I thought it might be related to IDENT.

I have done nslookup mailhost gives me the ip, and nslookup ip gives me
mailhost.

Any pointer or suggestions would be greatly appreciated.


--
Regards,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sendmail WOES

2003-08-19 Thread Remi ...
FreeBSD FreeBSD5.kicks-ass.net 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Fri Jun 
27 14:49:55 PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAPTOP  i386

I am currently trying to get sendmail working to submit my first port but 
its not working(nearest I can tell). I am using pr-new to submit it, but it 
doesnt show up on the PR web site. Any hellp is greatly appreciated. I start 
sendmail by: sendmail -L sm-mta -bd -q30m

/etc/mail/access:
127.0.0.1   OK
FreeBSD.ORG OK
hotmail.com OK
charter.net RELAY
freebsd5.kicks-ass.net  RELAY
/etc/mail/* - every other file is default. Note local-host-name is missing
cat /var/log/maillog:
Aug 19 13:25:31 laptop sendmail[2804]: h7JKPVSp002804: from=root, size=3078, 
class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]

Aug 19 13:25:31 laptop sm-mta[2805]: h7JKPVvj002805: 
from=<[EMAIL PROTECTED]>, size=3327, class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, 
daemon=MTA, relay=localhost [127.0.0.1]

Aug 19 13:25:31 laptop sendmail[2804]: h7JKPVSp002804: 
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:00, 
xdelay=00:00:00, mailer=relay, pri=30213, relay=[127.0.0.1] [127.0.0.1], 
dsn=2.0.0, stat=Sent (h7JKPVvj002805 Message accepted for delivery)

Aug 19 13:25:32 laptop sm-mta[2807]: h7JKPVvj002805: 
to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> 
(0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30462, 
relay=mx1.freebsd.org. [216.136.204.125], dsn=2.0.0, stat=Sent (Ok: queued 
as 23B6643F75)

---
I am completely clueless on what to do. Any help is greatly appreicated. 
Please note itll stay "queued" forever.
Thanks in advance for your help

_
Get MSN 8 and help protect your children with advanced parental 
controls.  http://join.msn.com/?page=features/parental

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sendmail woes (domain resolving)

2003-05-27 Thread UBM

Hello everyone!

I'm not 100% sure if this belongs here, as it is primarily a sendmail
configuration problem. 

Sendmail blocks incoming mail delivered to it by fetchmail, if it's
unable to resolve the domain the mail is sent from. For example:

sendmail[2424]: h4RKlrp0002424: ruleset=check_mail,
arg1=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] [127.0.0.1],
reject=451 4.1.8 Domain of sender address [EMAIL PROTECTED] does
not resolve


I tried to add the options 

FEATURE(accept_unresolvable_domains)dnl
FEATURE(accept_unqualified_senders)dnl

to the freebsd.submit.mc and the freebsd.mc file, but it didn't work.
I'm pretty sure that I'm doing something wrong, but I'm not sure what it
is.

The reason that I want sendmail to deliver such mails is that fetchmail
will not fetch any additional messages from an account once a message
has been rejected by sendmail.


How can I get to do sendmail what I want it to do? I'm pretty sure that
I'm missing something obvious.

Bye
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-06 Thread Matthew Emmerton
> Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
>
> > I'd probably boot single user mode and run 'mergemaster' after mounting
> > all the filesystems.
>
> Giorgios,
> Am I expecting too much of mergemaster?
> I took your advice and ran it without any options.
> It showed me the comparision between old and new files as it ran on the
> console, and stored the new files in /var/tmp/temproot for me to compare
and
> adjust my old files - without any guide about what the differences might
be.
> The "old" files remain untouched until I manually change them.
> Is there at least a log somewhere which highlights any differences so I
have
> the same sort of guide that appeared on the console when I ran
mergemaster?

The differences are shown, per file, when you run mergemaster.  You can
choose "i" (install) to install the new file, which will wipe out any
changes you may have made in your "old" version.  Of your can choose to
"leave until later", and then you will have to diff and merge the changes by
hand.  (Use the diff command to show the differences, and then edit your
"old" files with the changes.)

> BTW, the difference between old and new freebsd.mc appears (more-or-less)
> cosmetic - BUT I didn't have a freebsd_submit.mc and one or two other
files
> which look important.

If you don't have some of the files which look important, then you should
have chosen "i" (install) when mergemaster gave you the choice.  For these,
just copy them from /var/tmp/temproot into their appropriate place.

--
Matt Emmerton

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-06 Thread bastill
Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
  
> I'd probably boot single user mode and run 'mergemaster' after mounting
> all the filesystems.

Giorgios,
Am I expecting too much of mergemaster?
I took your advice and ran it without any options.
It showed me the comparision between old and new files as it ran on the 
console, and stored the new files in /var/tmp/temproot for me to compare and 
adjust my old files - without any guide about what the differences might be.
The "old" files remain untouched until I manually change them.
Is there at least a log somewhere which highlights any differences so I have 
the same sort of guide that appeared on the console when I ran mergemaster?
BTW, the difference between old and new freebsd.mc appears (more-or-less) 
cosmetic - BUT I didn't have a freebsd_submit.mc and one or two other files 
which look important.

--
Brian



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-05 Thread bastill
Quoting Jonathan Chen <[EMAIL PROTECTED]>:

> Looks like you forgot to run mergemaster.

Wish it was that simple!  :-)

I actually ran mergemaster twice - the first time -p as recommended.

However, I WILL run it again and hope that clears the problem.

You have no idea how irksome it is to reboot to Windoze, use webmail to 
describe the problem and receive advice; reboot to FBSD to take the advice and 
record what happened; reboot to Windoze, use webmail to report and obtain 
further advice; reboot to FBSD  it's driving me MAD I tell you - MAD!  :-)

--
Brian



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-05 Thread Giorgos Keramidas
On 2003-04-05 17:30, [EMAIL PROTECTED] wrote:
>Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
>> Hmmm, it looks like you have an old copy of freebsd.mc around.  What is
>> the output of this command?
>>
>>  # ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc
>
> [EMAIL PROTECTED] ~ S ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc
> /etc/mail/freebsd.mc:
>  $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14 18:07:27
> gshapiro Exp $
> /usr/src/etc/sendmail/freebsd.mc:
>  $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18
> keramida Exp $
>
> Looks like make installworld did not update freebsd.mc?
> Possibly other stuff, too?

It doesn't.  This is the job of 'mergemaster'.

> Should I run make installworld (or make buildworld AND make
> installworld) again?

I'd probably boot single user mode and run 'mergemaster' after mounting
all the filesystems.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-05 Thread Jonathan Chen
On Sat, Apr 05, 2003 at 05:30:21PM +0930, [EMAIL PROTECTED] wrote:
> Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
> 
> > Hmmm, it looks like you have an old copy of freebsd.mc around.  What is
> > the output of this command?
> > 
> > # ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc
> 
> [EMAIL PROTECTED] ~ S ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc
> /etc/mail/freebsd.mc:
>  $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14 18:07:27 
> gshapiro Exp $
> /usr/src/etc/sendmail/freebsd.mc:
>  $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18 
> keramida Exp $
> 
> Looks like make installworld did not update freebsd.mc?
> Possibly other stuff, too?

Looks like you forgot to run mergemaster.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-04 Thread bastill
Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:

> Hmmm, it looks like you have an old copy of freebsd.mc around.  What is
> the output of this command?
> 
>   # ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc

[EMAIL PROTECTED] ~ S ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc
/etc/mail/freebsd.mc:
 $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14 18:07:27 
gshapiro Exp $
/usr/src/etc/sendmail/freebsd.mc:
 $FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18 
keramida Exp $

Looks like make installworld did not update freebsd.mc?
Possibly other stuff, too?

Should I run make installworld (or make buildworld AND make installworld) 
again?

--
Brian



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-04 Thread Giorgos Keramidas
On 2003-04-04 14:32, [EMAIL PROTECTED] wrote:
>Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
>> but you should really read the README file for hints and pointers
>> to more detailed documentation.
>
> I think the README to which you refer is elsewhere?  /etc/mail/README is quite
> brief and refers to people who have sendmail_enable=NO and
> sendmail_submit_enable=NO in their configs (doesn't apply on my system, which
> says YES to both) and a paragraph on dealing with spam.
>
>>  # cd /etc/mail
>>  # test -f `hostname`.mc && cp `hostname`.mc `hostname`.mc.BAK
>>  # cp freebsd.mc `hostname`.mc
>
> OK to this point
>
>>  # make && make install
>
> Then
>
> [EMAIL PROTECTED] /etc/mail #make && make install
> /usr/bin/m4 -
> D_CF_DIR_=/usr/share/sendmail/cf/   /usr/share/sendmail/cf/m4/cf.m4
> BAPhD.gihon.org.au.mc > BAPhD.gihon.org.au.cf
> *** WARNING: missing -T in argument of FEATURE(`access_db', hash -
> o /etc/mail/access)
>
> make: don't know how to make freebsd.submit.cf. Stop

Hmmm, it looks like you have an old copy of freebsd.mc around.  What is
the output of this command?

# ident /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc

> Does that help clarify the issue?

Yep, at least it's a clue in the right direction ;-)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-03 Thread bastill
Quoting Giorgos Keramidas <[EMAIL PROTECTED]>:
 
> but you should really read the README file for hints and pointers
> to more detailed documentation.

I think the README to which you refer is elsewhere?  /etc/mail/README is quite 
brief and refers to people who have sendmail_enable=NO and 
sendmail_submit_enable=NO in their configs (doesn't apply on my system, which 
says YES to both) and a paragraph on dealing with spam. 

>   # cd /etc/mail
>   # test -f `hostname`.mc && cp `hostname`.mc `hostname`.mc.BAK
>   # cp freebsd.mc `hostname`.mc

OK to this point

>   # make && make install

Then

[EMAIL PROTECTED] /etc/mail #make && make install
/usr/bin/m4 -
D_CF_DIR_=/usr/share/sendmail/cf/   /usr/share/sendmail/cf/m4/cf.m4 
BAPhD.gihon.org.au.mc > BAPhD.gihon.org.au.cf
*** WARNING: missing -T in argument of FEATURE(`access_db', hash -
o /etc/mail/access)

make: don't know how to make freebsd.submit.cf. Stop

Does that help clarify the issue?

Thanks,
Brian


---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail woes

2003-04-02 Thread Giorgos Keramidas
On 2003-04-03 10:55, [EMAIL PROTECTED] wrote:
>
> In discussion on -stable, people have been trying to help me with a
> sendmail issue.  The effect is for sendmail to refuse to start, no
> matter what, and I cannot use the Internet from that box.  (I am using
> webmail and Windoze -  - to send this message)
>
> One problem is that the version of sendmail and its .cf file are out
> of sync and I don't know how to correct this.  There might be other
> problems I need to address.

Start by reading /etc/mail/README and then by regenerating your
sendmail.cf file.  Running the following as root should be fine,
but you should really read the README file for hints and pointers
to more detailed documentation.

# cd /etc/mail
# test -f `hostname`.mc && cp `hostname`.mc `hostname`.mc.BAK
# cp freebsd.mc `hostname`.mc
# make && make install
# make stop ; make restart

Then, if the file `hostname`.mc.BAK exists, you should check the
differences of that file and `hostname`.mc and merge local changes
back into `hostname`.mc that were lost in the process.

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail woes

2003-04-02 Thread bastill
In discussion on -stable, people have been trying to help me with a sendmail 
issue.  The effect is for sendmail to refuse to start, no matter what, and I 
cannot use the Internet from that box.
(I am using webmail and Windoze -  - to send this message)

One problem is that the version of sendmail and its .cf file are out of sync 
and I don't know how to correct this.
There might be other problems I need to address.

Here is the output of two investigatory commands suggested by Claus.  They took 
AGES to complete (I went off to play patience while they ran!).  Looks like the 
second output waited for me to provide an answer about ruleset, then gave up 
and gave me back my prompt (see last two lines).

Hope someone can help with this "mess".  Thanks.

[EMAIL PROTECTED] /etc #sendmail -bs
220 BAPhD.gihon.org.au ESMTP Sendmail 8.12.8/8.11.6; Wed, 2 Apr 2003 22:58:36 
+0930 (CST)
EHLO localhost
250-BAPhD.gihon.org.au Hello [EMAIL PROTECTED], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
QUIT
221 2.0.0 BAPhD.gihon.org.au closing connection
[EMAIL PROTECTED] /etc #sendmail -bt -d0.13 < /dev/null
Version 8.12.8
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF
STARTTLS TCPWRAPPERS USERDB XDEBUG
OS Defines: BSD4_4_SOCKADDR HASFCHOWN HASFCHMOD HASFLOCK
HASGETDTABLESIZE HASGETUSERSHELL HASINITGROUPS HASLSTAT HASNICE
HASRANDOM HASRRESVPORT HASSETLOGIN HASSETREUID HASSETRLIMIT
HASSETSID HASSETUSERCONTEXT HASSETVBUF HAS_ST_GEN HASSRANDOMDEV
HASURANDOMDEV HASSTRERROR HASUNAME HASUNSETENV HASWAITPID
IDENTPROTO IP_SRCROUTE LOCK_ON_OPEN SAFENFSPATHCONF
USE_DOUBLE_FORK USESETEUID USESYSCTL
Kernel symbols: don't use _PATH_UNIX
 Conf file: /etc/mail/submit.cf (default for MSP)
 Conf file: /etc/mail/sendmail.cf (default for MTA)
  Pid file: /var/run/sendmail.pid (default)
 libsm Defines: SM_CONF_GETOPT SM_CONF_LONGLONG SM_CONF_MEMCHR
SM_CONF_MSG SM_CONF_SEM SM_CONF_SETITIMER SM_CONF_SHM
SM_CONF_SSIZE_T SM_CONF_STDDEF_H SM_CONF_SYS_CDEFS_H
SM_CONF_UID_GID SM_HEAP_CHECK SM_OS=sm_os_freebsd SM_VA_STD
   FFR Defines: _FFR_TLS_1
Canonical name: BAPhD.gihon.org.au
a.k.a.: BAPhD
a.k.a.: BAPhD.gihon
 UUCP nodename: BAPhD.gihon.org.au
a.k.a.: BAPhD.gihon.org.au
a.k.a.: [172.16.1.1]
a.k.a.: [192.168.1.100]
a.k.a.: [IPv6:fe80::200:21ff:fed5:c670]
a.k.a.: [IPv6:fe80::205:1cff:fe01:9622]
a.k.a.: [IPv6:::1]
a.k.a.: [IPv6:fe80::1]
a.k.a.: [127.0.0.1]
a.k.a.: localhost.gihon.org.au
 Conf file: /etc/mail/sendmail.cf (selected)
  Pid file: /var/run/sendmail.pid (selected)

 SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = BAPhD
  (canonical domain name) $j = BAPhD.gihon.org.au
 (subdomain name) $m = gihon.org.au
  (node name) $k = BAPhD.gihon.org.au


Warning: .cf file is out of date: sendmail 8.12.8 supports version 10, .cf file 
is version 9
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter  
> [EMAIL PROTECTED] /etc #




---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"