soydepr
Posts: 191
Joined: Mon Mar 24, 2014 10:51 am

postfix

Fri Mar 17, 2017 2:46 am

hope someone can help, new again here.

following postfix setup tutorial i encounter this

1. when i open mutt i get var/mail/soydepr: No such file or directory (errno = 2

when i check mail log after telnet test i do see this

ar 16 22:28:09 coqui postfix/smtpd[12357]: connect from localhost[127.0.0.1]
Mar 16 22:29:02 coqui postfix/smtpd[12357]: 9388083EED: client=localhost[127.0.0.1]
Mar 16 22:29:18 coqui postfix/cleanup[12360]: 9388083EED: message-id=<20170317022902.9388083EED@coqui>
Mar 16 22:29:18 coqui postfix/qmgr[12003]: 9388083EED: from=<soydepr@coqui>, size=299, nrcpt=1 (queue active)
Mar 16 22:29:18 coqui postfix/local[12379]: 9388083EED: to=<soydepr@coqui>, relay=local, delay=41, delays=41/0.03/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Mar 16 22:29:18 coqui postfix/qmgr[12003]: 9388083EED: removed
Mar 16 22:29:21 coqui postfix/smtpd[12357]: disconnect from localhost[127.0.0.1]


someone help me find my mail ?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: postfix

Fri Mar 17, 2017 8:35 am

What's in /var/spool/mail?
What's in /etc/aliases
What's in /etc/postfix/main.cf

Can you run postconf and post the results from that on here?

This is what I've got in my main.cf

Code: Select all

myorigin = localhost
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = pi.example.bogus
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
mydestination = localhost $myhostname localhost.$mydomain $mydomain
relayhost = smtp.localdomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
default_transport = smtp
relay_transport = smtp
inet_protocols = all
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

soydepr
Posts: 191
Joined: Mon Mar 24, 2014 10:51 am

Re: postfix

Fri Mar 17, 2017 10:50 am

DougieLawson wrote:What's in /var/spool/mail?
What's in /etc/aliases
What's in /etc/postfix/main.cf

Can you run postconf and post the results from that on here?

This is what I've got in my main.cf

Code: Select all

myorigin = localhost
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = pi.example.bogus
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
mydestination = localhost $myhostname localhost.$mydomain $mydomain
relayhost = smtp.localdomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
default_transport = smtp
relay_transport = smtp
inet_protocols = all


i solved it by specifying mutt -f ~/Maildir thanks

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: postfix

Fri Mar 17, 2017 3:26 pm

You've posted this in 3 different forums. Please don't duplicate - keep it all in one place.
Thank you.
Locking.
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “General discussion”