Well.. still having difficulty with this.  I am debugging the logs for
clues.  I did add the port statement to the /tmp/etc/msmtprc file, although
it is gone after a reboot, unfortunately, this is not a viable option and I
don't have the ability to ssh to my ISP's mail server.  Any other ideas?



-----Original Message-----
From: Darrick Hartman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 27, 2006 11:25 AM
To: Discussion of AstLinux - Asterisk on Compact Flash
Subject: Re: [Astlinux-users] SMTP Port

Kevin Kiely wrote:
> My ISP blocks port 25.  I would like to relay through my email server
which
> is listening on port 26.  I used to specify the port along with the smtp
> host name like "mail.xyz.com:26". This doesn't seem to work.  Can anyone
> tell me if this is supported in the new build with msmtp?
>
> Kevin
>
>
>
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]
>   

Yes msmtp supports specifying a port.  Astlinux does not yet have this 
feature installed.  All that needs to be done is to create another 
variable to specify the outgoing port # and add some logic in the init 
script to add this to the msmtp config file.

You can do this temporarily by editing /tmp/etc/msmtprc and adding:

port 26

after the line that says "host yourmailhost"

The other way around situations like this is to create an ssh tunnel and 
port forward some local port number to your external server.  That 
encrypts the mail and your isp doesn't know what you are doing.

Please report back if this works and we'll add some logic for this option.

Darrick

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006
 

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to