On Sun, 2011-08-21 at 18:41 -0700, Paul Allen Newell wrote:
> I dug around online and found info regarding mail, port 25, and port 
> 587. Got a little better idea what all this is about and I decided to 
> try some permuations
> 
> Though I didn't get any mail sent, I was able to get a failure message 
> back which is more info than I've seen before.
> 
> In sendmail.mc, I did the following:
> +++
> dnl #DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
> +++
> 
> After making and restarting, I fired off an email from chowder 
> (192.168.2.11) to chalupa (192.168.2.10) and then got the following when 
> running mail (see below).
> 
> Also, telnet chalupa works on port 25 and 587.
> 
> The netstat command shows listening on 0.0.0.0:25 and 0.0.0.0:587
> 
> /etc/mail/access has 192.168.2 added (and I did try 192.168.2.0/24 in 
> case it wanted that form).
> 
> It appears that mails to self gets blocked if I don't have both the smtp 
> and submission line active (???).
> 
> I have iptables stopped and, given that I've gotten email that the 
> Linksys router doesn't have any blocking control on LAN communications, 
> only internet, I've got my router back to normal firewall configuration.
> 
> What I am hoping is that someone will spot what the blocking issue is 
> from the returned email (#2). I've done some looking online but am 
> currently drawing a blank.
> 
> Thanks again for everyone's help,
> Paul
> 
> ps: the original message in the email was a line of "+++", a cut-n-paste 
> of the mail command, and a closing "+++"
> 
> +++ running mail +++
> [paul@chowder ~]$ mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/paul": 2 messages
>  >  1 Paul Allen Newell     Sun Aug 21 18:17  24/897   "chowder to 
> chalupa as"
>      2 Mail Delivery Subsys  Sun Aug 21 18:17  73/2566  "Returned mail: 
> see tr"
> & 1
> Message  1:
>  From paul@localhost.localdomain  Sun Aug 21 18:17:33 2011
> Return-Path: <paul@localhost.localdomain>
> From: Paul Allen Newell <paul@localhost.localdomain>
> Date: Sun, 21 Aug 2011 18:17:32 -0700
> To: paul@chalupa.localdomain
> Subject: chowder to chalupa as paul 21aug11 18:17
> Cc: paul@localhost.localdomain
> User-Agent: Heirloom mailx 12.5 7/5/10
> Content-Type: text/plain; charset=us-ascii
> Status: RO
> 
> +++
> [paul@chowder ~]$ mail -s "chowder to chalupa as paul 21aug11 18:17" -c 
> paul paul@chalupa
> +++
> 
> & 2
> Message  2:
>  From MAILER-DAEMON@chowder.localdomain  Sun Aug 21 18:17:33 2011
> Return-Path: <MAILER-DAEMON@chowder.localdomain>
> Date: Sun, 21 Aug 2011 18:17:33 -0700
> From: Mail Delivery Subsystem <MAILER-DAEMON@chowder.localdomain>
> To: <paul@localhost.localdomain>
> Content-Type: multipart/report; report-type=delivery-status;
>      boundary="p7M1HXNR011003.1313975853/chowder.localdomain"
> Subject: Returned mail: see transcript for details
> Auto-Submitted: auto-generated (failure)
> Status: RO
> 
> Part 1:
> 
> The original message was received at Sun, 21 Aug 2011 18:17:32 -0700
> from chowder [127.0.0.1]
> 
>     ----- The following addresses had permanent fatal errors -----
> <paul@chalupa.localdomain>
>      (reason: 530 5.7.0 Authentication required)
> 
>     ----- Transcript of session follows -----
> ... while talking to chalupa.localdomain.:
>  >>> MAIL From:<paul@localhost.localdomain> SIZE=815
> <<< 530 5.7.0 Authentication required
> 554 5.0.0 Service unavailable
> 
> Part 2:
> Content-Type: message/delivery-status
> 
> 
> Part 3:
> Content-Type: message/rfc822
> 
>  From paul@localhost.localdomain Sun Aug 21 18:17:32 2011
> Return-Path: <paul@localhost.localdomain>
> From: Paul Allen Newell <paul@localhost.localdomain>
> Date: Sun, 21 Aug 2011 18:17:32 -0700
> To: paul@chalupa.localdomain
> Subject: chowder to chalupa as paul 21aug11 18:17
> Cc: paul@localhost.localdomain
> User-Agent: Heirloom mailx 12.5 7/5/10
> Content-Type: text/plain; charset=us-ascii
> 
> +++
> [paul@chowder ~]$ mail -s "chowder to chalupa as paul 21aug11 18:17" -c 
> paul paul@chalupa
> +++
> & q
> Held 2 messages in /var/spool/mail/paul
> [paul@chowder ~]$
> +++ end +++
----
I really don't have much interest in ploughing through all of your e-mails and 
all of the answers you get which just confuse the whole situation.

All you really need to do is set smarthost on all of the LAN machines -
all machines smarthost relay e-mail to chalupa and chalupa uses
smarthost - to your Internet supplier's smtp server. Basically you want
all your LAN based mail clients to use chalupa smtp server and MTA's (ie
sendmail) to smarthost deliver to the same chalupa smtp server.

Anything more is just wasted energy.

Submission port/587 requires SASL configuration / authentication which
is a more involved setup. Not a bad idea but more complex to be sure.
Should only be useful setting it up on chalupa.

Have I suggested postfix less than 3 times?

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to