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]

Reply via email to