Zitat von m.dvo...@annkar.cz:
I have a script where sendmail command is used BUT I need to specify to via SMTP server (espec. port) will sendmail send email. It is simply. marek Marek Dvorak email: m.dvo...@annkar.cz tel : 777 691 528 skype: dvorak.marek
As said the "sendmail" binary drop the mail in the filesystem and does not use TCP/IP or ports at all. If you need to transfer the mail to a remote next hop to a special port you can use transport maps (http://www.postfix.org/postconf.5.html#transport_maps).
Regards Andreas
smime.p7s
Description: S/MIME Cryptographic Signature