f



Sendmail problems after upgrade from 8.11.1 -> 8.13.3

Hi everyone

I have upgrade our sendmail from version 8.11.1 to 8.13.3. After that I am 
facing problems with some incoming mails.

We are using special mailer called Mail Gateway (mgw). It should get all 
incoming mails addressed like this: 
<what_ever_number_token@mgw.mydomain.com> (for example the address can be: 
12345@mgw.myhost.com) should be routed to port 1234 from where mgw gets the 
mail.

My configuration works just fine with old 8.11.1 but with the 8.13.3 I 
always get "sender unknown" error when trying to send mail to this mailer 
from another server where sendmail is running. However, if I send mail from 
localhost, it works ok and mail  is forwarded to correct mailer.



In sendmail.cf I have as following settings for the mailer, here is shown 
only mgw related parts of the config:

------clip------------------------

###################################################################

### Ruleset 98 -- local part of ruleset zero (can be null) ###

###################################################################

SParseLocal=98

# This map matches local-parts of RFC2822 addresses conforming to numeric 
addresses

# accepted by Mail Gateway Receiver

Kmgw_address regex -m -a/TYPE=MGW ^\+*[0-9]+$

R$+ <@ mgw. $=w .> $@ $(mgw_address $1 $) @ $2

R$+ <@ mgw. $=w > $@ $(mgw_address $1 $) @ $2

R$+ /type=mgw<@ $=w .> $#mgw$@$R1200$:$1 @mgw.$2

R$+ /type=mgw<@ $=w > $#mgw$@$R1200$:$1 @mgw.$2



#####################################

### SMTP Mailer specification ###

#####################################

#

# relay mailer header masquerading recipient rewriting

#

SMasqRelay

R$+ $: $>MasqSMTP $1

R$+ $: $>MasqHdr $1

Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, 
L=990,

T=DNS/RFC822/SMTP,

A=TCP $h

Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, 
L=990,

T=DNS/RFC822/SMTP,

A=TCP $h

Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, 
L=990,

T=DNS/RFC822/SMTP,

A=TCP $h

Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, 
L=990,

T=DNS/RFC822/SMTP,

A=TCP $h

Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, 
L=2040,

T=DNS/RFC822/SMTP,

A=TCP $h

#

#Mail Gateway

Mmgw, P=[IPC], F=DFMPCXlms07, A=TCP $j $h

------------------------------------------------------------

Rest of the sendmail.cf configuration are default. I also have add these 
same mgw settings to submit.cf file.

This configuration was working in sendmial 8.11.1 release, but 8.13.3 
release is not working properly. I mean that everything else works, but 
incoming mgw mails not. I guess that sendmail 8.13.3 is not properly 
re-writing the local part of the address or it never reach that rule or the 
rule is somehow overdriven by other rule.

Have use sendmail -bt option to compare 8.11.1 and 8.13.3 address, but it 
seems that those sendmail version are handling incoming mails some how 
differently and cant figure out what is wrong.

I guess that by using define(�LUSER_RELAY`, �name_of_luser_relay�) in 
sendmail.mc help with the "unknown user" issue, but I guess it is not 
correct way the handel this situation.

Does anybody have some ideas what went wrong or do you have any tips how to 
resolve the problem.

Thanks in advance


Ilkka


0
ile (2)
11/23/2006 9:43:55 AM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

3 Replies
1211 Views

Similar Articles

[PageSpeed] 42

ilkka wrote:
> Hi everyone
>
> I have upgrade our sendmail from version 8.11.1 to 8.13.3.

Whats wrong with 8.13.8 ?

>
> My configuration works just fine with old 8.11.1 but with the 8.13.3 I
> always get "sender unknown" error when trying to send mail to this mailer
> from another server where sendmail is running. However, if I send mail from
> localhost, it works ok and mail  is forwarded to correct mailer.

There is a lot missing to this picture -- what is the smtp conversation
between the two sendmails that provokes the reject?

Is the error coming from sendmail or from when sendmail talks to mgw
mailer?

>
> In sendmail.cf I have as following settings for the mailer, here is shown
> only mgw related parts of the config:
>

Have you tried to properly put this into the sendmail.mc file using
LOCAL_RULE_0 and LOCAL_CONFIG?

The sendmail.cf file is part of the upgraded software -- you are using
an old file with a new sendmail and thats bound to cause issues
eventually.

Not many people are going to want to take a look at a hand hacked
sendmail.cf file to troubleshoot it.

Its a whole lot easier to look over a sendmail.mc, which shows
everybody much more of the big picture.

submit.mc/submit.cf wouldnt need it either, since the main daemon would
handle it.

> ------clip------------------------
>
> ###################################################################
>
> ### Ruleset 98 -- local part of ruleset zero (can be null) ###
>
> ###################################################################
>
> SParseLocal=98
>
> # This map matches local-parts of RFC2822 addresses conforming to numeric
> addresses
>
> # accepted by Mail Gateway Receiver
>
> Kmgw_address regex -m -a/TYPE=MGW ^\+*[0-9]+$

You are declaring a map in middle of a ruleset. I dont think thats a
great idea.

>
> R$+ <@ mgw. $=w .> $@ $(mgw_address $1 $) @ $2
>
> R$+ <@ mgw. $=w > $@ $(mgw_address $1 $) @ $2
>
> R$+ /type=mgw<@ $=w .> $#mgw$@$R1200$:$1 @mgw.$2
>
> R$+ /type=mgw<@ $=w > $#mgw$@$R1200$:$1 @mgw.$2
>
>
>
> #####################################
>
> ### SMTP Mailer specification ###
>
> #####################################
>
> #
>
> # relay mailer header masquerading recipient rewriting
>
> #
>
> SMasqRelay
>
> R$+ $: $>MasqSMTP $1
>
> R$+ $: $>MasqHdr $1
>
> Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
> L=990,
>
> T=DNS/RFC822/SMTP,
>
> A=TCP $h
>
> Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
> L=990,
>
> T=DNS/RFC822/SMTP,
>
> A=TCP $h
>
> Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
> L=990,
>
> T=DNS/RFC822/SMTP,
>
> A=TCP $h
>
> Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
> L=990,
>
> T=DNS/RFC822/SMTP,
>
> A=TCP $h
>
> Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n,
> L=2040,
>
> T=DNS/RFC822/SMTP,
>
> A=TCP $h
>
> #
>
> #Mail Gateway
>
> Mmgw, P=[IPC], F=DFMPCXlms07, A=TCP $j $h
>
> ------------------------------------------------------------


> I mean that everything else works, but
> incoming mgw mails not.

Does incoming NOT to mgw mail work?

> Have use sendmail -bt option to compare 8.11.1 and 8.13.3 address, but it
> seems that those sendmail version are handling incoming mails some how
> differently and cant figure out what is wrong.

This might shed some more light.

sendmail -Am -bs -d21.20 < smtp-conversation > sendmail-debug-out 2>&1

Where smtp-conversation is file containing an approximation of the
conversation your nonlocalhost systems do in ascii when they get the
error. You could use a packet capture like wireshark to get a better
idea of what that is, if neccessary.

You can add other debugging flags as neccessary. The above will show
you how and why if its a ruleset that causes the rejection.

0
jmaimon (679)
11/23/2006 4:37:57 PM
<jmaimon@ttec.com> wrote in message 
news:1164299877.222613.105820@j72g2000cwa.googlegroups.com...
> ilkka wrote:
>> Hi everyone
>>
>> I have upgrade our sendmail from version 8.11.1 to 8.13.3.
>
> Whats wrong with 8.13.8 ?

Well, it is not my decision, what sendmail version we are using. As far as I 
know, there is nothing wrong with 8.13.8, but first we go with 8.13.3.

>
>>
>> My configuration works just fine with old 8.11.1 but with the 8.13.3 I
>> always get "sender unknown" error when trying to send mail to this mailer
>> from another server where sendmail is running. However, if I send mail 
>> from
>> localhost, it works ok and mail  is forwarded to correct mailer.
>
> There is a lot missing to this picture -- what is the smtp conversation
> between the two sendmails that provokes the reject?
>
> Is the error coming from sendmail or from when sendmail talks to mgw
> mailer?

Error is coming from sendmail, which is the sending one.

Lets say that I have two servers: host1 and host2. My mgw is running on 
host1 and there is also sendmail 8.13.3 running. Now, if I send mail from 
host1 (for example using my own user account) to mgw, mail is routed ok by 
sendmail and received ok by the mgw. Problem is happening when sending a 
mail to mgw from host2 to host1.

>
>>
>> In sendmail.cf I have as following settings for the mailer, here is shown
>> only mgw related parts of the config:
>>
>
> Have you tried to properly put this into the sendmail.mc file using
> LOCAL_RULE_0 and LOCAL_CONFIG?
>
> The sendmail.cf file is part of the upgraded software -- you are using
> an old file with a new sendmail and thats bound to cause issues
> eventually.
>
> Not many people are going to want to take a look at a hand hacked
> sendmail.cf file to troubleshoot it.

Yes that is true. Unfortunately, there are reasons why I really cant post 
whole sendmail.mc here.

>
> Its a whole lot easier to look over a sendmail.mc, which shows
> everybody much more of the big picture.
>
> submit.mc/submit.cf wouldnt need it either, since the main daemon would
> handle it.
>
>> ------clip------------------------
>>
>> ###################################################################
>>
>> ### Ruleset 98 -- local part of ruleset zero (can be null) ###
>>
>> ###################################################################
>>
>> SParseLocal=98
>>
>> # This map matches local-parts of RFC2822 addresses conforming to numeric
>> addresses
>>
>> # accepted by Mail Gateway Receiver
>>
>> Kmgw_address regex -m -a/TYPE=MGW ^\+*[0-9]+$
>
> You are declaring a map in middle of a ruleset. I dont think thats a
> great idea.

Yep, have notice also that the map is probably the root cause for the 
problem.

>
>>
>> R$+ <@ mgw. $=w .> $@ $(mgw_address $1 $) @ $2
>>
>> R$+ <@ mgw. $=w > $@ $(mgw_address $1 $) @ $2
>>
>> R$+ /type=mgw<@ $=w .> $#mgw$@$R1200$:$1 @mgw.$2
>>
>> R$+ /type=mgw<@ $=w > $#mgw$@$R1200$:$1 @mgw.$2
>>
>>
>>
>> #####################################
>>
>> ### SMTP Mailer specification ###
>>
>> #####################################
>>
>> #
>>
>> # relay mailer header masquerading recipient rewriting
>>
>> #
>>
>> SMasqRelay
>>
>> R$+ $: $>MasqSMTP $1
>>
>> R$+ $: $>MasqHdr $1
>>
>> Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n,
>> L=990,
>>
>> T=DNS/RFC822/SMTP,
>>
>> A=TCP $h
>>
>> Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, 
>> E=\r\n,
>> L=990,
>>
>> T=DNS/RFC822/SMTP,
>>
>> A=TCP $h
>>
>> Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, 
>> E=\r\n,
>> L=990,
>>
>> T=DNS/RFC822/SMTP,
>>
>> A=TCP $h
>>
>> Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, 
>> E=\r\n,
>> L=990,
>>
>> T=DNS/RFC822/SMTP,
>>
>> A=TCP $h
>>
>> Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, 
>> E=\r\n,
>> L=2040,
>>
>> T=DNS/RFC822/SMTP,
>>
>> A=TCP $h
>>
>> #
>>
>> #Mail Gateway
>>
>> Mmgw, P=[IPC], F=DFMPCXlms07, A=TCP $j $h
>>
>> ------------------------------------------------------------
>
>
>> I mean that everything else works, but
>> incoming mgw mails not.
>
> Does incoming NOT to mgw mail work?

 Yes, other mail traffic works just fine. Only problem is this mgw, mails 
sent from outside world are not routed to this guy. Other mail users in that 
server gets mails and are able to send mails.
>
>> Have use sendmail -bt option to compare 8.11.1 and 8.13.3 address, but it
>> seems that those sendmail version are handling incoming mails some how
>> differently and cant figure out what is wrong.
>
> This might shed some more light.
>
> sendmail -Am -bs -d21.20 < smtp-conversation > sendmail-debug-out 2>&1
>
> Where smtp-conversation is file containing an approximation of the
> conversation your nonlocalhost systems do in ascii when they get the
> error. You could use a packet capture like wireshark to get a better
> idea of what that is, if neccessary.
>
> You can add other debugging flags as neccessary. The above will show
> you how and why if its a ruleset that causes the rejection.

Ok, I will try sendmail -Am... option. Already have tried sendmail -bt, but 
I didn't get much usefull information from there.

Lets take a look of SMTP conversation, if cant solve the problem by my self.

I really appreciate your help

best regards

Ilkka

> 


0
ile (2)
11/24/2006 1:30:30 PM
ilkka wrote:
> <jmaimon@ttec.com> wrote in message
>
> Lets say that I have two servers: host1 and host2. My mgw is running on
> host1 and there is also sendmail 8.13.3 running. Now, if I send mail from
> host1 (for example using my own user account) to mgw,

Different cf files

> >>
> Yes that is true. Unfortunately, there are reasons why I really cant post
> whole sendmail.mc here.

I would suggest you find a private professional instead of a public
list if your information is that sensitive.

> > sendmail -Am -bs -d21.20 < smtp-conversation > sendmail-debug-out 2>&1

> Ok, I will try sendmail -Am... option. Already have tried sendmail -bt,

They are not at all comparable.

> but
> I didn't get much usefull information from there.
> I really appreciate your help

Good luck.

0
jmaimon (679)
11/24/2006 2:00:57 PM
Reply:

Similar Artilces:

sending e-mail to oneself (w/ sendmail 8.13.8+Sun/8.13.8)
Hello everyone, I hate to ask a basic question. But I already spent two weeks. I think I have suffered enough to post a question. I have been using Solaris 9 (SPARC) for years. My sendmail.mc with older sendmail worked okay for years. Now I updated my machine to Solaris 10, which comes with a newer version of sendmail (8.13.8). I tried my old sendmail.mc (with some tweaks) but it didn't work. So, I reverted the changes I made, one by one. Finally, I used the original sendmail.mc that comes with Solaris 10. It still didn't work. The problem I'm having is that I cannot send e-mails to myself. (Mail client == Mail host) I tried: # /usr/lib/sendmail -v myself </dev/null It hangs. The mail is stored in a spool because sendmail failed to deliver. I can see it by using 'mailq' command. Eventually the e-mail is forwarded to 'root' as an undeliverable e- mail (from MAIL-DAEMON). 553 5.3.5 mailhost.my_domain.com config error: mail loops back to me (MX problem?)554 5.3.5 Local configuration error As you my suspect, I can send an e-mail to somebody else (local). // My question is: What is the correct sequence should occur when sending e-mail to oneself? How can I debug this problem? (After e-amil is submitted to a mail spool) // The newer version of sendmail now uses 'submit.cf'. I'm suspecting that sendmail puts e-mails into a spool even the e-mail doesn't need any relaying. As my understanding of sendmail is very shallow, I'...

problem sendmail sendmail-8.13.8 , aliases and LDAP
Hi guys , Im trying to connect my sendmail to my LDAP. In fact in my ldap i the following field mailLocalAddress with the e- mail of the employee ( john.dupont@mycompanie.com ) le in an other field i have rfc822MailMember which is jdupont@server1.mycompanie.com (where jdupont is the account of my employee for the server1). Now I d like to set up a sendmail server that can translate the e-mail to the rfc822MailMember address. Here is my following configuration : site.config.m4 dnl #compilation de sendmail avec support ldapdnl APPENDDEF(`confMAPDEF', `-DLDAPMAP') APPENDDEF(`confINCDIRS', `-I/apps/openldap-2.1.30/include') APPENDDEF(`confLIBSDIRS', `-L/apps/openldap-2.1.30/lib') APPENDDEF(`confLIBS', `-lldap -llber') sendmail.mc define(`confLDAP_DEFAULT_SPEC',`-h myldap.mycompanie.com ')dnl define(`ALIAS_FILE', `/etc/mail/aliases, ldap:-k "(&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))" -d "cn=bindcn,ou=sec,dc=mycompanie,dc=fr" -P "/etc/mail/ldapconnect" -M LDAP_AUTH_SIMPLE -b "dc=mycompanie,dc=fr" -v "rfc822MailMember" ')dnl so when i try to send and e mail to john.dupont with my e-amil client i have the following error "Error 5.1.1 john.dupont@mycompanie.com User unknow. I ve the following log john.dupont@mycompanie.com ... User unknown And i my ldap server i ve the following log Feb 5 13:57:59 ldapserver slapd[7702]: conn=30283 fd=27 ACC...

problem sendmail sendmail-8.13.8 , aliases and LDAP #2
Hi guys , Im trying to connect my sendmail to my LDAP. In fact in my ldap i the following field mailLocalAddress with the e- mail of the employee ( john.dupont@mycompanie.com ) le in an other field i have rfc822MailMember which is jdupont@server1.mycompanie.com (where jdupont is the account of my employee for the server1). Now I d like to set up a sendmail server that can translate the e-mail to the rfc822MailMember address. Here is my following configuration : site.config.m4 dnl #compilation de sendmail avec support ldapdnl APPENDDEF(`confMAPDEF', `-DLDAPMAP') APPENDDEF(`confINCDIRS', `-I/apps/openldap-2.1.30/include') APPENDDEF(`confLIBSDIRS', `-L/apps/openldap-2.1.30/lib') APPENDDEF(`confLIBS', `-lldap -llber') sendmail.mc define(`confLDAP_DEFAULT_SPEC',`-h myldap.mycompanie.com ')dnl define(`ALIAS_FILE', `/etc/mail/aliases, ldap:-k "(&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))" -d "cn=bindcn,ou=sec,dc=mycompanie,dc=fr" -P "/etc/mail/ldapconnect" -M LDAP_AUTH_SIMPLE -b "dc=mycompanie,dc=fr" -v "rfc822MailMember" ')dnl so when i try to send and e mail to john.dupont with my e-amil client i have the following error "Error 5.1.1 john.dupont@mycompanie.com User unknow. I ve the following log john.dupont@mycompanie.com ... User unknown And i my ldap server i ve the following log Feb 5 13:57:59 ldapserver slapd[7702]: conn=30283 fd=27 ACC...

problem sendmail sendmail-8.13.8 , aliases and LDAP request for owner
Hi, I'm trying to understand the behaviour of sendmail and ldap. In my sendmail.cf i've the following configuration O AliasFile=ldap: -v"rfc822MailMember" -k"(mailLocalAddress= %0@mycompanie.fr)" -d"cn=binduser,ou=sec,dc=mycompanie,dc=fr" -P"/etc/ mail/ldapconnect" -MLDAP_AUTH_SIMPLE when i'm sending a mail it work's but its generating 2 request on my ldap server filter="(mailLocalAddress=thomas.dolley@mycompanie.fr)" and filter="(mailLocalAddress=owner-thomas.dolley@mycompanie.fr)" you can see the log of myldap server -ACCEPT from IP=x.x.x.x :33021 (IP=0.0.0.0:389) Feb 9 15:22:43 mailserver slapd[11202]: conn=13 op=0 BIND dn="cn=binduser,ou=sec,dc=mycompanie,dc=fr" method=128 Feb 9 15:22:43 mailserver slapd[11202]: conn=13 op=0 BIND dn="cn=binduser,ou=sec,dc=mycompanie,dc=fr" mech=SIMPLE ssf=0 Feb 9 15:22:43 mailserver slapd[11202]: conn=13 op=0 RESULT tag=97 err=0 text= Feb 9 15:22:43 mailserver slapd[11203]: conn=13 op=1 SRCH base="dc=cirad,dc=fr" scope=2 filter="(mailLocalAddress=thomas.dolley@mycompanie.fr)" Feb 9 15:22:43 mailserver slapd[11203]: conn=13 op=1 SRCH attr=objectClass rfc822MailMember Feb 9 15:22:43 mailserver slapd[11203]: conn=13 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Feb 9 15:22:43 mailserver slapd[11202]: conn=13 op=2 SRCH base="dc=cirad,dc=fr" scope=2 filter="(mailLocalAddress=owner- thomas.dolley@my...

Problem with masquerading a senders' address using the /etc/mail/genericstable in sendmail 8.13.1
Hello, I have been struggling with trying to masquerade a senders' e-mail address using sendmail 8.13.1 on RedHat ES 4 (update 5). I am using the genericstable and my table looks like this: a02228 mmchugh@arrow.com a02228@localhost mmchugh@arrow.com a02228@usmlrh81.arrow.com mmchugh@arrow.com I also rebuilt the genericstable.db file via makemap hash /etc/mail/ genericstable < /etc/mail/genericstable and it worked no issue. I am trying to have any outbound mail coming from the unix user a02228 get re-written as being sent by mmchugh@arrow.com. l modified the sendmail.mc file with the following entries: MASQUERADE_AS(`arrow.com')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl MASQUERADE_DOMAIN(localhost)dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl I then make make -C /etc/mail which re-built the sendmail.cf file. This worked and I also tried the m4 rebuild which did the same thing, but I had to manually move the newly built sendmail.cf file in. I guess redhat provides the wrapper to move the file in via make. I also restarted the sendmail services so the new configuration file is read in via services sendmail restart. This too worked without error. Sendmail.cf is updated with the following information: # Generics table (mapping outgoing addresses) Kgenerics hash /etc/mail/genericstable After I do all of this, it still doesn't work. I send an e-mail on the unix / linux...

Problem Using Sendmail 8.13.3 with BerkeleyDB.4.3
Hello, I am using RedHat release 9 of Linux on a Dell Dimension 2400 box. I want to install Sendmail 8.13.3 for use as a mail server First, I downloaded and installed BerkeleyDB.4.3 Then I built and installed Sendmail. But, when I run the 'newaliases' command or try to run the Sendmail executable, I get the error message : "error while loading shared libraries : libdb-4.3.so cannot open shared object file. No such file or directory. I have checked the directory /usr/local/BerkeleyDB.4.3/lib and there IS a libdb.4.3.so executable there. Could I please get some pointers from ...

Sendmail Error (sendmail-8.13.1-2)
Hi I have followed the link http://www.madboa.com/geek/sendmail-auth/ for SMTP AUTH which was neatly explained. I am not able to send mails,I am faced with sendmail error in the maillog Jun 7 10:54:15 smpworld sendmail[9295]: k575OCRr009295: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA And one more thing in my Mail Client Log, I get 10:55:22] SMTP< 220 *************************************************************************** [10:55:22] ESMTP> EHLO unknown [10:55:23] ESMTP< 250-smpworld.com Hello h-64-122-120.12.nat.saab.com [64.236.128.14], pleased to meet you [10:55:23] ESMTP< 250-ENHANCEDSTATUSCODES [10:55:23] ESMTP< 250-PIPELINING [10:55:23] ESMTP< 250-8BITMIME [10:55:23] ESMTP< 250-SIZE [10:55:23] ESMTP< 250-DSN [10:55:23] ESMTP< 250-ETRN [10:55:23] ESMTP< 250-XXXXXXXA [10:55:23] ESMTP< 250-XXXXXXXXB [10:55:23] ESMTP< 250 XXXC [10:55:23] ESMTP> STARTTLS [10:55:24] ESMTP< 500 5.5.1 Command unrecognized: "XXXXXXXX" ** LibSylph-WARNING: [10:55:24] error occurred on SMTP session ** error occurred on SMTP session ** Sylpheed-WARNING: send: error: 500 5.5.1 Command unrecognized: "XXXXXXXX" ** LibSylph-WARNING: [10:55:24] Error occurred while sending the message. ** Error occurred while sending the message. Any Clues Thanks Kaushal ...

Problem Using Sendmail 8.13.3 with BerkeleyDB.4.3 #2
Hello, I am using RedHat release 9 of Linux on a Dell Dimension 2400 box. I want to install Sendmail 8.13.3 for use as a mail server First, I downloaded and installed BerkeleyDB.4.3 Then I built and installed Sendmail. But, when I run the 'newaliases' command or try to run the Sendmail executable, I get the error message : "error while loading shared libraries : libdb-4.3.so cannot open shared object file. No such file or directory. I have checked the directory /usr/local/BerkeleyDB.4.3/lib and there IS a libdb.4.3.so executable there. Could I please get some pointers from ...

sendmail 8.8.8 antispam
Hi, I have implemented the HACK/check features for sendmail8, i.e. it relays to other domains and unresolvable IP addresses, and does not filter the sender address. The mc file: divert(0)dnl VERSIONID(`@(#)main-v7sun.mc 1.2 (Sun) 01/27/98') OSTYPE(solaris2.ml)dnl DOMAIN(solaris-generic)dnl MAILER(local)dnl MAILER(smtp)dnl FEATURE(`mailertable', `dbm -o /etc/mail/mailertable')dnl HACK(use_names, `/etc/mail/LocalNames') HACK(use_relayto, `/etc/mail/RelayTo') HACK(check_rcpt4) HACK(check_mail3, `dbm -o /etc/mail/junk') HACK(check_relay3, `dbm -o /etc/mail/junk') ...

Query on source routing in sendmail 8.11 and 8.13 which no longer works
Hi Sendmail folks, >From my understanding, source-route addressing no longer works from sendmail-8.11 onwards. So, although we have O DontPruneRoutes=True being set which says sendmail to not to prune source routes, but from my knowledge it doesn't impacts the source routes being intended. From the further analysis on this, I found that mailertable feature which is a way forward is the right replacement for this source routing address. But, could you please let me know if this DontPruneRoutes option is deprecated as we have mailertable ahead .Or if not, am I missing something (or) its an unknown bug existing on the sendmail releases. From the ruleset difference in sendmail.cf file from the previous releases,I noticed that from sendmail-8.11 onwards we have following ruleset, # strip route address <@a,@b,@c:user@d> -> <user@d> R@ $+ , $+ $2 R@ [ $* ] : $+ $2 R@ $+ : $+ $2 which strips the route address. But on the previous releases we have we have following ruleset , # localize and dispose of route-based addresses R@ $+ : $+ $@ $>96 < @$1 > : $2 handle <route-addr> which is now missing from sendmail-8.11 onwards. And from the initial code analysis, I think there is not much difference in processing this option between these releases. Do please let me know your views on this. Please let me know if I am missing some trivail thing that I shouldn&...

GCC 3.3.3 and Ruby 1.8.0 and 1.8.1
We recently upgraded to GCC 3.3.3 and now we can no longer compile ruby due to its use of some obsoleted constructs. Apparently GCC no longer supports <varargs.h>, and code should be revised to use <stdarg.h> Not knowing anything about it, is there a good workaround? Will this be changed in future versions of Ruby so that it will play nice with the latest GCC? gcc -fPIC -g -O2 -fPIC -mpa-risc-2-0 -I. -I/home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/compiled-1.8.0 -I/home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0 -I/home/kgr/work/actruby/build/hpux11.0...

relay problem in sendmail-8.13.1 (FC3)
Hi Folks, Sorry to bother you with what must be something obvious that I'm missing; I'm really stuck, though. I've got sendmail configured to reject relaying except for mail from a small list of allowed IPs in /etc/mail/access. If I try to relay mail through the server from another IP address, the mail is blocked correctly. If I try to send email myself from my machine, through the server, to anywhere (with my IP listed in the access file,) everything works great. Also as expected: If an email arrives from another mail server using an IP *not* listed in the access list, * email destined for a valid local account is handled correctly (delivered.) * email destined for a non-existent local account is handled correctly (bounced.) So, generally speaking, everything pretty-much works as expected. Here's the problem: If an email arrives which is * from an IP *not* listed in the access file, * with the first TO address for a valid local account, * with more TO addresses *not* for local accounts (ie: relaying to external servers,) log files show that the initial local address is properly handled, but the remaining TO addresses are relayed! Some emails (always from spammers,) arrive for one local account and dozens of additional external addresses. The mail server: - handles mail for a dozen or so domains, - sendmail.mc contains pretty much the standard Redhat Fedora stuff (FC3) - with just about every anti-spam option turned on. - ClamAV and Spam...

After 8.13.1 upgrade sendmail queues too much!
My users are having significant delays, and sendmail is queueing way more than it used to. I am running mimedefang, but have not touched that in a while. Any tweaks? I went from 8.12.11 to 8.13.1 and then the problems started. Here is what it looks like in the mail log: [root@mailserver2 cf]# grep i8NG5lro031451 /var/log/maillog Sep 23 12:05:47 mailserver2 sendmail[31451]: i8NG5lro031451: Milter (mimedefang): init success to negotiate Sep 23 12:05:47 mailserver2 sendmail[31451]: i8NG5lro031451: Milter: connect to filters Sep 23 12:05:47 mailserver2 sendmail[31451]: i8NG5lro031451: from=<...

sendmail 8.13.8 it delivers on /var/spool/mqueue but .... AIX 5.3
I have install the sendmail 8.13.8 and what i have problem is that the deliveries remains forever on /var/spool/mqueue. I have tried with both procmail and bellmail but still wont deliver. Any body has experienced this problem. here is my sendmail.mc divert(0)dnl DOMAIN(`generic')dnl OSTYPE(aix5)dnl FEATURE(genericstable)dnl FEATURE(mailertable)dnl FEATURE(virtusertable)dnl ... ... define(`LOCAL_MAILER_PATH', `/usr/bin/bellmail') MAILER(local)dnl MAILER(smtp)dnl In article <1156861626.671126.7540@i3g2000cwc.googlegroups.com> "sf00729@gmail.com" <sf00729@gmail.com> writes: >I have install the sendmail 8.13.8 and what i have problem is that the >deliveries remains forever on /var/spool/mqueue. >I have tried with both procmail and bellmail but still wont deliver. What does the log say? A semi-common cause of deliverable (in particular locally deliverable) mail not being delivered is that sendmail thinks the load average of the system is too high do do anything other than queue the mail - from cf/README: confQUEUE_LA QueueLA [varies] Load average at which queue-only function kicks in. Default values is (8 * numproc) where numproc is the number of processors online (if that can be determined). --Per Hedeland per@hedeland.org ...

relay problem in sendmail-8.13.1 (FC3) #2
(Sorry, Resending to correct the news reader setup.) Hi Folks, Sorry to bother you with what must be something obvious that I'm missing; I'm really stuck, though. I've got sendmail configured to reject relaying except for mail from a small list of allowed IPs in /etc/mail/access. If I try to relay mail through the server from another IP address, the mail is blocked correctly. If I try to send email myself from my machine, through the server, to anywhere (with my IP listed in the access file,) everything works great. Also as expected: If an email arrives from another mail server using an IP *not* listed in the access list, * email destined for a valid local account is handled correctly (delivered.) * email destined for a non-existent local account is handled correctly (bounced.) So, generally speaking, everything pretty-much works as expected. Here's the problem: If an email arrives which is * from an IP *not* listed in the access file, * with the first TO address for a valid local account, * with more TO addresses *not* for local accounts (ie: relaying to external servers,) log files show that the initial local address is properly handled, but the remaining TO addresses are relayed! Some emails (always from spammers,) arrive for one local account and dozens of additional external addresses. The mail server: - handles mail for a dozen or so domains, - sendmail.mc contains pretty much the standard Redhat Fedora stuff (FC3) - with just abou...

sendmail 8.14.1 send mail authorization problem
I've got problem with sending mail via sendmail 8.14.1 on Fedora. Normaly I can send email to any server from access list, but I want to send it to all servers using send mail authorization. I put this lines to sendmail.mc: TRUST_AUTH_MECH(`LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl also: TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl As I said without this lines I can send emails to servers from access list. With this lines I cannot send anything. During authorization (with this linev above) server requests for password, I use the same as for reading mail via pop3, unfortunately it doesn't work, even if I try to send email to myself. There is no info in logs :( m4, makemap and restart works.. cyrus-sasl is installed. I've tried to put into /usr/lib/sasl2/Sendmail.conf this lines: pwcheck_method:saslauthd pwcheck_method:pam pwcheck_method:shadow pwcheck_method:passwd and nothing. /etc/pam.d/smtp looks like this: #%PAM-1.0 auth include system-auth account include system-auth telnet shows:: telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 x.pl ESMTP Sendmail 8.14.1/8.14.1; Mon, 25 Jun 2007 19:43:30 +0200 ehlo localhost 250-x.pl Hello x.pl [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250...

Sendmail 8.14.3 not sendmail hugely attached e-mail files in a timely manner
What could be the problem. They seem stuck and I have to run sendmail -v -q manually just to get them to propogate. Any reason why? -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! If you cannot lead a family how can you pastor a church? The Doctor unleashed the infinite monkeys on 21/05/2009 00:07 producing: > What could be the problem. > > They seem stuck and I have to run sendmail -v -q manually just > to get them to propogate. > > Any reason why? With so little information, it's impossible to help you. How do you define "huge"? How long do you wait? What's in your mail logs? -- Rob MacGregor (BOFH) Rule 37: "There is no 'overkill'. There is only 'open fire' and 'I need to reload.'" ...

sendmail 8.13.8 available
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sendmail, Inc., and the Sendmail Consortium announce the availability of sendmail 8.13.8. It fixes some problems introduced in 8.13.7, as well as some other bugs. For a complete list of changes see the release notes down below. Remember to check the PGP signatures releases obtained via FTP or HTTP. Please send bug reports and general feedback to one of the addresses listed at: http://www.sendmail.org/email-addresses.html The version can be found at: ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.13.8.tar.gz ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.13.8.tar.gz.sig ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.13.8.tar.Z ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.13.8.tar.Z.sig MD5 signatures: 3607b2a33a1b060bba5d0fc27aaf87c5 sendmail.8.13.8.tar.Z 4bb40aab3465ec0a83f92fe11ce2de55 sendmail.8.13.8.tar.Z.sig 5f29c94b42e0bb74d546b2ae84203a1e sendmail.8.13.8.tar.gz e4fca2afb92ba70a5c78bdfcd6720501 sendmail.8.13.8.tar.gz.sig You either need the first two files or the third and fourth, i.e., the gzip'ed version or the compressed version and the corresponding sig file. The PGP signature was created using the Sendmail Signing Key/2006, available on the web site (http://www.sendmail.org/) or on the public key servers. Since sendmail 8.11 and later includes hooks to cryptography, the following information from OpenSSL applies to sendmail as well. PLEASE REMEMBER THAT EXPORT/IMPORT AND/OR USE OF STRONG CRYPTOGRAPH...

solaris 8 with sendmail-8.12.8 , smart-relay problem , please help
My Server is SUN V120 , OS : solaris 8 with sendmail-8.12.8 My smart-relay is set with DStest.xyz.com, If i telnet to V120 , use mailx to send mail , The Smart-relay is ok sendmail log is Dec 19 16:59:08 mail2 sendmail[25117]: [ID 801593 mail.info] kBJ8x7Nb025117: from=root, size=38566, class=0, nrcpts=1, msgid=<200612190859.kBJ8x7Nb025117@mail2.xyz.com>, relay=root@localhost Dec 19 16:59:08 mail2 sendmail[25117]: [ID 801593 mail.info] kBJ8x7Nb025117: to=wenshinc@gmail.com, ctladdr=root (0/1), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30052, relay=bf.xyz.com.tw. [192.168.10.3], dsn=2.0.0, stat=Sent (kBJ93eCh006508 Message accepted for delivery) But , if I use outlook or outlook express to send mail . The Smart-relay isn't work sendmail log is Dec 19 17:02:04 mail2 sendmail[25225]: [ID 801593 mail.info] kBJ924bA025225: from=<root@mail2.xyz.com>, size=1094, class=0, nrcpts=1, msgid=<017301c7234e$a8c0fe30$1614a8c0@xyz.com>, proto=ESMTP, daemon=MTA, relay=[192.168.20.22] Dec 19 17:02:04 mail2 sendmail[25228]: [ID 801593 mail.info] kBJ924bA025225: to=<max@gmail.com>, ctladdr=<root@mail2.xyz.com> (0/1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31321, dsn=2.0.0, stat=Sent My Sendmail.cf is # # Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights re...

Oracle Upgrade problem : from 8.1.6 to 8.1.7
According the documentation from Metalink, the following files are required for the Oracle Upgrade from 8.1.6 to 8.1.7 : u0801060.sql c0801060.sql a0801060.sql i0801060.sql utlip.sql However, after install 8.1.7, I could only find 4 of them, but no i0801060.sql. I still did the upgrade by executing the script : u0801060.sql but recursive errors appeared and I knew that the reason was the missing of i0801060.sql. Can anybody tell me where can I get the file : i0801060.sql for Oracle Upgrade ? ...

Upgrading: Sendmail 8.13.0prealpha, Berkeley DB 4.1.25
Hi all I'm stuck here... I've a habit of testing the current versions on my workstation so I know what to expect when the time comes to throw them into production. I'm using Debian Linux 3.0, fully patched. I've had Sendmail 8.13.0prealpha4 running for a while. For various reasons, I wanted to upgrade to Berkeley DB 4.1.25, but I can't get the daemon to run (the queue runner goes just fine) any more. I'd love some help to figure out what I've missed. First up, I compiled Berkeley DB, then Cyrus-SASL (specifying the new Berkeley DB), then Sendmail. My site....

sendmail 8.12.11 on Redhat EL 3.0 problem with aliases
Hi guys I have a small issue with sendmail 8.12.11 on Redhat Enterprise Linux 3.0 which I need your help for. Probably I'm overlooking something simple... The machine running sendmail is acting as a client only, should run a local sendmail, accept locally submitted email and pass everything on to a smarthost. When I send email to olemic-at-telia.dk, it works: (@ signs changed to avoid spam) Jan 25 16:24:12 helene sendmail[4359]: k0PFOCV7004359: from=olemic, size=23, class=0, nrcpts=1, msgid=<200601251524.k0PFOCV7004359@helene.intra.telia.dk>, relay=olemic@localhost Jan 25 16:24:12 helene sendmail[4359]: k0PFOCV7004359: to=olemic-at-telia.dk, ctladdr=olemic (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=beryl.intra.telia.dk. [10.17.4.6], dsn=2.0.0, stat=Sent (k0PFOCD28395 Message accepted for delivery) When I ask it what it would do for email to root, it says [olemic@helene mail]$ sudo sendmail -d60.1 -bv root map_lookup(dequote, olemic) => NOT FOUND (0) map_lookup(dequote, root) => NOT FOUND (0) map_lookup(host, telia.dk) => telia.dk. (0) team-linux@telia.dk... deliverable: mailer esmtp, host mail-igw.intra.telia.dk, user team-linux-at-telia.dk [olemic@helene mail]$ which is what I want it to do. There is a line for root in /etc/aliases pointing to team-linux-at-telia.dk, and the smarthost is esmtp:mail-igw.intra.telia.dk. But when I actually do send email to root, the alias is not expanded: Jan 25 16:26:06 helene s...

"New" access map problem with sendmail 8.13.1, but why?
I have an automated process that generates mail that gets forwarded through SBC/Yahoo! smtp servers all day long, every day. Up until about mid-day Thursday (23 June 2005), it worked flawlessly. Then it stopped working. Several other subscribers reported some transient flakiness at about that time, so I suspect servers/software got swapped around. But ... SBC/Yahoo! servers require authentication, which I had handled before with a line in my access map as follows: AuthInfo:yahoo.com "U:userid@network.net" "P:whatever" "M:LOGIN PLAIN" Like I said, flawless until Thursday. Then EHLO myservername 250-smtpXXX.sbc.mail.YYY.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250 8BITMIME MAIL From:<blah blah blah> What happened to the AUTH step? My server just decides to skip authenticating (!?), so obviously relaying fails. (BTW, the Yahoo! server name can be all over the place each time. It appears to be DNS aliased in a round-robin fashion. XXX above is a number. YYY can be just about anything.) If I change the access map to ... AuthInfo: "U:userid@network.net" "P:whatever" "M:LOGIN PLAIN" .... then it works fine through Yahoo!, but I send mail more ways than just through the Yahoo! smtp servers. I don't want to send my Yahoo! username and password everywhere. So why would sendmail 8.13.1 stop authenticating itself? FWIW, I tried the good old restart-the-service and refresh-the-binari...

Sendmail 8.13.1
O/S: Red Hat Enterprise Linux ES Release 3 (Taroon Update 4) Sendmail: 8.13.1 I believe I have discovered a bug in sendmail, related to running programs through the aliases file. We currently allow users to set up forwarding addresses and the vacation program using .forward files. This works great. However, we would like to move to a database driven system, and want to move these .forward entries into the /etc/mail/aliases file. I have added entries such as the following into our /etc/mail/aliases file: user1: |"/usr/bin/vacation user1",user1 user2: |"/usr/bin...

FreeBSD-5.3 sendmail-8.13.5 Build/Compile problems
Hello I'm using sendmail-8.13.5 with FreeBSD 5.3 (i386 on a PC). Following various docs, the READMEs, Bryan Costales sendmail "bat book", Craig Hunt's sendmail cookbook, etc, I'm trying to Build/configure sendmail starting out with the generic-bsd4.4.mc file which comes with the distribution. Logged in as root, if I copy the generic-bsd4.4.mc file into the devtools/Site directory and rename as site.config.m4 I can cd to /usr/local/src/sendmail-8.13.5 and run './Build -c' and it all runs fine, but I need to make some changes to configure sendmail for my site. The generic-bsd4.4.mc file contains (omitting commented lines): divert(-1) divert(0)dnl VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl MAILER(local)dnl MAILER(smtp)dnl To use the file 'local-host-names' in /etc/mail I change the generic to: divert(-1) divert(0)dnl VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl FEATURE(use_cw_file)dnl MAILER(local)dnl MAILER(smtp)dnl - i.e. adding the one line 'FEATURE(use_cw_file)dnl' When I run './Build -c' with that one change I get: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Making all in: /usr/local/src/sendmail-8.13.5/libsm Configuration: pfx=, os=FreeBSD, rel=5.3-RELEASE, rbase=5, rroot=5.3-RELEASE, arch=i386, sfx=, variant=optimized Clearing out existing /usr/local/src/sendmail-8.13.5/obj...

Web resources about - Sendmail problems after upgrade from 8.11.1 -> 8.13.3 - comp.mail.sendmail

Open Source - Sendmail.com
Sendmail partners include a host of leading companies who share a proven track record of developing and delivering complimentary email products ...

Sendmail - Wikipedia, the free encyclopedia
This article is about the mail transfer agent. For the company, see Sendmail, Inc. . Sendmail is a general purpose internetwork email routing ...

Companies mobilize to patch Sendmail
... has security experts and software companies moving quickly to convince customers to apply a patch. A critical vulnerability in Sendmail, the ...

Sendmail hit by data interception flaw
Internet security researchers have discovered a serious flaw in versions of the widely-used Sendmail open-source e-mail software. The flaw could ...

Sendmail Adds Calendaring, Scheduling
E-mail server software developer Sendmail Inc. is branching out into groupware with the addition of its Calendar Server.


Sendmail Launches 'Rogue Email Application Control' Appliance
Sendmail this week announced the release of the Sentrion Rogue Email Application Control (REAC) appliance, a new offering designed to address ...

Another vulnerability found in Sendmail
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners . You can withdraw ...

Sendmail Hit by Data Interception Flaw - Slashdot
FreeBSD also has details in their security notification. Those guys are fast - if you want to have up to date info on security vulns., FreeBSD ...

Email Offline At the Home of Sendmail 179
... "The UC Berkeley email system has been either offline, or only providing limited access, for more than a week. How can the place where sendmail ...

Resources last updated: 3/25/2016 5:24:07 AM