I am trying to set up a mail server on ubuntu 9.10 Server installed on VMware. I've followed the guide to the letter, so I'm a little confused as to why it's not able to send emails via SMPT.
The mail client is able to connect and receive emails via IMAP, but when it comes to SMTP sending it fails, this is what I get in the /var/log/mail.logĭec 31 15:37:01 localhost postfix/smtpd: warning: 92.11.7.17: hostname verification failed: Name or service not knownĭec 31 15:37:01 localhost postfix/smtpd: connect from unknownĭec 31 15:37:01 localhost postfix/smtpd: disconnect from unknown Virtual_uid_maps = mysql:/etc/postfix/mysql_uid.cf Virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf Virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf Virtual_mailbox_base = /var/spool/mail/virtual Virtual_gid_maps = mysql:/etc/postfix/mysql_gid.cf Virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf Unknown_local_recipient_reject_code = 450 Smtp_tls_session_cache_database = btree:$/smtpd_scache I am able to send and receive email through telnet, however I am having problems with getting a mail client (e.g Thunderbird) to send email via smtp.Īlias_database = hash:/etc/postfix/aliases I've been following the 9th edition and got the basic setup done. 20:51 utc+3 : one bug of this in ubuntu 9.10 is that "virtual" user has appeared on the login screen. postgrey makes it to receive mail longer, i am going to disable it. 14:58 utc+3 : i have made this yesterday. įlurdy, in previous edition you say to create postfix certificate myself in /etc/postfix/, in the current edition you say to use /etc/ssl/certs/ssl-cert-snakeoil.pem i have looked that directory, no such file there but many certificate files, i think, does not this mean that i should use one of them? There are also 40-policy_banks and 21-ubuntu_defaults files in /etc/amavis/conf.d in ubuntu 9.10. var/mail/virtual/xandros/ is created for that, is not it? why not something like /var/mail/virtual//xandros/ ? what to do if i want 2 separate maildirs for name in 2 domains ? just create user with such maildir in mysql query? INSERT INTO users (id,name,maildir,crypt) VALUES encrypt('apassword') )