Re: what's your LMTP use-case

2019-07-05 Thread Vijay Sankar



Quoting Gilles Chehade :


helo,

this is just a question out of curiosity

I know plenty of people use the lmtp action to deliver mail through LMTP
and I'm genuinely curious: what is your use-case ?

Why do you deliver to LMTP ?

--
Gilles Chehade @poolpOrg

https://www.poolp.orgpatreon: https://www.patreon.com/gilles

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org


My mail server is internal (OpenBSD 6.4+dovecot+OpenSMTPd) and gets  
mail from an MX (OpenSMTPd). With SMTP, I used to get failures even if  
I had one invalid recipient. So I use LMTP since email to multiple  
recipients works more smoothly.


Thanks very much Gilles for all your detailed answers.

Vijay
--
ForeTell Technologies Limited
59 Flamingo Avenue
Winnipeg, MB, Canada
R3J 0X6


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



mail.lmtp: net: service not supported by ai_socktype

2018-07-16 Thread Vijay Sankar



I am trying to upgrade my old mail server which is using OpenSMTPD,  
Dovecot etc., to one running -current.


So I am trying to use the new grammar and almost everything works  
great, but having problems with LMTP.


If I try:

action "lmtp-local" lmtp "unix:/var/dovecot/lmtp"
match from any for domain foretell.ca action "lmtp-local"

I get the following error in /var/log/maillog

Jul 16 20:16:08 server10 smtpd[96427]:  mda  
event=delivery evpid=fd06d20741a44021 from=  
to= rcpt= user=vijay delay=6m  
result=TempFail stat=Error ("mail.lmtp: inet: service not supported  
for ai_socktype")


Not sure how to troubleshoot this. smtpd -v does not show any syntax  
errors in smtpd.conf. The test server is listening on tcp ports 25 and  
587.


Please let me know what I could be doing wrong or if there is any  
additional info I could provide.


Thanks very much,

Vijay



Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: SMTP server does not support authentication

2018-07-12 Thread Vijay Sankar



> On Jul 12, 2018, at 07:03, Teno Deuter  wrote:
> 
> if I declare
> 
> $config['smtp_port'] = 587;
> 
> when trying to send an email from roundcube I get:
> 
> ERROR: Connection refused (61)
> 
> ERROR: Failed to connect socket: Connection refused ()
> 
> Connection failed: Failed to connect socket: Connection refused
> 
>> On Thu, Jul 12, 2018 at 1:36 PM, Reio Remma  wrote:
>> Hello!
>> 
>> Did you try using the submission port (587) in Roundcube?
>> 
>> You probably won't want to enforce auth on port 25 because that's used
>> mostly for incoming mail.
>> 
>> Good luck,
>> Reio
>> 
>>> On 12.07.2018 10:52, Teno Deuter wrote:
>>> 
>>> Dear all,
>>> 
>>> I have following configuration:
>>> 
>>> openbsd 6.3
>>> opensmtpd
>>> dovecot 2.2.34
>>> roundcubemail 1.3.5
>>> httpd web server
>>> 
>>> here is my roundcube config file:
>>> 
>>> $config['default_host'] = '127.0.0.1';
>>> $config['smtp_server'] = '127.0.0.1';
>>> $config['smtp_port'] = 25;
>>> $config['smtp_user'] = '%u';
>>> $config['smtp_pass'] = '%p';
>>> 
>>> my opensmtpd.conf file has following settings:
>>> 
>>> listen on $egress_int pki server.pki tls-require auth hostname [domain]
>>> listen on $egress_int pki server.pki port 587 tls-require auth hostname
>>> [domain]
>>> listen on $egress_int pki server.pki smtps auth hostname [domain]
>>> 
>>> when trying to send an email from roundcube I get:
>>> 
>>> ERROR: SMTP server does not support authentication ()
>>> 
>>> How can I enable AUTH?
>>> 
>>> Thank you
>>> 
>> 
>> 
>> --
>> You received this mail because you are subscribed to misc@opensmtpd.org
>> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>> 
> 
> -- 
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Are you listening on local host? 

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: smtp-out constantly enabling and disabling routes

2018-06-06 Thread Vijay Sankar


Quoting Vijay Sankar :

> Quoting lvdd :
> 
>> Hi,
>> 
>>> On 06.06.2018 17:40, Vijay Sankar wrote:
>>> Hi,
>>> 
>>> Wondering if someone can help me with this (this is on OpenBSD 6.2; not 
>>> -current or 6.3)
>>> 
>>> I get the following type of messages constantly in /var/log/maillog
>>> 
>>> Jun  6 10:33:34 server1 smtpd[28001]: smtp-out: Enabling route [] <-> 
>>> 188.130.133.7 (188.130.133.7)
>>> Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta event=connecting 
>>> address=smtp+tls://188.130.133.34:25 host=188.130.133.34
>>> Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta event=error 
>>> reason=IO Error: Connection refused
>>> Jun  6 10:33:35 server1 smtpd[28001]: smtp-out: Disabling route [] <-> 
>>> 188.130.133.34 (188.130.133.34) for 15s
>>> 
>>> Looked into /var/spool/smtpd and there were no messages with the id 
>>> 06bb61896ae727a9 in any of the directories there.
>>> 
>>> Restarted the server but the message still continues.
>>> 
>>> smtpctl show message 06bb61896ae727a9 does not find the file.
>>> 
>>> What can I do to remove this message delivery attempt? Please let me know.
>> 
>> This is pretty annoying as the normal smtpctl commands do not remove the 
>> message from the queue. I have this situation when somebody sends mails to 
>> aol.de. For some reason they deny my messages and I have the mail stuck in 
>> my queue unless I do the following procedure.
>> 
>> What does smtpctl show queue give you?
>> 
>> However, everytime I run into a situation like this I have to do the 
>> following to reliably remove a message from the queue. BTW: I am on OpenBSD 
>> 6.3
>> 
>> 1 - stop smtpd with rcctl stop smtpd
>> 2 - start smtpd from the commandline with the -P option to pause all 
>> subsystems - smtpctl -f -P mda -P mta -P smtp
>> 3 -look into the queue to identify the message that is stuck - smtpctl show 
>> queue
>> 4 - remove the message with - smtpctl remove 
>> 5 - when the message is removed from the queue, stop the running smtpd 
>> process from commandline and restart the regular smtpd with - rcctl start 
>> smtpd
>> 
>> The message should now be gone and those message should be gone as well. For 
>> whatever reason you cannot remove the message with smtpctl remove in a 
>> running smtpd. It just stays in the queue whatever you do. Only the 
>> described procedure above helps me to reliably remove it.
>> 
>> Hope it helps
>> 
>> Lars
>> 
>> 
>> 
>> -- 
>> You received this mail because you are subscribed to misc@opensmtpd.org
>> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
> 
> Thank you so much. I will try this tonight when I get home and update you and 
> the list if I can add anything meaningful. If not, thanks again and I really 
> appreciate your help.
> 
> Vijay
> 
> 
> Vijay Sankar, M.Eng., P.Eng.
> ForeTell Technologies Limited
> vsan...@foretell.ca
> 
> 
> -- 
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Unfortunately the commands I tried from your email did not work on my 6.2 
installation. I will upgrade to 6.3 -stable soon.

In the meantime, I tried the following:

smtpctl pause smtp
smtpctl pause mta
smtpctl pause mda

Again searched the queue directory tree but could not find the messages. mailq 
did not show any queued messages. Every directory in /var/spool/smtpd/queue/* 
was 2.0K and did not contain any subdirectories.

So I then went through the code in /usr/src/sbin/smtpd*. It is very elegant so 
I got side tracked from my initial objective. However, I could not figure out a 
good solution for my problem.

Just so that I don't waste any more developer time or anyone else reading this 
list, I am planning to do the following:

/etc/rc.d/smtpd stop
rm -rf /var/spool/smtpd/*
/etc/rc.d/smtpd start

I think that should resolve my issue. If not I will update of course.

Thanks again,

Vijay



--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: smtp-out constantly enabling and disabling routes

2018-06-06 Thread Vijay Sankar



Quoting lvdd :


Hi,

On 06.06.2018 17:40, Vijay Sankar wrote:

Hi,

Wondering if someone can help me with this (this is on OpenBSD 6.2;  
not -current or 6.3)


I get the following type of messages constantly in /var/log/maillog

Jun  6 10:33:34 server1 smtpd[28001]: smtp-out: Enabling route []  
<-> 188.130.133.7 (188.130.133.7)
Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta  
event=connecting address=smtp+tls://188.130.133.34:25  
host=188.130.133.34
Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta  
event=error reason=IO Error: Connection refused
Jun  6 10:33:35 server1 smtpd[28001]: smtp-out: Disabling route []  
<-> 188.130.133.34 (188.130.133.34) for 15s


Looked into /var/spool/smtpd and there were no messages with the id  
06bb61896ae727a9 in any of the directories there.


Restarted the server but the message still continues.

smtpctl show message 06bb61896ae727a9 does not find the file.

What can I do to remove this message delivery attempt? Please let me know.



This is pretty annoying as the normal smtpctl commands do not remove  
the message from the queue. I have this situation when somebody  
sends mails to aol.de. For some reason they deny my messages and I  
have the mail stuck in my queue unless I do the following procedure.


What does smtpctl show queue give you?

However, everytime I run into a situation like this I have to do the  
following to reliably remove a message from the queue. BTW: I am on  
OpenBSD 6.3


1 - stop smtpd with rcctl stop smtpd
2 - start smtpd from the commandline with the -P option to pause all  
subsystems - smtpctl -f -P mda -P mta -P smtp
3 -look into the queue to identify the message that is stuck -  
smtpctl show queue

4 - remove the message with - smtpctl remove 
5 - when the message is removed from the queue, stop the running  
smtpd process from commandline and restart the regular smtpd with -  
rcctl start smtpd


The message should now be gone and those message should be gone as  
well. For whatever reason you cannot remove the message with smtpctl  
remove in a running smtpd. It just stays in the queue whatever you  
do. Only the described procedure above helps me to reliably remove it.


Hope it helps

Lars



--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org


Thank you so much. I will try this tonight when I get home and update  
you and the list if I can add anything meaningful. If not, thanks  
again and I really appreciate your help.


Vijay


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



smtp-out constantly enabling and disabling routes

2018-06-06 Thread Vijay Sankar

Hi,

Wondering if someone can help me with this (this is on OpenBSD 6.2;  
not -current or 6.3)


I get the following type of messages constantly in /var/log/maillog

Jun  6 10:33:34 server1 smtpd[28001]: smtp-out: Enabling route [] <->  
188.130.133.7 (188.130.133.7)
Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta  
event=connecting address=smtp+tls://188.130.133.34:25  
host=188.130.133.34
Jun  6 10:33:35 server1 smtpd[28001]: 06bb61896ae727a9 mta event=error  
reason=IO Error: Connection refused
Jun  6 10:33:35 server1 smtpd[28001]: smtp-out: Disabling route [] <->  
188.130.133.34 (188.130.133.34) for 15s


Looked into /var/spool/smtpd and there were no messages with the id  
06bb61896ae727a9 in any of the directories there.


Restarted the server but the message still continues.

smtpctl show message 06bb61896ae727a9 does not find the file.

What can I do to remove this message delivery attempt? Please let me know.

Thanks,

Vijay


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-02 Thread Vijay Sankar

Hi Reio,

It may be better to continue this discussion on the list. That will  
allow people more knowledgeable than I to help you out.


Re. configuration, I actually use the defaults. Amavisd and OpenSMTPD  
always use SMTP in my case. Re. versions, it is just OpenBSD 6.1  
-stable.


Vijay

Quoting Reio Remma <r...@mrstuudio.ee>:


Hey, best not spam Edgar anymore. :)

I gathered that from my logs then moment I sent the mail. :)

Would you mind showing me your amavisd config? What versions of  
amavisd and OpenSMTPD are you using?


What transfer method is used between OpenSMTPD and amavisd (both ways)?

My OpenSMTPD sends mails to amavisd via LMTP and then gets it back via SMTP.

Thanks,
Reio

On 02.04.2018 19:41, Vijay Sankar wrote:
Also, just an FYI that I received two copies of your email that you  
sent at 11:23:24 Central Daylight Time. Part of the header that  
shows timestamps below:


SECOND COPY seven minutes later.

Received: from fw1.foretell.ca ([127.0.0.1])
by localhost (server3.foretell.ca [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id U2XLc_RhdFOs for <vsan...@foretell.ca>;
Mon,  2 Apr 2018 11:30:29 -0500 (CDT)
Received: from orc.mrstuudio.ee (orc.mrstuudio.ee [87.119.172.175])
by fw1.foretell.ca (OpenSMTPD) with ESMTPS id c5918644  
(TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO)

for <vsan...@foretell.ca>;
Mon, 2 Apr 2018 11:30:11 -0500 (CDT)

FIRST MESSAGE

Received: from fw1.foretell.ca ([127.0.0.1])
by localhost (server3.foretell.ca [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Im4I4JRgOGsJ for <vsan...@foretell.ca>;
Mon,  2 Apr 2018 11:23:34 -0500 (CDT)
Received: from orc.mrstuudio.ee (orc.mrstuudio.ee [87.119.172.175])
by fw1.foretell.ca (OpenSMTPD) with ESMTPS id f872ad50  
(TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO)

for <vsan...@foretell.ca>;
Mon, 2 Apr 2018 11:23:34 -0500 (CDT)

Quoting Vijay Sankar <vsan...@foretell.ca>:


Yes, that was the best way for me to make it work.

I found the OpenSMTPD presentation at BSDCAN 2016 to be quite  
helpful. But I kept screwing up the configuration repeatedly.  
Having separate servers for MX ended up being simpler. Actually I  
have two mail exchangers (with two different ISPs) and one mail  
server.


Vijay

Quoting Reio Remma <r...@mrstuudio.ee>:

Hello, do I understand right, that you have 2 machines and  
Amavisd in the 1st machine gets mail from the 1st machine's  
OpenSMTPD and then sends the processed mail to the 2nd machine?


Thanks!
Reio





--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Problem with OpenSMTPD/Amavisd and mails with multiple recipients.

2018-04-02 Thread Vijay Sankar
d[3363]:  mda event=delivery
evpid=ff083fd626620393 from=<per...@sender.org>
to=<recipie...@example.org> user=recipient2_example.org method=lmtp
delay=0s result=Ok stat=Delivered
Apr  2 15:27:36 host dovecot: lmtp(recipie...@example.org):
msgid=<f24104b0-b461-4ab0-7778-b06e37975...@sender.org>: saved  
mail to INBOX

Apr  2 15:27:36 host dovecot: lmtp(4136): Disconnect from local: Client
has quit the connection (state = READY)
Apr  2 15:27:36 host smtpd[3363]:  mda event=delivery
evpid=ff083fd6e2c78bfd from=<per...@sender.org>
to=<recipie...@example.org> user=recipient1_example.org method=lmtp
delay=0s result=Ok stat=Delivered
Apr  2 15:27:45 host smtpd[3363]: a1ee25494b874d98 smtp event=closed
address=192.168.1.4 host=sender.example.org reason=quit


Sender:
b7cd2df5d9ca94ec|inet4|mta|auth|per...@sender.org|recipie...@example.org|recipie...@example.org|1522673542|1523019142|0|1|pending|353|Remote
host sent too much data
Recipient:
754dc784cae717d2|inet4|mta||per...@sender.org|recipie...@example.org|recipie...@example.org|1522673543|1523019143|0|1|pending|340|Remote
host sent too much data


Apr  2 15:34:14 host smtpd[3363]: a1ee256e785cc841 smtp event=connected
address=192.168.1.4 host=sender.example.org
Apr  2 15:34:14 host smtpd[3363]: a1ee256e785cc841 smtp event=starttls
address=192.168.1.4 host=sender.example.org ciphers="version=TLSv1.2,
cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256"
Apr  2 15:34:14 host smtpd[3363]: a1ee256e785cc841 smtp event=message
address=192.168.1.4 host=sender.example.org msgid=e245a476
from=<per...@sender.org> to=<recipie...@example.org> size=2004 ndest=1
proto=ESMTP
Apr  2 15:34:14 host smtpd[3363]: a1ee2571543ee07d mta event=connecting
address=lmtp://127.0.0.1:10024 host=localhost
Apr  2 15:34:14 host smtpd[3363]: a1ee2571543ee07d mta event=connected
Apr  2 15:34:15 host smtpd[3363]: a1ee2572eadf1ee6 smtp event=connected
address=127.0.0.1 host=localhost
Apr  2 15:34:15 host smtpd[3363]: a1ee2572eadf1ee6 smtp event=message
address=127.0.0.1 host=localhost msgid=9d4bd574 from=<per...@sender.org>
to=<recipie...@example.org> size=2504 ndest=1 proto=ESMTP
Apr  2 15:34:15 host amavis[3624]: (03624-16) Passed CLEAN
{RelayedInbound}, [127.0.0.1] <per...@sender.org> ->
<recipie...@example.org>, Message-ID:
<f24104b0-b461-4ab0-7778-b06e37975...@sender.org>, mail_id:
V6N9QkDUiUdB, Hits: -2.926, size: 2043, queued_as: 250 2.0.0: 9d4bd574
Message accepted for delivery, 580 ms
Apr  2 15:34:15 host smtpd[3363]: a1ee2571543ee07d mta event=delivery
evpid=e245a4768eb97ec1 from=<per...@sender.org>
to=<recipie...@example.org> rcpt=<-> source="127.0.0.1" relay="127.0.0.1
(localhost)" delay=1s result="Ok" stat="250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0: 9d4bd574 Message accepted for
delivery"
Apr  2 15:34:15 host dovecot: lmtp(4166): Connect from local
Apr  2 15:34:15 host dovecot: lmtp(recipie...@example.org):
msgid=<f24104b0-b461-4ab0-7778-b06e37975...@sender.org>: saved  
mail to INBOX

Apr  2 15:34:15 host dovecot: lmtp(4166): Disconnect from local: Client
has quit the connection (state = READY)
Apr  2 15:34:15 host smtpd[3363]:  mda event=delivery
evpid=9d4bd574d7f14c2f from=<per...@sender.org>
to=<recipie...@example.org> user=recipient2_example.org method=lmtp
delay=0s result=Ok stat=Delivered
Apr  2 15:34:15 host smtpd[3363]: a1ee2572eadf1ee6 smtp event=message
address=127.0.0.1 host=localhost msgid=6d82ebcd from=<per...@sender.org>
to=<recipie...@example.org> size=2399 ndest=1 proto=ESMTP
Apr  2 15:34:15 host dovecot: lmtp(4166): Connect from local
Apr  2 15:34:16 host amavis[3624]: (03624-16-2) Passed CLEAN
{RelayedInbound}, [127.0.0.1] <per...@sender.org> ->
<recipie...@example.org>, Message-ID:
<f24104b0-b461-4ab0-7778-b06e37975...@sender.org>, mail_id:
GYBRJw-WsU6T, Hits: -2.926, size: 1947, queued_as: 250 2.0.0: 6d82ebcd
Message accepted for delivery, 554 ms
Apr  2 15:34:16 host smtpd[3363]: a1ee2571543ee07d mta event=delivery
evpid=989362f25851fa3e from=<per...@sender.org>
to=<recipie...@example.org> rcpt=<-> source="127.0.0.1" relay="127.0.0.1
(localhost)" delay=6m41s result="Ok" stat="250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0: 6d82ebcd Message accepted for
delivery"
Apr  2 15:34:16 host dovecot: lmtp(recipie...@example.org):
msgid=<f24104b0-b461-4ab0-7778-b06e37975...@sender.org>: saved  
mail to INBOX

Apr  2 15:34:16 host dovecot: lmtp(4166): Disconnect from local: Client
has quit the connection (state = READY)
Apr  2 15:34:16 host smtpd[3363]:  mda event=delivery
evpid=6d82ebcd60244358 from=<per...@sender.org>
to=<recipie...@example.org> user=recipient1_example.org method=lmtp
delay=1s result=Ok stat=Delivered



--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: How to adapt bogus email addresses?

2015-06-24 Thread Vijay Sankar

# cat vmap
ilom-alert@192.168.100.63:  avantsys...@avant.ca

Looks like there is a colon there -- could that be the problem?


Quoting Adam Thompson athom...@athompso.net:


I'm running smtpd 5.6-RELEASE inside the firewall, acting as an SMTP relay.
One host in particular (a Sun ILOM2 card) inists on sending some  
emails addressed to ilom-alert@192.168.100.63.  This is a bug in  
the firmware that they will not fix, so it's up to me to deal with it.


What I'm trying so far is:

#
# cat smtpd.conf
listen on all
table aliases db:/etc/mail/aliases.db
table vmap db:/etc/mail/vmap.db
table localnets { 192.168.10.0/24, 192.168.100.0/24,  
192.168.157.0/24, 192.168.158.0/24, 192.168.101.0/24 }
accept from local for anyrelay via  
smtp://smtp-relay.gmail.com
accept from source 192.168.100.63 for any virtual vmap deliver to  
lmtp localhost:25
accept from source localnetsfor anyrelay via  
smtp://smtp-relay.gmail.com

#
# cat vmap
ilom-alert@192.168.100.63:  avantsys...@avant.ca
#

This isn't working, all I get in the log file is:
Jun 24 15:41:06 mailrelay smtpd[18970]: smtp-in: New session  
3b402a76adf8e592 from host hexen-ilom.asg.local [192.168.100.63]
Jun 24 15:41:06 mailrelay smtpd[18970]: smtp-in: Failed command on  
session 3b402a76adf8e592: RCPT TO:avantsys...@avant.ca = 550  
Invalid recipient
Jun 24 15:41:06 mailrelay smtpd[18970]: smtp-in: Closing session  
3b402a76adf8e592



...which, ironically, means the ILOM card is NOT misbehaving at the  
moment.  (Sometimes it does, sometimes it doesn't.  Like I said,  
it's a bug.)

Why isn't this working?


FYI, the previous log entries for the damaged emails looked like:

Jun 24 15:38:30 mailrelay smtpd[25726]: relay: PermFail for  
df4ac3f4da1dd91b: session=9edd2c7aecf6c1b4,  
from=ilom-alert@192.168.100.63, to=avantsys...@avant.ca,  
rcpt=-, source=192.168.100.96, relay=74.125.142.28  
(ie-in-f28.1e100.net), delay=5s, stat=550 5.7.0  
https://support.google.com/a/answer/6140680#maildenied  
y6sm410732igy.1 - gsmtp
Jun 24 15:38:30 mailrelay smtpd[25726]: smtp-out: Error on session  
9edd2c7aecf6c1b4: Connection closed unexpectedly
Jun 24 15:38:31 mailrelay smtpd[25726]: smtp-in: New session  
9edd2c7b6ae6b2d7 from host localhost [local]
Jun 24 15:38:31 mailrelay smtpd[25726]: smtp-in: Accepted message  
2cdbc169 on session 9edd2c7b6ae6b2d7: from=,  
to=ilom-alert@192.168.100.63, size=982, ndest=1, proto=ESMTP
Jun 24 15:38:31 mailrelay smtpd[25726]: smtp-in: Closing session  
9edd2c7b6ae6b2d7
Jun 24 15:38:34 mailrelay smtpd[25726]: smtp-out: Connecting to  
smtp://74.125.142.28:25 (ie-in-f28.1e100.net) on session  
9edd2c7cf3690436...
Jun 24 15:38:34 mailrelay smtpd[25726]: smtp-out: Connected on  
session 9edd2c7cf3690436
Jun 24 15:38:34 mailrelay smtpd[25726]: relay: PermFail for  
3da7d01d6b54d9ed: session=9edd2c7cf3690436, from=,  
to=ilom-alert@192.168.100.63, rcpt=-, source=192.168.100.96,  
relay=74.125.142.28 (ie-in-f28.1e100.net), delay=8s, stat=550 5.1.1  
https://support.google.com/mail/answer/6596 x14sm419535igx.1 - gsmtp

Jun 24 15:38:34 mailrelay smtpd[9955]: warn: queue: no return path!
Jun 24 15:38:35 mailrelay smtpd[25726]: relay: PermFail for  
2cdbc169e9ab3b96: session=9edd2c7cf3690436, from=,  
to=ilom-alert@192.168.100.63, rcpt=-, source=192.168.100.96,  
relay=74.125.142.28 (ie-in-f28.1e100.net), delay=4s, stat=550 5.1.1  
https://support.google.com/mail/answer/6596 x14sm419535igx.1 - gsmtp

Jun 24 15:38:35 mailrelay smtpd[9955]: warn: queue: no return path!

(Naturally, google should reject such badly-addressed emails. That's  
what I have to fix before handing it off.)


Thanks,
-Adam Thompson
 athom...@athompso.net


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org