1

Topic: how can send mail at linux console

my email address is ip  & my iredmail is 0.5.1


this is my  mailog
postfix/smtpd[26253]: warning: Illegal address syntax from unknown[192.168.1.80] in MAIL command: <root@192.168.1.80>

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: how can send mail at linux console

Try this:

$ echo "Mail body" | mail -s "Mail subject" user@domain.ltd
$ mail -s "Mail subject" user@domain.ltd < /path/to/file/which/contains/mail/body

3

Re: how can send mail at linux console

ZhangHuangbin wrote:

Try this:

$ echo "Mail body" | mail -s "Mail subject" user@domain.ltd
$ mail -s "Mail subject" user@domain.ltd < /path/to/file/which/contains/mail/body


how can config postfix support  user@ipaddress ?

manymany thank

4

Re: how can send mail at linux console

you should use: user@[192.168.1.1], user@[ipaddress].

5

Re: how can send mail at linux console

ZhangHuangbin wrote:

you should use: user@[192.168.1.1], user@[ipaddress].

how to use user@[192.168.1.1]  config at sendmail

thanyou

6

Re: how can send mail at linux console

this work



http://www.postfix.org/postconf.5.html# … ric_domain


resolve_numeric_domain (default: no)

    Resolve "user@ipaddress" as "user@[ipaddress]", instead of rejecting the address as invalid.

    This feature is available in Postfix 2.3 and later.