Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When Installing using drush as the user who owns the drupal directory and has write permissions to it, the warning message as shown below keeps appearing until the script is killed with a ^c.
$ drush en poll -y
The following extensions will be enabled: poll
Do you really want to continue? (y/n): y
poll was enabled successfully. [ok]
poll defines the following permissions: administer polls, cancel own vote, access polls
sendmail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
sendmail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: mail_queue_enter: create file maildrop/250425.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/250581.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/250870.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/251162.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/251505.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/251812.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/252159.15510: Permission denied
postdrop: warning: mail_queue_enter: create file maildrop/252603.15510: Permission denied
Do I need to run the installer as root?
Comments
Comment #2
ashleywilson CreditAttribution: ashleywilson commentedThe warnings appeared again when trying to install another module; something specific to my environment, perhaps.
Comment #3
BerdirYes, I don't think this is related to this module. Good luck figuring out what it is. Sounds like weird configuration of postgresql + something that is trying to send mails in that scenario. Poll does not send mails.